Thermal-FIST
1.3
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. More... | |
virtual | ~BoostInvariantMomentumGenerator () |
BoostInvariantMomentumGenerator desctructor. More... | |
double | EtaMax () const |
double | Mass () const |
virtual std::vector< double > | GetMomentum (double mass=-1.) const |
Public Member Functions inherited from thermalfist::RandomGenerators::ParticleMomentumGenerator | |
ParticleMomentumGenerator () | |
Default constructor. More... | |
virtual | ~ParticleMomentumGenerator () |
Destructor. More... | |
Protected Member Functions | |
virtual double | GetRandomZeta (MTRand &rangen=RandomGenerators::randgenMT) const |
Samples zeta for use in Monte Carlo event generator. More... | |
Class for generating momentum of a particle in accordance with a longitudinally boost invariant and azimuthally symmetric freeze-out model.
Definition at line 294 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 274 of file RandomGenerators.cpp.
|
virtual |
BoostInvariantMomentumGenerator desctructor.
Will free the memory used by the object pointed to by m_FreezeoutModel
Definition at line 285 of file RandomGenerators.cpp.
|
inline |
Definition at line 318 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 291 of file RandomGenerators.cpp.
|
protectedvirtual |
Samples zeta for use in Monte Carlo event generator.
Uses rejection sampling.
Definition at line 352 of file RandomGenerators.cpp.
|
inline |
Definition at line 319 of file RandomGenerators.h.