Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
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.
 
virtual ~BoostInvariantMomentumGenerator ()
 BoostInvariantMomentumGenerator desctructor.
 
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.
 
virtual ~ParticleMomentumGenerator ()
 Destructor.
 

Protected Member Functions

virtual double GetRandomZeta (MTRand &rangen=RandomGenerators::randgenMT) const
 Samples zeta for use in Monte Carlo event generator.
 

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 303 of file RandomGenerators.h.

Constructor & Destructor Documentation

◆ BoostInvariantMomentumGenerator()

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 283 of file RandomGenerators.cpp.

◆ ~BoostInvariantMomentumGenerator()

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

BoostInvariantMomentumGenerator desctructor.

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

Definition at line 294 of file RandomGenerators.cpp.

Member Function Documentation

◆ EtaMax()

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

Definition at line 327 of file RandomGenerators.h.

◆ GetMomentum()

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, and, additionally, the space-time Cartesian coordinates \(r_0\), \(r_x\), \(r_y\), \(r_z\) in the collision center-of-mass frame

Implements thermalfist::RandomGenerators::ParticleMomentumGenerator.

Definition at line 300 of file RandomGenerators.cpp.

◆ GetRandomZeta()

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 399 of file RandomGenerators.cpp.

◆ Mass()

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

Definition at line 328 of file RandomGenerators.h.


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