#include <RndmGenerators.h>
Inheritance diagram for Rndm::Landau:
Public Member Functions | |
Landau (double m, double s) | |
Standard Constructor. | |
virtual | ~Landau () |
Standard Destructor. | |
double | mean () const |
Access mean value of the distribution. | |
double | sigma () 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_sigma |
const InterfaceID | m_type |
Type of the generator. | |
Friends | |
class | Generator< Landau > |
Definition at line 114 of file RndmGenerators.h.
Rndm::Landau::Landau | ( | double | m, | |
double | s | |||
) | [inline] |
Standard Constructor.
Definition at line 121 of file RndmGenerators.h.
00122 : IRndmGen::Param(IID_IRndmLandau), m_mean(m), m_sigma(s) { }
virtual Rndm::Landau::~Landau | ( | ) | [inline, virtual] |
double Rndm::Landau::mean | ( | ) | const [inline] |
Access mean value of the distribution.
Definition at line 126 of file RndmGenerators.h.
00126 { return m_mean; }
double Rndm::Landau::sigma | ( | ) | const [inline] |
Access width of the distribution.
Definition at line 128 of file RndmGenerators.h.
00128 { return m_sigma; }
static const InterfaceID& Rndm::Landau::typeID | ( | ) | [inline, static] |
Identifier for factory.
Definition at line 130 of file RndmGenerators.h.
00130 { return IID_IRndmLandau; }
virtual IRndmGen::Param* Rndm::Landau::clone | ( | ) | const [inline, virtual] |
virtual const InterfaceID& IRndmGen::Param::type | ( | ) | const [inline, virtual, inherited] |
friend class Generator< Landau > [friend] |
Definition at line 115 of file RndmGenerators.h.
double Rndm::Landau::m_mean [protected] |
Mean and Gamma parameter of the Breit-Wigner distribution.
Definition at line 118 of file RndmGenerators.h.
double Rndm::Landau::m_sigma [protected] |
Definition at line 118 of file RndmGenerators.h.
const InterfaceID IRndmGen::Param::m_type [protected, inherited] |