35#define INCLXX_IN_GEANT4_MODE 1
39#ifndef KinematicsUtils_hh
40#define KinematicsUtils_hh 1
static G4double squareTotalEnergyInCM(Particle const *const p1, Particle const *const p2)
static G4double invariantMass(const G4double E, const ThreeVector &p)
static ThreeVector sumMomenta(const ParticleList &)
static G4double gammaFromKineticEnergy(const ParticleSpecies &p, const G4double EKin)
static G4double sumTotalEnergies(const ParticleList &)
static G4double energy(const ThreeVector &p, const G4double m)
static ThreeVector makeBoostVector(Particle const *const p1, Particle const *const p2)
static G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
static void transformToLocalEnergyFrame(Nucleus const *const n, Particle *const p)
static G4double momentumInLab(Particle const *const p1, Particle const *const p2)
gives the momentum in the lab frame of two particles.
static G4double momentumInCM(Particle const *const p1, Particle const *const p2)
gives the momentum in the CM frame of two particles.
static G4double getLocalEnergy(Nucleus const *const n, Particle *const p)
std::list< G4INCL::Particle * > ParticleList