Geant4.10
|
Definition at line 156 of file G4INCLKinematicsUtils.cc.
References python.hepunit::m, and G4INCL::ThreeVector::mag2().
G4double G4INCL::KinematicsUtils::gammaFromKineticEnergy | ( | const ParticleSpecies & | p, |
const G4double | EKin | ||
) |
Definition at line 168 of file G4INCLKinematicsUtils.cc.
References G4INCL::Composite, G4INCL::ParticleTable::getTableMass, G4INCL::ParticleTable::getTableParticleMass, G4INCL::ParticleSpecies::theA, G4INCL::ParticleSpecies::theType, and G4INCL::ParticleSpecies::theZ.
G4double G4INCL::KinematicsUtils::getLocalEnergy | ( | Nucleus const *const | n, |
Particle *const | p | ||
) |
Definition at line 51 of file G4INCLKinematicsUtils.cc.
References G4INCL::Nucleus::getDensity(), G4INCL::NuclearPotential::INuclearPotential::getFermiMomentum(), G4INCL::Particle::getKineticEnergy(), G4INCL::Particle::getMass(), G4INCL::NuclearDensity::getMaximumRadius(), G4INCL::NuclearDensity::getMaxRFromP(), G4INCL::NuclearDensity::getMinPFromR(), G4INCL::Particle::getMomentum(), G4INCL::Particle::getPosition(), G4INCL::Nucleus::getPotential(), G4INCL::Particle::getPotentialEnergy(), G4INCL::Particle::getReflectionMomentum(), G4INCL::NuclearPotential::INuclearPotential::getSeparationEnergy(), G4INCL::Particle::getType(), G4INCL::Nucleus::getUniverseRadius(), INCL_WARN, G4INCL::ThreeVector::mag(), readPY::pl, and G4INCL::Particle::print().
Referenced by transformToLocalEnergyFrame().
Definition at line 160 of file G4INCLKinematicsUtils.cc.
References squareInvariantMass().
Referenced by G4ReactionKinematics::TwoBodyScattering().
ThreeVector G4INCL::KinematicsUtils::makeBoostVector | ( | Particle const *const | p1, |
Particle const *const | p2 | ||
) |
Definition at line 87 of file G4INCLKinematicsUtils.cc.
References G4INCL::Particle::getEnergy(), and G4INCL::Particle::getMomentum().
Referenced by G4INCL::InteractionAvatar::preInteraction(), and squareTotalEnergyInCM().
G4double G4INCL::KinematicsUtils::momentumInCM | ( | Particle const *const | p1, |
Particle const *const | p2 | ||
) |
gives the momentum in the CM frame of two particles.
The formula is the following:
where is the scalar product of the momentum four-vectors:
p1 | pointer to particle 1 |
p2 | pointer to particle 2 |
Definition at line 105 of file G4INCLKinematicsUtils.cc.
References G4INCL::ThreeVector::dot(), G4INCL::Particle::getEnergy(), G4INCL::Particle::getMass(), G4INCL::Particle::getMomentum(), INCL_ERROR, and z.
Referenced by G4INCL::DeltaDecayChannel::computeDecayTime(), G4INCL::PhaseSpaceDecay::decay(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), and G4INCL::RecombinationChannel::getFinalState().
G4double G4INCL::KinematicsUtils::momentumInCM | ( | const G4double | E, |
const G4double | M1, | ||
const G4double | M2 | ||
) |
Definition at line 117 of file G4INCLKinematicsUtils.cc.
G4double G4INCL::KinematicsUtils::momentumInLab | ( | Particle const *const | p1, |
Particle const *const | p2 | ||
) |
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:
p1 | pointer to particle 1 |
p2 | pointer to particle 2 |
Definition at line 133 of file G4INCLKinematicsUtils.cc.
References G4INCL::Particle::getMass(), python.hepunit::m2, and squareTotalEnergyInCM().
Referenced by G4INCL::CrossSectionsINCL46::deltaProduction(), G4INCL::CrossSectionsINCL46::elasticNNLegacy(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), and G4INCL::CrossSectionsINCL46::recombination().
G4double G4INCL::KinematicsUtils::momentumInLab | ( | const G4double | s, |
const G4double | m1, | ||
const G4double | m2 | ||
) |
Definition at line 122 of file G4INCLKinematicsUtils.cc.
References INCL_ERROR, and python.hepunit::m2.
Definition at line 164 of file G4INCLKinematicsUtils.cc.
References G4INCL::ThreeVector::mag2().
Referenced by invariantMass().
G4double G4INCL::KinematicsUtils::squareTotalEnergyInCM | ( | Particle const *const | p1, |
Particle const *const | p2 | ||
) |
Definition at line 96 of file G4INCLKinematicsUtils.cc.
References G4INCL::Particle::getEnergy(), INCL_ERROR, G4INCL::ThreeVector::mag2(), and makeBoostVector().
Referenced by G4INCL::CrossSectionsINCL46::elasticNNLegacy(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::ElasticChannel::getFinalState(), momentumInLab(), G4INCL::CrossSectionsINCL46::recombination(), and totalEnergyInCM().
ThreeVector G4INCL::KinematicsUtils::sumMomenta | ( | const ParticleList & | pl | ) |
Definition at line 148 of file G4INCLKinematicsUtils.cc.
G4double G4INCL::KinematicsUtils::sumTotalEnergies | ( | const ParticleList & | pl | ) |
Definition at line 140 of file G4INCLKinematicsUtils.cc.
G4double G4INCL::KinematicsUtils::totalEnergyInCM | ( | Particle const *const | p1, |
Particle const *const | p2 | ||
) |
Definition at line 92 of file G4INCLKinematicsUtils.cc.
References squareTotalEnergyInCM().
Referenced by G4INCL::CrossSectionsINCL46::deltaProduction(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), and G4INCL::CrossSectionsINCL46::pionNucleon().
void G4INCL::KinematicsUtils::transformToLocalEnergyFrame | ( | Nucleus const *const | n, |
Particle *const | p | ||
) |
Definition at line 44 of file G4INCLKinematicsUtils.cc.
References G4INCL::Particle::adjustMomentumFromEnergy(), G4INCL::Particle::getEnergy(), getLocalEnergy(), and G4INCL::Particle::setEnergy().
Referenced by G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), and G4INCL::InteractionAvatar::preInteractionLocalEnergy().