Geant4
10.01.p02
|
Functions | |
void | generate (const G4double sqrtS, ParticleList &particles) |
Generate an event in the CM system. More... | |
void | generateBiased (const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope) |
Generate a biased event in the CM system. More... | |
void | setPhaseSpaceGenerator (IPhaseSpaceGenerator *g) |
IPhaseSpaceGenerator * | getPhaseSpaceGenerator () |
void | deletePhaseSpaceGenerator () |
void | initialize (Config const *const theConfig) |
void G4INCL::PhaseSpaceGenerator::deletePhaseSpaceGenerator | ( | ) |
Definition at line 115 of file G4INCLPhaseSpaceGenerator.cc.
Referenced by G4INCL::INCL::~INCL().
void G4INCL::PhaseSpaceGenerator::generate | ( | const G4double | sqrtS, |
ParticleList & | particles | ||
) |
Generate an event in the CM system.
Definition at line 93 of file G4INCLPhaseSpaceGenerator.cc.
Referenced by G4HadPhaseSpaceGenbod::FillRandomBuffer(), generateBiased(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), and G4ElementaryParticleCollider::generateSCMfinalState().
void G4INCL::PhaseSpaceGenerator::generateBiased | ( | const G4double | sqrtS, |
ParticleList & | particles, | ||
const size_t | index, | ||
const G4double | slope | ||
) |
Generate a biased event in the CM system.
This method first generates a "flat" event by calling generate(). The particles are subsequently rotated in such a way that one of them (identified by the parameter index) is biased towards the collisionAxis with an exponential distribution of the form
where is the usual Mandelstam variable. The incoming momentum is taken to be the momentum of particles[index] at the moment of the call.
sqrtS | total energy in the centre of mass, in MeV |
particles | list of particles for which the event will be generated (modified on exit) |
index | index of the particle to be biased; all the other particles will follow |
slope | slope of the angular distribution: , in (GeV/c)^(-2) |
Definition at line 97 of file G4INCLPhaseSpaceGenerator.cc.
References generate().
Referenced by G4INCL::NNToMultiPionsChannel::fillFinalState(), and G4INCL::PiNToMultiPionsChannel::fillFinalState().
IPhaseSpaceGenerator * G4INCL::PhaseSpaceGenerator::getPhaseSpaceGenerator | ( | ) |
Definition at line 111 of file G4INCLPhaseSpaceGenerator.cc.
void G4INCL::PhaseSpaceGenerator::initialize | ( | Config const *const | theConfig | ) |
Definition at line 120 of file G4INCLPhaseSpaceGenerator.cc.
References G4INCL::Config::getPhaseSpaceGeneratorType(), G4INCL::KopylovType, G4INCL::RauboldLynchType, and setPhaseSpaceGenerator().
Referenced by G4INCL::INCL::INCL().
void G4INCL::PhaseSpaceGenerator::setPhaseSpaceGenerator | ( | IPhaseSpaceGenerator * | g | ) |
Definition at line 107 of file G4INCLPhaseSpaceGenerator.cc.
References g.
Referenced by initialize().