| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
Rndm::Gamma Class Reference

Parameters for the Gamma distributed random number generation. More...

`#include <GaudiKernel/RndmGenerators.h>`

Inheritance diagram for Rndm::Gamma:
[legend]
Collaboration diagram for Rndm::Gamma:
[legend]

## Public Member Functions
| Gamma (double k, double l)
| Standard Constructor. More...
| ~Gamma () override=default
| Standard Destructor. More...
double | kValue () const
| Access K parameter. More...
double | lambda () const
| Access Lambda parameter. More...
Gamma * | clone () const override
| Clone parameters. More...
Public Member Functions inherited from IRndmGen::Param
| Param (const InterfaceID &type=IID_IRndmFlat)
| Standard constructor. More...
virtual | ~Param ()=default
| Standard Destructor. More...
virtual const InterfaceID & | type () const
| Parameter's type. More...

## Static Public Member Functions
static const InterfaceID & | typeID ()
| Identifier for factory. More...

## Protected Attributes
double | m_kValue
| k Value More...
double | m_lambda
| Lambda parameter. More...
Protected Attributes inherited from IRndmGen::Param
const InterfaceID | m_type
| Type of the generator. More...

## Friends
class | Generator< Gamma >

## Detailed Description

Parameters for the Gamma distributed random number generation.

Definition at line 182 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Gamma::Gamma | ( | double | k,
|  | double | l
| ) |  |
| inline

Standard Constructor.

Definition at line 191 of file RndmGenerators.h.

192 : IRndmGen::Param(IID_IRndmGamma), m_kValue(k), m_lambda(l) { }
Rndm::Gamma::m_kValue
double m_kValue
k Value
Definition: RndmGenerators.h:186
IRndmGen::Param
Definition: IRndmGen.h:40
Rndm::Gamma::m_lambda
double m_lambda
Lambda parameter.
Definition: RndmGenerators.h:188
gaudirun.l
dictionary l
Definition: gaudirun.py:421

Rndm::Gamma::~Gamma | ( |  | ) |
| override default

Standard Destructor.

## Member Function Documentation

Gamma* Rndm::Gamma::clone | ( |  | ) | const
| inline override virtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 202 of file RndmGenerators.h.

202 { return new Gamma(m_kValue, m_lambda); }
Rndm::Gamma::m_kValue
double m_kValue
k Value
Definition: RndmGenerators.h:186
Rndm::Gamma::m_lambda
double m_lambda
Lambda parameter.
Definition: RndmGenerators.h:188
Rndm::Gamma::Gamma
Gamma(double k, double l)
Standard Constructor.
Definition: RndmGenerators.h:191

double Rndm::Gamma::kValue | ( |  | ) | const
| inline

Access K parameter.

Definition at line 196 of file RndmGenerators.h.

196 { return m_kValue; }
Rndm::Gamma::m_kValue
double m_kValue
k Value
Definition: RndmGenerators.h:186

double Rndm::Gamma::lambda | ( |  | ) | const
| inline

Access Lambda parameter.

Definition at line 198 of file RndmGenerators.h.

198 { return m_lambda; }
Rndm::Gamma::m_lambda
double m_lambda
Lambda parameter.
Definition: RndmGenerators.h:188

static const InterfaceID& Rndm::Gamma::typeID | ( |  | ) |
| inline static

Identifier for factory.

Definition at line 200 of file RndmGenerators.h.

200 { return IID_IRndmGamma; }

## Friends And Related Function Documentation

friend class Generator< Gamma >
| friend

Definition at line 183 of file RndmGenerators.h.

## Member Data Documentation

double Rndm::Gamma::m_kValue
| protected

k Value

Definition at line 186 of file RndmGenerators.h.

double Rndm::Gamma::m_lambda
| protected

Lambda parameter.

Definition at line 188 of file RndmGenerators.h.

The documentation for this class was generated from the following file:

- GaudiKernel/GaudiKernel/RndmGenerators.h