13 #include <corsika/framework/geometry/PhysicalGeometry.hpp> 17 #include <Eigen/Dense> 72 template <
typename FourVector>
76 template <
typename FourVector>
87 void setBoost(
double const coshEta,
double const sinhEta);
90 Eigen::Matrix2d boost_;
91 Eigen::Matrix2d inverseBoost_;
97 #include <corsika/detail/framework/utility/COMBoost.inl> Import and extend the phys::units package.
This utility class handles Lorentz boost (in one spatial direction) between different referenence fra...
CoordinateSystemPtr const & getRotatedCS() const
returns the rotated coordinate system: +z is projectile direction
CORSIKA8 logging utilities.
FourVector fromCoM(FourVector const &p4) const
transforms a 4-momentum from the center-of-mass frame back to lab frame
Description of physical four-vectors.
`, since they are used everywhere as integral part of the framework.
CoordinateSystemPtr const & getOriginalCS() const
returns the original coordinate system of the projectile (lab)
std::shared_ptr< CoordinateSystem const > CoordinateSystemPtr
To refer to CoordinateSystems, only the CoordinateSystemPtr must be used.
COMBoost(FourMomentum const &P4projectile, HEPEnergyType const massTarget)
Construct a COMBoost given four-vector of projectile and mass of target (target at rest)...
void setBoost(double const coshEta, double const sinhEta)
internal method
FourVector toCoM(FourVector const &p4) const
transforms a 4-momentum from lab frame to the center-of-mass frame
General FourVector object.