34#define INCLXX_IN_GEANT4_MODE 1
38#ifndef KinematicsUtils_hh
39#define KinematicsUtils_hh 1
48 namespace KinematicsUtils {
G4double squareTotalEnergyInCM(Particle const *const p1, Particle const *const p2)
G4double invariantMass(const G4double E, const ThreeVector &p)
ThreeVector sumMomenta(const ParticleList &)
G4double gammaFromKineticEnergy(const ParticleSpecies &p, const G4double EKin)
G4double squareInvariantMass(const G4double E, const ThreeVector &p)
G4double sumTotalEnergies(const ParticleList &)
G4double energy(const ThreeVector &p, const G4double m)
ThreeVector makeBoostVector(Particle const *const p1, Particle const *const p2)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
void transformToLocalEnergyFrame(Nucleus const *const n, Particle *const p)
G4double momentumInLab(Particle const *const p1, Particle const *const p2)
gives the momentum in the lab frame of two particles.
G4double momentumInCM(Particle const *const p1, Particle const *const p2)
gives the momentum in the CM frame of two particles.
G4double getLocalEnergy(Nucleus const *const n, Particle *const p)