#include <RndmGenerators.h>
Inheritance diagram for Rndm::BreitWigner:
Public Member Functions | |
| BreitWigner (double m, double g) | |
| Standard Constructor. | |
| virtual | ~BreitWigner () |
| Standard Destructor. | |
| double | mean () const |
| Access mean value of the distribution. | |
| double | gamma () const |
| Access width of the distribution. | |
| virtual IRndmGen::Param * | clone () const |
| Clone parameters. | |
| virtual const InterfaceID & | type () const |
| Parameter's type. | |
Static Public Member Functions | |
| static const InterfaceID & | typeID () |
| Identifier for factory. | |
Protected Attributes | |
| double | m_mean |
| Mean and Gamma parameter of the Breit-Wigner distribution. | |
| double | m_gamma |
| const InterfaceID | m_type |
| Type of the generator. | |
Friends | |
| class | Generator< BreitWigner > |
Definition at line 89 of file RndmGenerators.h.
| Rndm::BreitWigner::BreitWigner | ( | double | m, | |
| double | g | |||
| ) | [inline] |
Standard Constructor.
Definition at line 96 of file RndmGenerators.h.
00097 : IRndmGen::Param(IID_IRndmBreitWigner), m_mean(m), m_gamma(g) { }
| virtual Rndm::BreitWigner::~BreitWigner | ( | ) | [inline, virtual] |
| double Rndm::BreitWigner::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 101 of file RndmGenerators.h.
00101 { return m_mean; }
| double Rndm::BreitWigner::gamma | ( | ) | const [inline] |
Access width of the distribution.
Definition at line 103 of file RndmGenerators.h.
00103 { return m_gamma; }
| static const InterfaceID& Rndm::BreitWigner::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 105 of file RndmGenerators.h.
00105 { return IID_IRndmBreitWigner; }
| virtual IRndmGen::Param* Rndm::BreitWigner::clone | ( | ) | const [inline, virtual] |
Clone parameters.
Implements IRndmGen::Param.
Definition at line 107 of file RndmGenerators.h.
00107 { 00108 return new BreitWigner(m_mean, m_gamma); 00109 }
| virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
friend class Generator< BreitWigner > [friend] |
Definition at line 90 of file RndmGenerators.h.
double Rndm::BreitWigner::m_mean [protected] |
Mean and Gamma parameter of the Breit-Wigner distribution.
Definition at line 93 of file RndmGenerators.h.
double Rndm::BreitWigner::m_gamma [protected] |
Definition at line 93 of file RndmGenerators.h.
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |
1.4.7