![]() |
Thermal-FIST 1.6
Package for hadron resonance gas model applications
|
Class for generating momentum of a particle from a hypersurface. More...
#include <HypersurfaceSampler.h>
Classes | |
| struct | HypersurfaceMomentumGeneratorConfiguration |
| Configuration structure for the HypersurfaceMomentumGenerator. More... | |
Public Member Functions | |
| HypersurfaceMomentumGenerator (const ParticlizationHypersurface *hypersurface=NULL, const ThermalParticle *particle=NULL, const VolumeElementSampler *positionsampler=NULL, const HypersurfaceMomentumGeneratorConfiguration &config=HypersurfaceMomentumGeneratorConfiguration()) | |
| Construct a new BoostInvariantMomentumGenerator object. | |
| virtual | ~HypersurfaceMomentumGenerator () |
| BoostInvariantMomentumGenerator desctructor. | |
| double | EtaSmear () const |
| double | Mass () const |
| bool | ShearCorrection () const |
| bool | BulkCorrection () const |
| double | SpeedOfSoundSquared () const |
| virtual std::vector< double > | GetMomentum (double mass=-1.) const |
Public Member Functions inherited from thermalfist::RandomGenerators::ParticleMomentumGenerator | |
| ParticleMomentumGenerator () | |
| Default constructor. | |
| virtual | ~ParticleMomentumGenerator () |
| Destructor. | |
Static Public Member Functions | |
| static std::vector< double > | SamplePhaseSpaceCoordinateFromElement (const ParticlizationHypersurfaceElement *elem, const ThermalParticle *particle, const double &mass=-1., const double &etasmear=0., const bool shear_correction=false, const bool bulk_correction=false, const double speed_of_sound_squared=0.15) |
| Samples the Cartesian phase-space coordinates of a particle emmited from a hypersurface element. | |
Class for generating momentum of a particle from a hypersurface.
First chooses the hypersurface element multinomially, then sample the momentum from it. Stricly valid only for the ideal gas equation of state, but may be a sufficient approximation for interacting models in some cases as well.
Definition at line 59 of file HypersurfaceSampler.h.
| thermalfist::RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGenerator | ( | const ParticlizationHypersurface * | hypersurface = NULL, |
| const ThermalParticle * | particle = NULL, | ||
| const VolumeElementSampler * | positionsampler = NULL, | ||
| const HypersurfaceMomentumGeneratorConfiguration & | config = HypersurfaceMomentumGeneratorConfiguration() ) |
Construct a new BoostInvariantMomentumGenerator object.
| hypersurface | Pointer to a ParticlizationHypersurface object. Not deleted on destruction! |
| particle | Pointer to a ThermalParticle object. Not deleted on destruction! |
| positionsampler | Pointer to a VolumeElementSampler object. Not deleted on destruction! |
| config | Configuration object for the HypersurfaceMomentumGenerator |
Definition at line 72 of file HypersurfaceSampler.cpp.
|
inlinevirtual |
BoostInvariantMomentumGenerator desctructor.
Will free the memory used by the object pointed to by m_FreezeoutModel
Definition at line 127 of file HypersurfaceSampler.h.
|
inline |
Definition at line 132 of file HypersurfaceSampler.h.
|
inline |
Definition at line 129 of file HypersurfaceSampler.h.
|
virtual |
Samples the 3-momentum of a particle
| mass | The mass of a particle. If negative value provided, defaults to the pole/vacuum mass |
Implements thermalfist::RandomGenerators::ParticleMomentumGenerator.
Definition at line 88 of file HypersurfaceSampler.cpp.
|
inline |
Definition at line 130 of file HypersurfaceSampler.h.
|
static |
Samples the Cartesian phase-space coordinates of a particle emmited from a hypersurface element.
| hypersurface | Pointer to a ParticlizationHypersurface object. |
| particle | Pointer to a ThermalParticle object representing the particle to sample. |
| mass | Particle mass in GeV. If negative, the pole/vacuum mass is used. |
| etasmear | The smear in longitudinal rapidity |
| shear_correction | Use shear viscous corrections for the momenta of the particles |
| bulk_correction | Use bulk viscous corrections for the momenta of the particles |
| speed_of_sound_squared | The speed of sound squared in the medium |
Definition at line 565 of file HypersurfaceSampler.cpp.
|
inline |
Definition at line 131 of file HypersurfaceSampler.h.
|
inline |
Definition at line 133 of file HypersurfaceSampler.h.