Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Class for generating mass of resonance in accordance with the constant width Breit-Wigner distribution multiplied by the thermal density. More...
#include <RandomGenerators.h>
Public Member Functions | |
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... | |
Protected Attributes | |
ThermalParticle * | m_part |
double | m_T |
double | m_Mu |
double | m_Xmin |
double | m_Xmax |
double | m_Max |
Class for generating mass of resonance in accordance with the constant width Breit-Wigner distribution multiplied by the thermal density.
Sample the mass from the distribution
\[ \rho(M) \sim \rho_{\rm BW} (M) \, n_{\rm th}^{\rm id} (T,\mu;M)~. \]
Definition at line 411 of file RandomGenerators.h.
|
inline |
Definition at line 414 of file RandomGenerators.h.
|
inline |
Construct a new ThermalBreitWignerGenerator object.
part | A pointer to the ThermalParticle object representing the species sampled. |
T | Tempeature (in GeV) |
Mu | Chemical potential of the sampled particle (in GeV) |
Definition at line 424 of file RandomGenerators.h.
|
inlinevirtual |
Definition at line 426 of file RandomGenerators.h.
|
protectedvirtual |
Unnormalized resonance mass probability density.
Reimplemented in thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator.
Definition at line 443 of file RandomGenerators.cpp.
|
protectedvirtual |
Computes some auxiliary stuff needed for sampling.
Reimplemented in thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator.
Definition at line 420 of file RandomGenerators.cpp.
double thermalfist::RandomGenerators::ThermalBreitWignerGenerator::GetRandom | ( | ) | const |
Samples the mass.
Definition at line 448 of file RandomGenerators.cpp.
void thermalfist::RandomGenerators::ThermalBreitWignerGenerator::SetParameters | ( | ThermalParticle * | part, |
double | T, | ||
double | Mu | ||
) |
Sets the parameters of the distribution.
part | A pointer to the ThermalParticle object representing the species sampled. |
T | Tempeature (in GeV) |
Mu | Chemical potential of the sampled particle (in GeV) |
Definition at line 412 of file RandomGenerators.cpp.
|
protected |
Definition at line 455 of file RandomGenerators.h.
|
protected |
Definition at line 453 of file RandomGenerators.h.
|
protected |
Definition at line 452 of file RandomGenerators.h.
|
protected |
Definition at line 453 of file RandomGenerators.h.
|
protected |
Definition at line 454 of file RandomGenerators.h.
|
protected |
Definition at line 454 of file RandomGenerators.h.