Thermal-FIST  1.3
Package for hadron resonance gas model applications
Public Member Functions | Protected Member Functions | List of all members
thermalfist::RandomGenerators::BoostInvariantMomentumGenerator Class Reference

Class for generating momentum of a particle in accordance with a longitudinally boost invariant and azimuthally symmetric freeze-out model. More...

#include <RandomGenerators.h>

Inheritance diagram for thermalfist::RandomGenerators::BoostInvariantMomentumGenerator:
thermalfist::RandomGenerators::ParticleMomentumGenerator

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
FreezeoutModelPointer to a BoostInvariantFreezeoutParametrization object. Will be deleted on destruction!
TkinThe kinetic temperature (in GeV)
etamaxThe longitudinal space-time rapidity cut-off
massParticle mass (in GeV)
statisticsQuantum statistics (default: Maxwell-Boltzmann)
muChemical potential (in GeV). Only matters for quantum statistics

Definition at line 274 of file RandomGenerators.cpp.

thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::~BoostInvariantMomentumGenerator ( )
virtual

BoostInvariantMomentumGenerator desctructor.

Will free the memory used by the object pointed to by m_FreezeoutModel

Definition at line 285 of file RandomGenerators.cpp.

Member Function Documentation

double thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::EtaMax ( ) const
inline

Definition at line 318 of file RandomGenerators.h.

std::vector< double > thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::GetMomentum ( double  mass = -1.) const
virtual

Samples the 3-momentum of a particle

Parameters
massThe mass of a particle. If negative value provided, defaults to the pole/vacuum mass
Returns
std::vector<double> A vector containing the sampled \(p_x\), \(p_y\), \(p_z\) components of the three-momentum

Implements thermalfist::RandomGenerators::ParticleMomentumGenerator.

Definition at line 291 of file RandomGenerators.cpp.

double thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::GetRandomZeta ( MTRand &  rangen = RandomGenerators::randgenMT) const
protectedvirtual

Samples zeta for use in Monte Carlo event generator.

Uses rejection sampling.

Definition at line 352 of file RandomGenerators.cpp.

double thermalfist::RandomGenerators::BoostInvariantMomentumGenerator::Mass ( ) const
inline

Definition at line 319 of file RandomGenerators.h.


The documentation for this class was generated from the following files: