Thermal-FIST
1.3
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. More... | |
virtual | ~ParticleMomentumGenerator () |
Destructor. More... | |
virtual std::vector< double > | GetMomentum (double mass=-1.) const =0 |
Base class for Monte Carlo sampling of particle momenta.
Definition at line 95 of file RandomGenerators.h.
|
inline |
Default constructor.
Definition at line 99 of file RandomGenerators.h.
|
inlinevirtual |
Destructor.
Definition at line 102 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::SSHMomentumGenerator, thermalfist::RandomGenerators::BoostInvariantMomentumGenerator, thermalfist::RandomGenerators::SiemensRasmussenMomentumGeneratorGeneralized, and thermalfist::RandomGenerators::SiemensRasmussenMomentumGenerator.