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

Class implementing the Thermal Event Generator for the isotropic blast-wave scenario. More...

#include <SphericalBlastWaveEventGenerator.h>

Inheritance diagram for thermalfist::SphericalBlastWaveEventGenerator:
thermalfist::EventGeneratorBase

Public Member Functions

 SphericalBlastWaveEventGenerator ()
 
 SphericalBlastWaveEventGenerator (ThermalParticleSystem *TPS, const EventGeneratorConfiguration &config, double Tkin=0.120, double beta=0.5)
 Construct a new SphericalBlastWaveEventGenerator object.
 
 SphericalBlastWaveEventGenerator (ThermalModelBase *THM, double T=0.120, double beta=0.5, bool onlyStable=false, EventGeneratorConfiguration::ModelType EV=EventGeneratorConfiguration::PointParticle, ThermalModelBase *THMEVVDW=NULL)
 Old constructor. Included for backward compatibility.
 
 ~SphericalBlastWaveEventGenerator ()
 
void SetBlastWaveParameters (double Tkin, double beta)
 Sets the momentum distribution parameters.
 
void SetMomentumGenerators ()
 
double GetTkin ()
 
double GetBeta ()
 
- Public Member Functions inherited from thermalfist::EventGeneratorBase
 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.
 
ThermalModelBaseThermalModel ()
 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 EventGeneratorConfigurationGetConfiguration () const
 
virtual void CheckSetParameters ()
 Sets the hypersurface parameters.
 

Additional Inherited Members

- Static Public Member Functions inherited from thermalfist::EventGeneratorBase
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 Public Attributes inherited from thermalfist::EventGeneratorBase
static int fCEAccepted
 
static int fCETotal
 
- Protected Member Functions inherited from thermalfist::EventGeneratorBase
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
 
- Protected Attributes inherited from thermalfist::EventGeneratorBase
EventGeneratorConfiguration m_Config
 
ThermalModelBasem_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
 

Detailed Description

Class implementing the Thermal Event Generator for the isotropic blast-wave scenario.

Momentum distribution is based on the Siemens-Rasmussen formula

Examples
cpc4-mcHRG.cpp.

Definition at line 24 of file SphericalBlastWaveEventGenerator.h.

Constructor & Destructor Documentation

◆ SphericalBlastWaveEventGenerator() [1/3]

thermalfist::SphericalBlastWaveEventGenerator::SphericalBlastWaveEventGenerator ( )

Definition at line 19 of file SphericalBlastWaveEventGenerator.cpp.

◆ SphericalBlastWaveEventGenerator() [2/3]

thermalfist::SphericalBlastWaveEventGenerator::SphericalBlastWaveEventGenerator ( ThermalParticleSystem * TPS,
const EventGeneratorConfiguration & config,
double Tkin = 0.120,
double beta = 0.5 )

Construct a new SphericalBlastWaveEventGenerator object.

Parameters
TPSA pointer to the particle list
configEvent generator configuration
TkinThe kinetic freeze-out temperature (in GeV)
betaRadial flow velocity

Definition at line 24 of file SphericalBlastWaveEventGenerator.cpp.

◆ SphericalBlastWaveEventGenerator() [3/3]

thermalfist::SphericalBlastWaveEventGenerator::SphericalBlastWaveEventGenerator ( ThermalModelBase * THM,
double T = 0.120,
double beta = 0.5,
bool onlyStable = false,
EventGeneratorConfiguration::ModelType EV = EventGeneratorConfiguration::PointParticle,
ThermalModelBase * THMEVVDW = NULL )

Old constructor. Included for backward compatibility.

Deprecated

Definition at line 34 of file SphericalBlastWaveEventGenerator.cpp.

◆ ~SphericalBlastWaveEventGenerator()

thermalfist::SphericalBlastWaveEventGenerator::~SphericalBlastWaveEventGenerator ( )
inline

Definition at line 47 of file SphericalBlastWaveEventGenerator.h.

Member Function Documentation

◆ GetBeta()

double thermalfist::SphericalBlastWaveEventGenerator::GetBeta ( )
inline

Definition at line 57 of file SphericalBlastWaveEventGenerator.h.

◆ GetTkin()

double thermalfist::SphericalBlastWaveEventGenerator::GetTkin ( )
inline

Definition at line 56 of file SphericalBlastWaveEventGenerator.h.

◆ SetBlastWaveParameters()

void thermalfist::SphericalBlastWaveEventGenerator::SetBlastWaveParameters ( double Tkin,
double beta )

Sets the momentum distribution parameters.

Definition at line 77 of file SphericalBlastWaveEventGenerator.cpp.

◆ SetMomentumGenerators()

void thermalfist::SphericalBlastWaveEventGenerator::SetMomentumGenerators ( )
virtual

Sets up the random generators of particle momenta and resonances masses

Reimplemented from thermalfist::EventGeneratorBase.

Definition at line 84 of file SphericalBlastWaveEventGenerator.cpp.


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