Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Class for generating mass of resonance in accordance with the relativistic Breit-Wigner distribution. More...
#include <RandomGenerators.h>
Public Member Functions | |
BreitWignerGenerator () | |
BreitWignerGenerator (double M, double gamma, double mthr) | |
Construct a new BreitWignerGenerator object. More... | |
~BreitWignerGenerator () | |
void | SetParameters (double M, double gamma, double mthr) |
Set the Breit-Wigner spectral function parameters. More... | |
double | GetRandom () const |
Samples the resonance mass from a relativistic Breit-Wigner distribution with a constant width. More... | |
Class for generating mass of resonance in accordance with the relativistic Breit-Wigner distribution.
Definition at line 347 of file RandomGenerators.h.
|
inline |
Definition at line 351 of file RandomGenerators.h.
|
inline |
Construct a new BreitWignerGenerator object.
Currently not used.
M | Pole mass of the resonance (in GeV) |
gamma | Width of the resonance (in GeV) |
mthr | The threshold mass of the resonance (in GeV) |
Definition at line 362 of file RandomGenerators.h.
|
inline |
Definition at line 364 of file RandomGenerators.h.
double thermalfist::RandomGenerators::BreitWignerGenerator::GetRandom | ( | ) | const |
Samples the resonance mass from a relativistic Breit-Wigner distribution with a constant width.
Definition at line 394 of file RandomGenerators.cpp.
void thermalfist::RandomGenerators::BreitWignerGenerator::SetParameters | ( | double | M, |
double | gamma, | ||
double | mthr | ||
) |
Set the Breit-Wigner spectral function parameters.
M | Pole mass of the resonance (in GeV) |
gamma | Width of the resonance (in GeV) |
mthr | The threshold mass of the resonance (in GeV) |
Definition at line 405 of file RandomGenerators.cpp.