Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
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.
 
 ~ThermalEnergyBreitWignerGenerator ()
 
- Public Member Functions inherited from thermalfist::RandomGenerators::ThermalBreitWignerGenerator
 ThermalBreitWignerGenerator ()
 
 ThermalBreitWignerGenerator (ThermalParticle *part, double T, double Mu)
 Construct a new ThermalBreitWignerGenerator object.
 
virtual ~ThermalBreitWignerGenerator ()
 
void SetParameters (ThermalParticle *part, double T, double Mu)
 Sets the parameters of the distribution.
 
double GetRandom () const
 Samples the mass.
 

Protected Member Functions

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

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 479 of file RandomGenerators.h.

Constructor & Destructor Documentation

◆ ThermalEnergyBreitWignerGenerator() [1/2]

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

Definition at line 484 of file RandomGenerators.h.

◆ ThermalEnergyBreitWignerGenerator() [2/2]

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 491 of file RandomGenerators.h.

◆ ~ThermalEnergyBreitWignerGenerator()

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

Definition at line 496 of file RandomGenerators.h.

Member Function Documentation

◆ f()

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

Unnormalized resonance mass probability density.

Reimplemented from thermalfist::RandomGenerators::ThermalBreitWignerGenerator.

Definition at line 540 of file RandomGenerators.cpp.

◆ FixParameters()

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

Computes some auxiliary stuff needed for sampling.

Reimplemented from thermalfist::RandomGenerators::ThermalBreitWignerGenerator.

Definition at line 507 of file RandomGenerators.cpp.


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