ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Generate momenta using the Kopylov method. More...
Public Member Functions | |
void | generate (const G4double sqrtS, ParticleList &particles) |
Generate momenta according to a uniform, non-Lorentz-invariant phase-space model. | |
Public Member Functions inherited from G4INCL::IPhaseSpaceGenerator | |
IPhaseSpaceGenerator () | |
virtual | ~IPhaseSpaceGenerator () |
Private Member Functions | |
G4double | betaKopylov (G4int K) const |
Internal function used by the Kopylov algorithm. | |
Private Attributes | |
std::vector< G4double > | masses |
std::vector< G4double > | sumMasses |
ThreeVector | PFragCM |
ThreeVector | PRestCM |
ThreeVector | boostV |
Generate momenta using the Kopylov method.
Definition at line 48 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 48 of file G4INCLPhaseSpaceKopylov.hh
Internal function used by the Kopylov algorithm.
Definition at line 47 of file G4INCLPhaseSpaceKopylov.cc.
View newest version in sPHENIX GitHub at line 47 of file G4INCLPhaseSpaceKopylov.cc
References F, N, and G4INCL::Random::shoot().
Referenced by generate().
|
virtual |
Generate momenta according to a uniform, non-Lorentz-invariant phase-space model.
This function will assign momenta to the particles in the list that is passed as an argument. The event is generated in the CM frame.
sqrtS | total centre-of-mass energy of the system |
particles | list of particles |
Implements G4INCL::IPhaseSpaceGenerator.
Definition at line 63 of file G4INCLPhaseSpaceKopylov.cc.
View newest version in sPHENIX GitHub at line 63 of file G4INCLPhaseSpaceKopylov.cc
References G4INCL::Particle::adjustEnergyFromMomentum(), betaKopylov(), G4INCL::Particle::boost(), boostV, G4INCL::Particle::boostVector(), G4INCL::Particle::getMass(), k, masses, G4INCL::KinematicsUtils::momentumInCM(), N, G4INCL::Random::normVector(), PFragCM, G4INCL::Particle::setMass(), G4INCL::Particle::setMomentum(), G4INCL::ThreeVector::setX(), G4INCL::ThreeVector::setY(), G4INCL::ThreeVector::setZ(), sumMasses, T, and Acts::Test::transform.
|
private |
Definition at line 68 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 68 of file G4INCLPhaseSpaceKopylov.hh
Referenced by generate().
|
private |
Definition at line 65 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 65 of file G4INCLPhaseSpaceKopylov.hh
Referenced by generate().
|
private |
Definition at line 67 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 67 of file G4INCLPhaseSpaceKopylov.hh
Referenced by generate().
|
private |
Definition at line 67 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 67 of file G4INCLPhaseSpaceKopylov.hh
|
private |
Definition at line 66 of file G4INCLPhaseSpaceKopylov.hh.
View newest version in sPHENIX GitHub at line 66 of file G4INCLPhaseSpaceKopylov.hh
Referenced by generate().