Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
G4INCL::KinematicsUtils Class Reference

#include <G4INCLKinematicsUtils.hh>

Static Public Member Functions

static void transformToLocalEnergyFrame (Nucleus const *const n, Particle *const p)
 
static G4double getLocalEnergy (Nucleus const *const n, Particle *const p)
 
static ThreeVector makeBoostVector (Particle const *const p1, Particle const *const p2)
 
static G4double totalEnergyInCM (Particle const *const p1, Particle const *const p2)
 
static G4double squareTotalEnergyInCM (Particle const *const p1, Particle const *const p2)
 
static G4double momentumInCM (Particle const *const p1, Particle const *const p2)
 gives the momentum in the CM frame of two particles. More...
 
static G4double momentumInCM (const G4double E, const G4double M1, const G4double M2)
 
static G4double momentumInLab (Particle const *const p1, Particle const *const p2)
 gives the momentum in the lab frame of two particles. More...
 
static G4double momentumInLab (const G4double s, const G4double m1, const G4double m2)
 
static G4double sumTotalEnergies (const ParticleList &)
 
static ThreeVector sumMomenta (const ParticleList &)
 
static G4double energy (const ThreeVector &p, const G4double m)
 
static G4double invariantMass (const G4double E, const ThreeVector &p)
 
static G4double gammaFromKineticEnergy (const ParticleSpecies &p, const G4double EKin)
 

Detailed Description

Definition at line 47 of file G4INCLKinematicsUtils.hh.

Member Function Documentation

G4double G4INCL::KinematicsUtils::energy ( const ThreeVector p,
const G4double  m 
)
static

Definition at line 149 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

G4double G4INCL::KinematicsUtils::gammaFromKineticEnergy ( const ParticleSpecies p,
const G4double  EKin 
)
static

Definition at line 157 of file G4INCLKinematicsUtils.cc.

G4double G4INCL::KinematicsUtils::getLocalEnergy ( Nucleus const *const  n,
Particle *const  p 
)
static

Definition at line 49 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4INCL::KinematicsUtils::invariantMass ( const G4double  E,
const ThreeVector p 
)
static

Definition at line 153 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

ThreeVector G4INCL::KinematicsUtils::makeBoostVector ( Particle const *const  p1,
Particle const *const  p2 
)
static

Definition at line 80 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4INCL::KinematicsUtils::momentumInCM ( Particle const *const  p1,
Particle const *const  p2 
)
static

gives the momentum in the CM frame of two particles.

The formula is the following:

\[ p_{CM}^2 = \frac{z^2 - m_1^2 m_2^2}{2 z + m_1^2 + m_2^2} \]

where $z$ is the scalar product of the momentum four-vectors:

\[ z = E_1 E_2 - \vec{p}_1\cdot\vec{p}_2 \]

Parameters
p1pointer to particle 1
p2pointer to particle 2
Returns
the absolute value of the momentum of any of the two particles in the CM frame, in MeV/c.

Definition at line 98 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4INCL::KinematicsUtils::momentumInCM ( const G4double  E,
const G4double  M1,
const G4double  M2 
)
static

Definition at line 110 of file G4INCLKinematicsUtils.cc.

G4double G4INCL::KinematicsUtils::momentumInLab ( Particle const *const  p1,
Particle const *const  p2 
)
static

gives the momentum in the lab frame of two particles.

Assumes particle 1 carries all the momentum and particle 2 is at rest.

The formula is the following:

\[ p_{lab}^2 = \frac{s^2 - 2 s (m_1^2 + m_2^2) + {(m_1^2 - m_2^2)}^2}{4 m_2^2} \]

Parameters
p1pointer to particle 1
p2pointer to particle 2
Returns
the absolute value of the momentum of particle 1 in the lab frame, in MeV/c

Definition at line 126 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4INCL::KinematicsUtils::momentumInLab ( const G4double  s,
const G4double  m1,
const G4double  m2 
)
static

Definition at line 115 of file G4INCLKinematicsUtils.cc.

G4double G4INCL::KinematicsUtils::squareTotalEnergyInCM ( Particle const *const  p1,
Particle const *const  p2 
)
static

Definition at line 89 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

ThreeVector G4INCL::KinematicsUtils::sumMomenta ( const ParticleList pl)
static

Definition at line 141 of file G4INCLKinematicsUtils.cc.

G4double G4INCL::KinematicsUtils::sumTotalEnergies ( const ParticleList pl)
static

Definition at line 133 of file G4INCLKinematicsUtils.cc.

G4double G4INCL::KinematicsUtils::totalEnergyInCM ( Particle const *const  p1,
Particle const *const  p2 
)
static

Definition at line 85 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4INCL::KinematicsUtils::transformToLocalEnergyFrame ( Nucleus const *const  n,
Particle *const  p 
)
static

Definition at line 42 of file G4INCLKinematicsUtils.cc.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: