![]() |
Thermal-FIST 1.5
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 99 of file RandomGenerators.h.
|
inline |
Default constructor.
Definition at line 103 of file RandomGenerators.h.
|
inlinevirtual |
Destructor.
Definition at line 106 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.