Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
Generate momenta using the RauboldLynch method. More...
#include <G4INCLPhaseSpaceRauboldLynch.hh>
Public Member Functions | |
PhaseSpaceRauboldLynch () | |
virtual | ~PhaseSpaceRauboldLynch () |
PhaseSpaceRauboldLynch (PhaseSpaceRauboldLynch const &other) | |
Dummy copy constructor to silence Coverity warning. | |
PhaseSpaceRauboldLynch & | operator= (PhaseSpaceRauboldLynch const &rhs) |
Dummy assignment operator to silence Coverity warning. | |
void | generate (const G4double sqrtS, ParticleList &particles) |
Generate momenta according to a uniform, Lorentz-invariant phase-space model. | |
G4double | getMaxGeneratedWeight () const |
Return the largest generated weight. | |
Public Member Functions inherited from G4INCL::IPhaseSpaceGenerator | |
IPhaseSpaceGenerator () | |
virtual | ~IPhaseSpaceGenerator () |
virtual void | generate (const G4double sqrtS, ParticleList &particles)=0 |
Generate an event in the CM frame. | |
Generate momenta using the RauboldLynch method.
Definition at line 49 of file G4INCLPhaseSpaceRauboldLynch.hh.
G4INCL::PhaseSpaceRauboldLynch::PhaseSpaceRauboldLynch | ( | ) |
Definition at line 180 of file G4INCLPhaseSpaceRauboldLynch.cc.
|
virtual |
Definition at line 200 of file G4INCLPhaseSpaceRauboldLynch.cc.
G4INCL::PhaseSpaceRauboldLynch::PhaseSpaceRauboldLynch | ( | PhaseSpaceRauboldLynch const & | other | ) |
Dummy copy constructor to silence Coverity warning.
|
virtual |
Generate momenta according to a uniform, 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 205 of file G4INCLPhaseSpaceRauboldLynch.cc.
G4double G4INCL::PhaseSpaceRauboldLynch::getMaxGeneratedWeight | ( | ) | const |
Return the largest generated weight.
Definition at line 345 of file G4INCLPhaseSpaceRauboldLynch.cc.
PhaseSpaceRauboldLynch & G4INCL::PhaseSpaceRauboldLynch::operator= | ( | PhaseSpaceRauboldLynch const & | rhs | ) |
Dummy assignment operator to silence Coverity warning.