Thermal-FIST  1.3
Package for hadron resonance gas model applications
Public Member Functions | Protected Member Functions | List of all members
thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator Class Reference

Class for generating mass of resonance in accordance with the energy-dependent Breit-Wigner distribution multiplied by the thermal density. More...

#include <RandomGenerators.h>

Inheritance diagram for thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator:
thermalfist::RandomGenerators::ThermalBreitWignerGenerator

Public Member Functions

 ThermalEnergyBreitWignerGenerator ()
 
 ThermalEnergyBreitWignerGenerator (ThermalParticle *part, double T, double Mu)
 Construct a new ThermalEnergyBreitWignerGenerator object. More...
 
 ~ThermalEnergyBreitWignerGenerator ()
 
- Public Member Functions inherited from thermalfist::RandomGenerators::ThermalBreitWignerGenerator
 ThermalBreitWignerGenerator ()
 
 ThermalBreitWignerGenerator (ThermalParticle *part, double T, double Mu)
 Construct a new ThermalBreitWignerGenerator object. More...
 
virtual ~ThermalBreitWignerGenerator ()
 
void SetParameters (ThermalParticle *part, double T, double Mu)
 Sets the parameters of the distribution. More...
 
double GetRandom () const
 Samples the mass. More...
 

Protected Member Functions

virtual void FixParameters ()
 Computes some auxiliary stuff needed for sampling. More...
 
virtual double f (double M) const
 Unnormalized resonance mass probability density. More...
 

Additional Inherited Members

- Protected Attributes inherited from thermalfist::RandomGenerators::ThermalBreitWignerGenerator
ThermalParticlem_part
 
double m_T
 
double m_Mu
 
double m_Xmin
 
double m_Xmax
 
double m_Max
 

Detailed Description

Class for generating mass of resonance in accordance with the energy-dependent Breit-Wigner distribution multiplied by the thermal density.

Sample the mass from the distribution

\[ \rho(M) \sim \rho_{\rm eBW} (M) \, n_{\rm th}^{\rm id} (T,\mu;M)~. \]

Definition at line 470 of file RandomGenerators.h.

Constructor & Destructor Documentation

thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator::ThermalEnergyBreitWignerGenerator ( )
inline

Definition at line 475 of file RandomGenerators.h.

thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator::ThermalEnergyBreitWignerGenerator ( ThermalParticle part,
double  T,
double  Mu 
)
inline

Construct a new ThermalEnergyBreitWignerGenerator object.

Parameters
partA pointer to the ThermalParticle object representing the species sampled.
TTempeature (in GeV)
MuChemical potential of the sampled particle (in GeV)

Definition at line 482 of file RandomGenerators.h.

thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator::~ThermalEnergyBreitWignerGenerator ( )
inline

Definition at line 487 of file RandomGenerators.h.

Member Function Documentation

double thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator::f ( double  M) const
protectedvirtual

Unnormalized resonance mass probability density.

Reimplemented from thermalfist::RandomGenerators::ThermalBreitWignerGenerator.

Definition at line 493 of file RandomGenerators.cpp.

void thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator::FixParameters ( )
protectedvirtual

Computes some auxiliary stuff needed for sampling.

Reimplemented from thermalfist::RandomGenerators::ThermalBreitWignerGenerator.

Definition at line 460 of file RandomGenerators.cpp.


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