|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Relativistic energy momentum calculations. More...
#include <corsika/framework/core/PhysicalUnits.hpp>#include <corsika/framework/core/PhysicalGeometry.hpp>#include <corsika/framework/core/PhysicalConstants.hpp>

Go to the source code of this file.
Namespaces | |
| corsika | |
| `, since they are used everywhere as integral part of the framework. | |
Typedefs | |
| using | corsika::detail::HEPEnergyTypeSqr = decltype(1_GeV *1_GeV) |
Functions | |
| auto constexpr | corsika::calculate_mass_sqr (HEPEnergyType const E, HEPMomentumType const p) |
\[m^2=E_{tot}^2-p^2\] More... | |
| HEPEnergyType constexpr | corsika::calculate_mass (HEPEnergyType const E, HEPMomentumType const p) |
\[m=sqrt(E_{tot}^2-p^2) \] More... | |
| auto constexpr | corsika::calculate_momentum_sqr (HEPEnergyType const E, HEPMassType const m) |
\[p^2=E_{tot}^2-m^2\] More... | |
| HEPEnergyType constexpr | corsika::calculate_momentum (HEPEnergyType const E, HEPMassType const m) |
\[p=sqrt(E_{tot}^2-m^2) \] More... | |
| auto constexpr | corsika::calculate_total_energy_sqr (HEPMomentumType const p, HEPMassType const m) |
\[E_{tot}^2=p^2+m^2\] More... | |
| HEPEnergyType constexpr | corsika::calculate_total_energy (HEPMomentumType const p, HEPMassType const m) |
\[E_{tot}=sqrt(p^2+m^2)\] More... | |
| HEPEnergyType constexpr | corsika::calculate_kinetic_energy (HEPMomentumType const p, HEPMassType const m) |
\[E_{kin}=sqrt(p^2+m^2) - m \] More... | |
| HEPEnergyType constexpr | corsika::calculate_lab_energy (detail::HEPEnergyTypeSqr sqrtS_sqr, HEPMassType const m_proj, HEPMassType const m_targ) |
\[E_{lab}=(\sqrt{s}^2 - m_{proj}^2 - m_{targ}^2) / (2 m_{targ}) \] More... | |
| HEPEnergyType constexpr | corsika::calculate_com_energy (HEPEnergyType Elab, HEPMassType const m_proj, HEPMassType const m_targ) |
\[E_{com}=sqrt{2 * m_{proj} * m_{targ} * E_{lab} + m_{proj}^2 + m_{targ}^2} \] More... | |
Relativistic energy momentum calculations.
Definition in file EnergyMomentumOperations.hpp.