![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Class implementing the Thermal Event Generator for the Cracow freeze-out model scenario. More...
#include <CracowFreezeoutEventGenerator.h>
Public Member Functions | |
CracowFreezeoutEventGenerator () | |
CracowFreezeoutEventGenerator (ThermalParticleSystem *TPS, const EventGeneratorConfiguration &config, double T=0.120, double RoverTauH=1.5, double etamax=0.5) | |
Construct a new CylindricalBlastWaveEventGenerator object. | |
~CracowFreezeoutEventGenerator () | |
void | SetParameters (double T, double RoverTauH, double etamax) |
Sets the momentum distribution parameters. | |
virtual void | SetMomentumGenerators () |
double | GetTkin () const |
double | GetRoverTauH () const |
double | GetEtaMax () const |
![]() | |
EventGeneratorBase () | |
Constructor. | |
virtual | ~EventGeneratorBase () |
Destructor. | |
void | ClearMomentumGenerators () |
Clears the momentum generators for all particles. | |
virtual std::pair< std::vector< int >, double > | SampleYields () const |
Samples the primordial yields for each particle species. | |
virtual SimpleParticle | SampleParticle (int id) const |
Samples the position and momentum of a particle species i. | |
virtual SimpleParticle | SampleParticleByPdg (long long pdgid) const |
Samples the position and momentum of a particle species with given pdg code. | |
virtual SimpleEvent | SampleMomenta (const std::vector< int > &yields) const |
Samples the momenta of the particles and returns the sampled list of particles as an event. | |
virtual SimpleEvent | SampleMomentaWithShuffle (const std::vector< int > &yields) const |
Samples the momenta of the particles and returns the sampled list of particles as an event. | |
virtual SimpleEvent | GetEvent (bool PerformDecays=true) const |
Generates a single event. | |
virtual std::vector< double > | GCEMeanYields () const |
The grand-canonical mean yields. | |
void | SetVolume (double V) |
Set system volume. | |
void | RescaleCEMeans (double Vmod) |
Rescale the precalculated GCE means. | |
ThermalModelBase * | ThermalModel () |
Pointer to an underlying GCE Thermal Model. | |
double | ComputeWeight (const std::vector< int > &totals) const |
double | ComputeWeightNew (const std::vector< int > &totals) const |
void | SetEVUseSPR (bool EVfastmode) |
bool | EVUseSPR () const |
const EventGeneratorConfiguration & | GetConfiguration () const |
virtual void | CheckSetParameters () |
Sets the hypersurface parameters. | |
Additional Inherited Members | |
![]() | |
static SimpleEvent | PerformDecays (const SimpleEvent &evtin, const ThermalParticleSystem *TPS, const DecayerFlags &decayerFlags=DecayerFlags()) |
Performs decays of all unstable particles until only stable ones left. | |
![]() | |
static int | fCEAccepted |
static int | fCETotal |
![]() | |
void | SetConfiguration (ThermalParticleSystem *TPS, const EventGeneratorConfiguration &config) |
Sets the event generator configuration. | |
void | PrepareMultinomials () |
std::vector< int > | GenerateTotals () const |
std::vector< int > | GenerateTotalsGCE () const |
std::vector< int > | GenerateTotalsCE () const |
std::vector< int > | GenerateTotalsSCE () const |
std::vector< int > | GenerateTotalsSCESubVolume (double VolumeSC) const |
std::vector< int > | GenerateTotalsCCE () const |
std::vector< int > | GenerateTotalsCCESubVolume (double VolumeSC) const |
virtual void | SetParameters () |
Sets up the event generator ready for production. | |
std::vector< std::vector< double > > | ComputeEVRadii () const |
bool | CheckEVOverlap (const std::vector< SimpleParticle > &evt, const SimpleParticle &cand, const std::vector< int > &ids=std::vector< int >(), const std::vector< std::vector< double > > &radii=std::vector< std::vector< double > >()) const |
![]() | |
EventGeneratorConfiguration | m_Config |
ThermalModelBase * | m_THM |
std::vector< double > | m_DensitiesIdeal |
Ideal gas densities used for sampling an interacting HRG. | |
std::vector< RandomGenerators::ParticleMomentumGenerator * > | m_MomentumGens |
Vector of momentum generators for each particle species. | |
std::vector< RandomGenerators::ThermalBreitWignerGenerator * > | m_BWGens |
bool | m_ParametersSet |
Class implementing the Thermal Event Generator for the Cracow freeze-out model scenario.
Definition at line 20 of file CracowFreezeoutEventGenerator.h.
thermalfist::CracowFreezeoutEventGenerator::CracowFreezeoutEventGenerator | ( | ) |
Definition at line 19 of file CracowFreezeoutEventGenerator.cpp.
thermalfist::CracowFreezeoutEventGenerator::CracowFreezeoutEventGenerator | ( | ThermalParticleSystem * | TPS, |
const EventGeneratorConfiguration & | config, | ||
double | T = 0.120, | ||
double | RoverTauH = 1.5, | ||
double | etamax = 0.5 ) |
Construct a new CylindricalBlastWaveEventGenerator object.
TPS | A pointer to the particle list |
config | Event generator configuration |
Tkin | The kinetic freeze-out temperature (in GeV) |
RoverTauH | The r_max/tau_H ratio parameter |
etamax | The longitudinal space-time rapidity cut-off |
Definition at line 24 of file CracowFreezeoutEventGenerator.cpp.
|
inline |
Definition at line 41 of file CracowFreezeoutEventGenerator.h.
|
inline |
Definition at line 53 of file CracowFreezeoutEventGenerator.h.
|
inline |
Definition at line 52 of file CracowFreezeoutEventGenerator.h.
|
inline |
Definition at line 51 of file CracowFreezeoutEventGenerator.h.
|
virtual |
Sets up the random generators of particle momenta and resonances masses
Reimplemented from thermalfist::EventGeneratorBase.
Definition at line 43 of file CracowFreezeoutEventGenerator.cpp.
void thermalfist::CracowFreezeoutEventGenerator::SetParameters | ( | double | T, |
double | RoverTauH, | ||
double | etamax ) |
Sets the momentum distribution parameters.
Definition at line 33 of file CracowFreezeoutEventGenerator.cpp.