12 #include <corsika/framework/geometry/FourVector.hpp> 13 #include <corsika/framework/geometry/PhysicalGeometry.hpp> 17 #include <Eigen/Dense> 59 template <
typename FourVector>
63 template <
typename FourVector>
71 void setBoost(
double coshEta,
double sinhEta);
74 Eigen::Matrix2d boost_;
75 Eigen::Matrix2d inverseBoost_;
81 #include <corsika/detail/framework/utility/COMBoost.inl> COMBoost(FourVector< HEPEnergyType, MomentumVector > const &Pprojectile, HEPEnergyType const massTarget)
construct a COMBoost given four-vector of projectile and mass of target (target at rest) ...
CoordinateSystemPtr getRotatedCS() const
returns the rotated coordinate system
Import and extend the phys::units package.
This utility class handles Lorentz boost between different referenence frames, using FourVector...
FourVector toCoM(FourVector const &p) const
transforms a 4-momentum from lab frame to the center-of-mass frame
CORSIKA8 logging utilities.
FourVector fromCoM(FourVector const &p) const
transforms a 4-momentum from the center-of-mass frame back to lab frame
void setBoost(double coshEta, double sinhEta)
internal method
Description of physical four-vectors.
The cascade namespace assembles all objects needed to simulate full particles cascades.
std::shared_ptr< CoordinateSystem const > CoordinateSystemPtr
To refer to CoordinateSystems, only the CoordinateSystemPtr must be used.