![]() |
Thermal-FIST 1.6
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. | |
| ~BreitWignerGenerator () | |
| void | SetParameters (double M, double gamma, double mthr) |
| Set the Breit-Wigner spectral function parameters. | |
| double | GetRandom () const |
| Samples the resonance mass from a relativistic Breit-Wigner distribution with a constant width. | |
Class for generating mass of resonance in accordance with the relativistic Breit-Wigner distribution.
Definition at line 357 of file RandomGenerators.h.
|
inline |
Definition at line 361 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 372 of file RandomGenerators.h.
|
inline |
Definition at line 374 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 443 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 454 of file RandomGenerators.cpp.