![]() |
Thermal-FIST 1.5
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. | |
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. | |
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 420 of file RandomGenerators.h.
|
inline |
Definition at line 423 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 433 of file RandomGenerators.h.
|
inlinevirtual |
Definition at line 435 of file RandomGenerators.h.
|
protectedvirtual |
Unnormalized resonance mass probability density.
Reimplemented in thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator.
Definition at line 490 of file RandomGenerators.cpp.
|
protectedvirtual |
Computes some auxiliary stuff needed for sampling.
Reimplemented in thermalfist::RandomGenerators::ThermalEnergyBreitWignerGenerator.
Definition at line 467 of file RandomGenerators.cpp.
double thermalfist::RandomGenerators::ThermalBreitWignerGenerator::GetRandom | ( | ) | const |
Samples the mass.
Definition at line 495 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 459 of file RandomGenerators.cpp.
|
protected |
Definition at line 464 of file RandomGenerators.h.
|
protected |
Definition at line 462 of file RandomGenerators.h.
|
protected |
Definition at line 461 of file RandomGenerators.h.
|
protected |
Definition at line 462 of file RandomGenerators.h.
|
protected |
Definition at line 463 of file RandomGenerators.h.
|
protected |
Definition at line 463 of file RandomGenerators.h.