Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches

The main namespace where all classes and functions of the Thermal-FIST library reside. More...

Namespaces

namespace  Acceptance
 Routines used for modeling the acceptance effects.
 
namespace  CuteHRGHelper
 Contains several helper routines.
 
namespace  DecayLifetimes
 Contains decay lifetimes needed for propagation in Monte Carlo.
 
namespace  ExtraParticles
 Contains properties of non-QCD particles such as photons and leptons.
 
namespace  IdealGasFunctions
 Contains implementation of the thermodynamic functions corresponding to an ideal gas of particles in the grand-canonical ensemble.
 
namespace  NumericalIntegration
 Contains various Gauss-Legendre and Gauss-Laguerre quadratures used in numerical integrations.
 
namespace  ParticleDecaysMC
 Contains functions for Monte Carlo generation of decays.
 
namespace  RandomGenerators
 Contains random generator functions used in the Monte Carlo Thermal Event Generator.
 
namespace  xMath
 

Classes

class  BilinearSplineFunction
 A class implementing a bilinear spline. More...
 
class  BoostInvariantFreezeoutParametrization
 Base class implementing a longitudinally boost-invariant azimuthally symmetric freeze-out parametrization. More...
 
class  BoostInvariantHypersurfaceEventGenerator
 Class implementing the Thermal Event Generator for the boost-invariant (2+1)-d hydro hypersurface. More...
 
class  BoostInvariantMomentumDistribution
 Class implementing the momentum distribution of boost-invariant, azimuthally symmetric freeze-out models using Maxwell-Boltzmann statistics. More...
 
class  Broyden
 Class implementing the Broyden method to solve a system of non-linear equations. More...
 
class  BroydenEquations
 Abstract class which defines the system of non-linear equations to be solved by the Broyden's method. More...
 
class  BroydenJacobian
 Class which implements calculation of the Jacobian needed for the Broyden's method. More...
 
struct  ConservedCharge
 An auxiliary struct containing the list of conserved charges. More...
 
class  CosmicEoS
 Class implementing cosmological equation of state as a mixture of HRG model, ideal gases of leptons and photons. More...
 
class  CracowFreezeoutEventGenerator
 Class implementing the Thermal Event Generator for the Cracow freeze-out model scenario. More...
 
class  CracowFreezeoutParametrization
 Implements the Cracow (Hubble-like) freeze-out model parametrization. More...
 
class  CylindricalBlastWaveEventGenerator
 Class implementing the Thermal Event Generator for the longitudinally symmetric blast-wave scenario. More...
 
class  CylindricalBlastWaveParametrization
 Implements the cylindrically symmetric blast-wave model parametrization. More...
 
class  Disclaimer
 
class  EffectiveMassModel
 Class implementing an effective mass model for single particle species. More...
 
class  EMMFieldPressure
 Base class implementing field pressure contribution function in the effective mass model. Default is linear scalar interaction, as in https://arxiv.org/abs/2004.09004 [Eq. (26)]. More...
 
class  EMMFieldPressureChPT
 Effective mass model matched to chiral perturbation theory for pions at T = 0. See supplemental material section I in https://arxiv.org/abs/2009.02309. More...
 
class  EventGeneratorBase
 Base class for generating events with the Thermal Event Generator. More...
 
struct  EventGeneratorConfiguration
 Structure containing the thermal event generator configuration. More...
 
class  EventWriter
 Base event writer class outputting the list of particle's four-momenta in a simple ascii format. More...
 
class  EventWriterAsciiExtended
 Event writer class outputting the list of particles with options to include more information. More...
 
class  EventWriterForSmash
 Event writer class outputting the list of particles suitable for SMASH afterburner. More...
 
class  EventWriterForUrqmd
 Event writer class outputting the list of particles suitable for UrQMD afterburner from https://github.com/jbernhard/urqmd-afterburner. More...
 
struct  EVSolution
 
class  ExcludedVolumeModelBase
 Base class implementing the ideal gas. More...
 
class  ExcludedVolumeModelComponents
 Implementation of an excluded volume model with components. More...
 
class  ExcludedVolumeModelCrosstermsGeneralized
 Implementation of a crossterms generalized excluded volume model. More...
 
class  ExcludedVolumeModelCrosstermsVDW
 Implementation of the crossterms van der Waals excluded volume model. More...
 
class  ExcludedVolumeModelCS
 Class implementing auxiliary functions for the Carnahan-Starling excluded volume model. More...
 
class  ExcludedVolumeModelDiagonalGeneralized
 Implementation of a diagonal generalized excluded volume model. More...
 
class  ExcludedVolumeModelDiagonalVDW
 Implementation of the diagonal van der Waals excluded volume model. More...
 
class  ExcludedVolumeModelMultiBase
 Base class for multi-component excluded volume models. More...
 
class  ExcludedVolumeModelTVM
 Class implementing auxiliary functions for the VDW excluded volume model truncated at n^3. This corresponds to the trivial model (TVM) from https://arxiv.org/abs/1909.02276. More...
 
class  ExcludedVolumeModelVDW
 Class implementing auxiliary functions for the van der Waals excluded volume model. More...
 
class  ExcludedVolumeModelVirial
 Class implementing auxiliary functions for the VDW excluded volume model truncated at n^2. More...
 
struct  ExperimentMultiplicity
 Structure containing the experimental yield (multiplicity) to be fitted. More...
 
struct  ExperimentRatio
 Structure containing the experimental ratio of yields to be fitted. More...
 
struct  Feeddown
 An auxiliary struct containing the list of feeddown flags. More...
 
struct  FitParameter
 Structure for an arbitrary fit parameter. More...
 
struct  FittedQuantity
 Structure describing the measurement to be fitted or compared to model. More...
 
class  GeneralizedDensity
 Implements the possibility of a generalized calculation of the densities. For example, effective mass model. Abstract class. More...
 
class  HepMCEventWriter
 Writes the events in the HepMC::Asciiv3 format, see https://gitlab.cern.ch/hepmc/HepMC3. More...
 
class  HypersurfaceEventGenerator
 
class  HypersurfaceEventGeneratorEVHRG
 
struct  LeptonFlavor
 An auxiliary struct containing the list of conserved lepton flavor charges. More...
 
class  MeanFieldModelBase
 Base class implementing the ideal gas (no mean field). More...
 
class  MeanFieldModelChargeDensityDependent
 Implementation of a charge density dependent mean field model. More...
 
class  MeanFieldModelClausius
 Class implementing auxiliary functions for the Clausius mean-field model. More...
 
class  MeanFieldModelComponents
 Implementation of a mean field model with components. More...
 
class  MeanFieldModelMultiBase
 Base class for multi-component mean field models. More...
 
class  MeanFieldModelMultiVDW
 Implementation of the van der Waals mean field model for multiple components. More...
 
class  MeanFieldModelSkyrme
 Class implementing auxiliary functions for the Skyrme mean-field model. More...
 
class  MeanFieldModelVDF
 Class implementing auxiliary functions for the vector density functional (VDF) model. More...
 
class  MeanFieldModelVDW
 Class implementing auxiliary functions for the linear (van der Waals) mean-field model. More...
 
class  MomentumDistributionBase
 Class implementing the primordial 3-momentum distribution function of certain particle species. More...
 
struct  ParticleDecayChannel
 Structure containing information about a single decay channel of a particle. More...
 
struct  ParticleDecayType
 An auxiliary struct containing the list of decay types. More...
 
struct  ParticlizationHypersurfaceElement
 
struct  QuantumNumbers
 Struct containing a set of quantum numbers: Baryon number, electric charge, strangeness, and charm. More...
 
class  SiemensRasmussenDistribution
 Class implementing the momentum distribution in the spherically symmetric Blast-Wave model of Siemens and Rasmussen. More...
 
struct  SimpleEvent
 Structure holding information about a single event in the event generator. More...
 
struct  SimpleParticle
 Structure holding information about a single particle in the event generator. More...
 
class  SphericalBlastWaveEventGenerator
 Class implementing the Thermal Event Generator for the isotropic blast-wave scenario. More...
 
class  SplineFunction
 Class implementing a simple linear spline. More...
 
class  SSHDistribution
 Class implementing the momentum distribution in the longitudinally symmetric Blast-Wave model. More...
 
class  ThermalModelBase
 Abstract base class for an HRG model implementation. More...
 
class  ThermalModelCanonical
 Class implementing the ideal HRG model in the canonical ensemble. More...
 
class  ThermalModelCanonicalCharm
 Class implementing the ideal HRG model with exact conservation of charm (charm-canonical ensemble). More...
 
class  ThermalModelCanonicalStrangeness
 Class implementing the ideal HRG model with exact conservation of strangeness (strangeness-canonical ensemble). More...
 
class  ThermalModelEVCanonicalStrangeness
 Class implementing the diagonal excluded-volume model in the strangeness-canonical ensemble. More...
 
class  ThermalModelEVCrossterms
 Class implementing the crossterms excluded-volume model. More...
 
class  ThermalModelEVCrosstermsLegacy
 Class implementing the crossterms excluded-volume model. More...
 
class  ThermalModelEVDiagonal
 Class implementing the diagonal excluded-volume model. More...
 
class  ThermalModelFit
 Class implementing the thermal model fit procedure. More...
 
struct  ThermalModelFitParameters
 Structure holding information about parameters of a thermal fit. More...
 
struct  ThermalModelFitParametersExtended
 Extended structure for calculating uncertainties in non-fit quantities resulting from uncertanties in fit parameters. More...
 
class  ThermalModelIdeal
 Class implementing the Ideal HRG model. More...
 
struct  ThermalModelParameters
 Structure containing all thermal parameters of the model. More...
 
class  ThermalModelPCE
 Class implementing HRG in partial chemical equilibrium. More...
 
class  ThermalModelPCEAnnihilation
 Class implementing HRG in partial chemical equilibrium with baryon annihilation. More...
 
class  ThermalModelRealGas
 Class implementing the quantum real gas HRG model. More...
 
class  ThermalModelVDW
 Class implementing the quantum van der Waals HRG model. More...
 
class  ThermalModelVDWCanonicalStrangeness
 Class implementing the quantum van der Waals model in the strangeness-canonical ensemble. More...
 
class  ThermalParticle
 Class containing all information about a particle specie. More...
 
class  ThermalParticleSystem
 Class containing the particle list. More...
 

Typedefs

typedef CylindricalBlastWaveEventGenerator SSHEventGenerator
 For backward compatibility.
 
typedef std::vector< ParticlizationHypersurfaceElementParticlizationHypersurface
 
typedef SphericalBlastWaveEventGenerator SiemensRasmussenEventGenerator
 For backward compatibility.
 
typedef ThermalModelVDW ThermalModelVDWFull
 For backward compatibility.
 

Functions

double IsospinCharge (const ThermalParticle &part)
 Calculates the isospin charge of a particle.
 
std::map< std::vector< int >, double > ComputeBQSSusceptibilities (ThermalModelBase *model, int order=4, double dmuTnum=0.001)
 
std::map< std::vector< int >, double > ComputeBQSSusceptibilitiesDerivativeT (ThermalModelBase *model, int order=4, double dmuTnum=0.001)
 
long long stringToLongLong (const std::string &str)
 
double get_wall_time ()
 
double get_cpu_time ()
 
std::vector< std::vector< double > > GetBaryonBaryonInteractionMatrix (const ThermalParticleSystem *TPS, double param)
 Returns the matrix of attraction and repulsion parameters for baryon-baryon and antibaryon-antibaryon pairs.
 
void SetEVHRGInteractionParameters (ThermalModelBase *model, double b)
 Sets EV interactions for baryon-baryon and antibaryon-antibaryon pairs as in https://arxiv.org/abs/1708.02852.
 
template<typename T>
std::string to_string_fix (T value)
 Converts a value to a string.
 
std::vector< double > LorentzBoost (const std::vector< double > &fourvector, double vx, double vy, double vz)
 Performs a Lorentz boost on a four-vector.
 
void SetVDWHRGInteractionParameters (ThermalModelBase *model, double a, double b)
 Sets vdW interactions for baryon-baryon and antibaryon-antibaryon pairs as in https://arxiv.org/abs/1609.03975.
 
void SetVDWHRGInteractionParameters (ThermalModelBase *model, const std::vector< std::vector< double > > &a, const std::vector< std::vector< double > > &b)
 Sets vdW interactions based on the provided matrices of attraction and repulsion parameters.
 
MatrixXd GetSusceptibilityMatrix (ThermalModelBase *model, const vector< int > &ConservedDensities)
 
MatrixXd GetPressureHessianMatrix (ThermalModelBase *model, const vector< int > &ConservedDensities)
 
long long stringToLongLong (const string &str)
 
void fillBoostMatrix (double vx, double vy, double vz, double boostMatrix[4][4])
 
int index44 (const int &i, const int &j)
 

Detailed Description

The main namespace where all classes and functions of the Thermal-FIST library reside.

It may therefore be convenient to include the

using namespace thermalfist;
The main namespace where all classes and functions of the Thermal-FIST library reside.
Definition CosmicEoS.h:9

directive in a C++ script which uses the library.

Typedef Documentation

◆ ParticlizationHypersurface

◆ SiemensRasmussenEventGenerator

◆ SSHEventGenerator

For backward compatibility.

Definition at line 89 of file CylindricalBlastWaveEventGenerator.h.

◆ ThermalModelVDWFull

For backward compatibility.

Definition at line 346 of file ThermalModelVDW.h.

Function Documentation

◆ ComputeBQSSusceptibilities()

std::map< std::vector< int >, double > thermalfist::ComputeBQSSusceptibilities ( ThermalModelBase * model,
int order = 4,
double dmuTnum = 0.001 )

Calculates mixed susceptibilities of Baryon (B), Charge (Q), and Strangeness (S) charges for the given model up to the given order (fourth-order max) The susceptibilities of third and fourth order are calculated using the central finite difference method with step size dmuTnum

Definition at line 30 of file Susceptibilities.cpp.

◆ ComputeBQSSusceptibilitiesDerivativeT()

std::map< std::vector< int >, double > thermalfist::ComputeBQSSusceptibilitiesDerivativeT ( ThermalModelBase * model,
int order = 4,
double dmuTnum = 0.001 )

Calculates temperature derivatives of the mixed susceptibilities of Baryon (B), Charge (Q), and Strangeness (S) charges for the given model up to the given order (fourth-order max) The susceptibilities of third and fourth order are calculated using the central finite difference method with step size dmuTnum

Definition at line 142 of file Susceptibilities.cpp.

◆ fillBoostMatrix()

void thermalfist::fillBoostMatrix ( double vx,
double vy,
double vz,
double boostMatrix[4][4] )

Definition at line 534 of file HypersurfaceSampler.cpp.

◆ get_cpu_time()

double thermalfist::get_cpu_time ( )

Definition at line 199 of file Utility.cpp.

◆ get_wall_time()

double thermalfist::get_wall_time ( )

Definition at line 191 of file Utility.cpp.

◆ GetBaryonBaryonInteractionMatrix()

std::vector< std::vector< double > > thermalfist::GetBaryonBaryonInteractionMatrix ( const ThermalParticleSystem * TPS,
double param )

Returns the matrix of attraction and repulsion parameters for baryon-baryon and antibaryon-antibaryon pairs.

Parameters
modelPointer to the thermal model object
paramInteraction parameter

Definition at line 45 of file ExcludedVolumeHelper.cpp.

◆ GetPressureHessianMatrix()

MatrixXd thermalfist::GetPressureHessianMatrix ( ThermalModelBase * model,
const vector< int > & ConservedDensities )

Definition at line 2176 of file ThermalModelBase.cpp.

◆ GetSusceptibilityMatrix()

MatrixXd thermalfist::GetSusceptibilityMatrix ( ThermalModelBase * model,
const vector< int > & ConservedDensities )

Definition at line 2145 of file ThermalModelBase.cpp.

◆ index44()

int thermalfist::index44 ( const int & i,
const int & j )

Definition at line 558 of file HypersurfaceSampler.cpp.

◆ IsospinCharge()

double thermalfist::IsospinCharge ( const ThermalParticle & part)

Calculates the isospin charge of a particle.

Isospin = (u - d) / 2, e.g. I_pi = 1,0,-1 Using https://en.wikipedia.org/wiki/Gell-Mann%E2%80%93Nishijima_formula

Parameters
partThe particle for which to calculate the isospin charge
Returns
double The isospin charge value

Definition at line 461 of file CosmicEoS.cpp.

◆ LorentzBoost()

std::vector< double > thermalfist::LorentzBoost ( const std::vector< double > & fourvector,
double vx,
double vy,
double vz )

Performs a Lorentz boost on a four-vector.

Parameters
fourvectorThe four-vector to boost (E, px, py, pz)
vxThe x-component of the boost velocity (in units of c)
vyThe y-component of the boost velocity (in units of c)
vzThe z-component of the boost velocity (in units of c)
Returns
std::vector<double> The boosted four-vector

Definition at line 32 of file EventGeneratorBase.cpp.

◆ SetEVHRGInteractionParameters()

void thermalfist::SetEVHRGInteractionParameters ( ThermalModelBase * model,
double b )

Sets EV interactions for baryon-baryon and antibaryon-antibaryon pairs as in https://arxiv.org/abs/1708.02852.

Parameters
modelPointer to the thermal model object
bRepulsion parameter in fm^3

Definition at line 97 of file ThermalModelEVCrossterms.cpp.

◆ SetVDWHRGInteractionParameters() [1/2]

void thermalfist::SetVDWHRGInteractionParameters ( ThermalModelBase * model,
const std::vector< std::vector< double > > & a,
const std::vector< std::vector< double > > & b )

Sets vdW interactions based on the provided matrices of attraction and repulsion parameters.

Parameters
modelPointer to the thermal model object
aAttraction parameter in GeV*fm^3
bRepulsion parameter in fm^3

◆ SetVDWHRGInteractionParameters() [2/2]

void thermalfist::SetVDWHRGInteractionParameters ( ThermalModelBase * model,
double a,
double b )

Sets vdW interactions for baryon-baryon and antibaryon-antibaryon pairs as in https://arxiv.org/abs/1609.03975.

Parameters
modelPointer to the thermal model object
aAttraction parameter in GeV*fm^3
bRepulsion parameter in fm^3

Definition at line 1368 of file ThermalModelVDW.cpp.

◆ stringToLongLong() [1/2]

long long thermalfist::stringToLongLong ( const std::string & str)

◆ stringToLongLong() [2/2]

long long thermalfist::stringToLongLong ( const string & str)

Definition at line 143 of file Utility.cpp.

◆ to_string_fix()

template<typename T>
std::string thermalfist::to_string_fix ( T value)

Converts a value to a string.

Template Parameters
TType of the value to convert
Parameters
valueThe value to convert to a string
Returns
std::string The string representation of the value

Definition at line 30 of file EventGeneratorBase.h.