Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
thermalfist::RandomGenerators::SSHMomentumGenerator Class Reference

Class for generating the momentum of a particle in accordance with the longitudinally symmetric blast-wave model. More...

#include <RandomGenerators.h>

Inheritance diagram for thermalfist::RandomGenerators::SSHMomentumGenerator:
thermalfist::RandomGenerators::ParticleMomentumGenerator

Public Member Functions

 SSHMomentumGenerator ()
 
 SSHMomentumGenerator (double T, double betas, double etamax, double npow, double mass)
 Construct a new SSHGenerator object.
 
 ~SSHMomentumGenerator ()
 
void SetParameters (double T, double betas, double etamax, double npow, double mass)
 Sets the parameters of the distribution.
 
void SetMeanBetaT (double betaT)
 Set the mean transverse flow velocity.
 
double GetTkin () const
 
double GetBetaSurface () const
 
double GetMass () const
 
double GetNPow () const
 
double GetEtaMax () const
 
std::vector< double > GetMomentum (double mass=-1.) const
 
- Public Member Functions inherited from thermalfist::RandomGenerators::ParticleMomentumGenerator
 ParticleMomentumGenerator ()
 Default constructor.
 
virtual ~ParticleMomentumGenerator ()
 Destructor.
 

Detailed Description

Class for generating the momentum of a particle in accordance with the longitudinally symmetric blast-wave model.

Used in the longitudinally symmetric blast-wave event generator.

Definition at line 528 of file RandomGenerators.h.

Constructor & Destructor Documentation

◆ SSHMomentumGenerator() [1/2]

thermalfist::RandomGenerators::SSHMomentumGenerator::SSHMomentumGenerator ( )
inline

Definition at line 532 of file RandomGenerators.h.

◆ SSHMomentumGenerator() [2/2]

thermalfist::RandomGenerators::SSHMomentumGenerator::SSHMomentumGenerator ( double T,
double betas,
double etamax,
double npow,
double mass )
inline

Construct a new SSHGenerator object.

Parameters
TThe kinetic temperature (in GeV)
betasThe transverse flow velocity at the surface
etamaxThe longitudinal space-time rapidity cut-off
npowThe power in the transverse flow profile function
massParticle mass (in GeV)

Definition at line 542 of file RandomGenerators.h.

◆ ~SSHMomentumGenerator()

thermalfist::RandomGenerators::SSHMomentumGenerator::~SSHMomentumGenerator ( )
inline

Definition at line 550 of file RandomGenerators.h.

Member Function Documentation

◆ GetBetaSurface()

double thermalfist::RandomGenerators::SSHMomentumGenerator::GetBetaSurface ( ) const
inline

Definition at line 589 of file RandomGenerators.h.

◆ GetEtaMax()

double thermalfist::RandomGenerators::SSHMomentumGenerator::GetEtaMax ( ) const
inline

Definition at line 592 of file RandomGenerators.h.

◆ GetMass()

double thermalfist::RandomGenerators::SSHMomentumGenerator::GetMass ( ) const
inline

Definition at line 590 of file RandomGenerators.h.

◆ GetMomentum()

std::vector< double > thermalfist::RandomGenerators::SSHMomentumGenerator::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 1123 of file RandomGenerators.cpp.

◆ GetNPow()

double thermalfist::RandomGenerators::SSHMomentumGenerator::GetNPow ( ) const
inline

Definition at line 591 of file RandomGenerators.h.

◆ GetTkin()

double thermalfist::RandomGenerators::SSHMomentumGenerator::GetTkin ( ) const
inline

Definition at line 588 of file RandomGenerators.h.

◆ SetMeanBetaT()

void thermalfist::RandomGenerators::SSHMomentumGenerator::SetMeanBetaT ( double betaT)
inline

Set the mean transverse flow velocity.

Surface velocity is calculated as \beta_s = \langle \beta_T \rangle (2+n)/2

Parameters
betaTThe mean transverse flow velocity

Definition at line 580 of file RandomGenerators.h.

◆ SetParameters()

void thermalfist::RandomGenerators::SSHMomentumGenerator::SetParameters ( double T,
double betas,
double etamax,
double npow,
double mass )
inline

Sets the parameters of the distribution.

Parameters
TThe kinetic temperature (in GeV)
betasThe transverse flow velocity at the surface
etamaxThe longitudinal space-time rapidity cut-off
npowThe power in the transverse flow profile function
massParticle mass (in GeV)

Definition at line 561 of file RandomGenerators.h.


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