![]()  | 
  
    Thermal-FIST 1.5
    
   Package for hadron resonance gas model applications 
   | 
 
#include <HypersurfaceSampler.h>
  
Public Member Functions | |
| HypersurfaceEventGenerator (const ParticlizationHypersurface *hypersurface=NULL, ThermalModelBase *model=NULL, double etasmear=0.0, bool shear_correction=false, bool bulk_correction=false, double speed_of_sound_squared=0.15) | |
| Construct a new HypersurfaceEventGenerator object.   | |
| HypersurfaceEventGenerator (ThermalParticleSystem *TPS, const EventGeneratorConfiguration &config=EventGeneratorConfiguration(), const ParticlizationHypersurface *hypersurface=NULL, const RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration &configMomentumGenerator=RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration()) | |
| Construct a new HypersurfaceEventGenerator object.   | |
| HypersurfaceEventGenerator (ThermalParticleSystem *TPS, const EventGeneratorConfiguration &config, const ParticlizationHypersurface *hypersurface, double etasmear, bool shear_correction=false, bool bulk_correction=false, double speed_of_sound_squared=0.15) | |
| (Deprecated) Construct a new HypersurfaceEventGenerator object   | |
| virtual | ~HypersurfaceEventGenerator () | 
| virtual std::vector< double > | GCEMeanYields () const | 
| Override.   | |
| virtual std::vector< double > & | GCEMeanYields () | 
| void | SetModel (ThermalModelBase *model) | 
| End override.   | |
| void | SetHypersurface (const ParticlizationHypersurface *hypersurface) | 
| void | SetMomentumGeneratorConfig (const RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration &config) | 
| RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration | GetMomentumGeneratorConfig () const | 
| void | SetEtaSmear (double etaSmear) | 
| double | GetEtaSmear () const | 
| void | SetShearCorrection (bool shear_correction) | 
| bool | GetShearCorrection () | 
| void | SetBulkCorrection (bool bulk_correction) | 
| bool | GetBulkCorrection () | 
| void | SetSpeedOfSoundSquared (double speed_of_sound_squared) | 
| double | GetSpeedOfSoundSquared () | 
| void | SetRescaleTmu (bool rescale=false, double edens=0.26) | 
| virtual SimpleEvent | GetEvent (bool PerformDecays=true) const | 
| Sets the hypersurface parameters.   | |
  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.   | |
| 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.   | |
Protected Member Functions | |
| void | SetMomentumGenerators () | 
| Sets the hypersurface parameters.   | |
| void | ProcessVolumeElements () | 
| Processes the volume elements to calculate the multinomial volume element sampling probabilities and the full-space yields.   | |
| virtual void | SetParameters () | 
| Sets the hypersurface parameters.   | |
| const std::vector< double > & | FullSpaceYields () const | 
| The computed grand-canonical yields in 4pi.   | |
  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 | 
| 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 | 
Static Protected Member Functions | |
| static std::vector< std::vector< double > > | CalculateTMuMap (ThermalModelBase *model, double edens, double rhomin=0.0, double rhomax=0.27, double drho=0.001) | 
| Calculates the (T,muB,muS,muQ) values as function of baryon density at fixed constant energy density.   | |
| static void | RescaleHypersurfaceParametersEdens (ParticlizationHypersurface *hypersurface, ThermalModelBase *model, double edens, double rhomin=0.0, double rhomax=0.27, double drho=0.001, double rhocrit=0.16) | 
| Rescales the hypersurface parameters to match the given energy and baryon density.   | |
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 Attributes inherited from thermalfist::EventGeneratorBase | |
| 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 | 
Definition at line 220 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Construct a new HypersurfaceEventGenerator object.
| hypersurface | A pointer to the particlization hypersurface. Not deleted at destruction! | 
| model | A pointer to the thermal model object for calculating the densities at each hypersurface element. Not deleted at destruction! | 
| etasmear | Smearing in rapidity | 
Definition at line 231 of file HypersurfaceSampler.h.
| thermalfist::HypersurfaceEventGenerator::HypersurfaceEventGenerator | ( | ThermalParticleSystem * | TPS, | 
| const EventGeneratorConfiguration & | config = EventGeneratorConfiguration(), | ||
| const ParticlizationHypersurface * | hypersurface = NULL, | ||
| const RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration & | configMomentumGenerator = RandomGenerators::HypersurfaceMomentumGenerator::HypersurfaceMomentumGeneratorConfiguration() ) | 
Construct a new HypersurfaceEventGenerator object.
| TPS | A pointer to the particle list. Not deleted at destruction! | 
| config | Event generator configuration | 
| hypersurface | A pointer to the particlization hypersurface. Not deleted at destruction! | 
| configMomentumGenerator | Configuration object for the HypersurfaceMomentumGenerator | 
Definition at line 118 of file HypersurfaceSampler.cpp.
| thermalfist::HypersurfaceEventGenerator::HypersurfaceEventGenerator | ( | ThermalParticleSystem * | TPS, | 
| const EventGeneratorConfiguration & | config, | ||
| const ParticlizationHypersurface * | hypersurface, | ||
| double | etasmear, | ||
| bool | shear_correction = false, | ||
| bool | bulk_correction = false, | ||
| double | speed_of_sound_squared = 0.15 ) | 
(Deprecated) Construct a new HypersurfaceEventGenerator object
| TPS | A pointer to the particle list. Not deleted at destruction! | 
| config | Event generator configuration | 
| hypersurface | A pointer to the particlization hypersurface. Not deleted at destruction! | 
| etasmear | Smearing in rapidity | 
| shear_correction | include shear correct in momentum space | 
| bulk_correction | include bulk correct in momentum space | 
| speed_of_sound_squared | The speed of sound squared in the medium | 
Definition at line 104 of file HypersurfaceSampler.cpp.
      
  | 
  inlinevirtual | 
Definition at line 278 of file HypersurfaceSampler.h.
      
  | 
  staticprotected | 
Calculates the (T,muB,muS,muQ) values as function of baryon density at fixed constant energy density.
Definition at line 324 of file HypersurfaceSampler.cpp.
      
  | 
  inlineprotected | 
The computed grand-canonical yields in 4pi.
Definition at line 351 of file HypersurfaceSampler.h.
      
  | 
  virtual | 
Definition at line 135 of file HypersurfaceSampler.cpp.
      
  | 
  virtual | 
Override.
Reimplemented from thermalfist::EventGeneratorBase.
Definition at line 130 of file HypersurfaceSampler.cpp.
      
  | 
  inline | 
Definition at line 305 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 299 of file HypersurfaceSampler.h.
      
  | 
  virtual | 
Sets the hypersurface parameters.
Generates a single event.
| PerformDecays | If set to true, the decays of all particles marked unstable are performed until only stable particles remain. Otherwise only primordial particles are generated and appear in the output | 
Reimplemented from thermalfist::EventGeneratorBase.
Reimplemented in thermalfist::HypersurfaceEventGeneratorEVHRG.
Definition at line 357 of file HypersurfaceSampler.cpp.
      
  | 
  inline | 
Definition at line 296 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 302 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 308 of file HypersurfaceSampler.h.
      
  | 
  protected | 
Processes the volume elements to calculate the multinomial volume element sampling probabilities and the full-space yields.
Definition at line 154 of file HypersurfaceSampler.cpp.
      
  | 
  staticprotected | 
Rescales the hypersurface parameters to match the given energy and baryon density.
Definition at line 389 of file HypersurfaceSampler.cpp.
      
  | 
  inline | 
Definition at line 304 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 298 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 293 of file HypersurfaceSampler.h.
      
  | 
  inline | 
End override.
Definition at line 291 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 295 of file HypersurfaceSampler.h.
      
  | 
  protectedvirtual | 
Sets the hypersurface parameters.
Sets up the random generators of particle momenta and resonances masses
Reimplemented from thermalfist::EventGeneratorBase.
Definition at line 363 of file HypersurfaceSampler.cpp.
      
  | 
  protectedvirtual | 
Sets the hypersurface parameters.
Reimplemented from thermalfist::EventGeneratorBase.
Reimplemented in thermalfist::HypersurfaceEventGeneratorEVHRG.
Definition at line 141 of file HypersurfaceSampler.cpp.
| void thermalfist::HypersurfaceEventGenerator::SetRescaleTmu | ( | bool | rescale = false, | 
| double | edens = 0.26 ) | 
Definition at line 351 of file HypersurfaceSampler.cpp.
      
  | 
  inline | 
Definition at line 301 of file HypersurfaceSampler.h.
      
  | 
  inline | 
Definition at line 307 of file HypersurfaceSampler.h.