![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Class for generating momentum of a particle in accordance with a longitudinally boost invariant and azimuthally symmetric freeze-out model. More...
#include <RandomGenerators.h>
Public Member Functions | |
BoostInvariantMomentumGenerator (BoostInvariantFreezeoutParametrization *FreezeoutModel=NULL, double Tkin=0.100, double etamax=3.0, double mass=0.938, int statistics=0, double mu=0) | |
Construct a new BoostInvariantMomentumGenerator object. | |
virtual | ~BoostInvariantMomentumGenerator () |
BoostInvariantMomentumGenerator desctructor. | |
double | EtaMax () const |
double | Mass () const |
virtual std::vector< double > | GetMomentum (double mass=-1.) const |
![]() | |
ParticleMomentumGenerator () | |
Default constructor. | |
virtual | ~ParticleMomentumGenerator () |
Destructor. | |
Protected Member Functions | |
virtual double | GetRandomZeta (MTRand &rangen=RandomGenerators::randgenMT) const |
Samples zeta for use in Monte Carlo event generator. | |
Class for generating momentum of a particle in accordance with a longitudinally boost invariant and azimuthally symmetric freeze-out model.
Definition at line 303 of file RandomGenerators.h.
thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::BoostInvariantMomentumGenerator | ( | BoostInvariantFreezeoutParametrization * | FreezeoutModel = NULL, |
double | Tkin = 0.100, | ||
double | etamax = 3.0, | ||
double | mass = 0.938, | ||
int | statistics = 0, | ||
double | mu = 0 ) |
Construct a new BoostInvariantMomentumGenerator object.
FreezeoutModel | Pointer to a BoostInvariantFreezeoutParametrization object. Will be deleted on destruction! |
Tkin | The kinetic temperature (in GeV) |
etamax | The longitudinal space-time rapidity cut-off |
mass | Particle mass (in GeV) |
statistics | Quantum statistics (default: Maxwell-Boltzmann) |
mu | Chemical potential (in GeV). Only matters for quantum statistics |
Definition at line 283 of file RandomGenerators.cpp.
|
virtual |
BoostInvariantMomentumGenerator desctructor.
Will free the memory used by the object pointed to by m_FreezeoutModel
Definition at line 294 of file RandomGenerators.cpp.
|
inline |
Definition at line 327 of file RandomGenerators.h.
|
virtual |
Samples the 3-momentum of a particle
mass | The mass of a particle. If negative value provided, defaults to the pole/vacuum mass |
Implements thermalfist::RandomGenerators::ParticleMomentumGenerator.
Definition at line 300 of file RandomGenerators.cpp.
|
protectedvirtual |
Samples zeta for use in Monte Carlo event generator.
Uses rejection sampling.
Definition at line 399 of file RandomGenerators.cpp.
|
inline |
Definition at line 328 of file RandomGenerators.h.