![]() |
Thermal-FIST 1.6
Package for hadron resonance gas model applications
|
Base class for Monte Carlo sampling of particle momenta. More...
#include <RandomGenerators.h>
Public Member Functions | |
| ParticleMomentumGenerator () | |
| Default constructor. | |
| virtual | ~ParticleMomentumGenerator () |
| Destructor. | |
| virtual std::vector< double > | GetMomentum (double mass=-1.) const =0 |
Base class for Monte Carlo sampling of particle momenta.
Definition at line 100 of file RandomGenerators.h.
|
inline |
Default constructor.
Definition at line 104 of file RandomGenerators.h.
|
inlinevirtual |
Destructor.
Definition at line 107 of file RandomGenerators.h.
|
pure virtual |
Samples the 3-momentum of a particle
| mass | The mass of a particle. If negative value provided, defaults to the pole/vacuum mass |
Implemented in thermalfist::RandomGenerators::BoostInvariantHypersurfaceMomentumGenerator, thermalfist::RandomGenerators::BoostInvariantMomentumGenerator, thermalfist::RandomGenerators::HypersurfaceMomentumGenerator, thermalfist::RandomGenerators::SiemensRasmussenMomentumGenerator, thermalfist::RandomGenerators::SiemensRasmussenMomentumGeneratorGeneralized, and thermalfist::RandomGenerators::SSHMomentumGenerator.