| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Member Functions | Static Public Member Functions | Protected Attributes | Friends

# Rndm::Gamma Class Reference

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

`#include <RndmGenerators.h>`

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

List of all members.

## Public Member Functions
| Gamma (double k, double l)
| Standard Constructor.
virtual | ~Gamma ()
| Standard Destructor.
double | kValue () const
| Access K parameter.
double | lambda () const
| Access Lambda parameter.
virtual IRndmGen::Param * | clone () const
| Clone parameters.
## Static Public Member Functions
static const InterfaceID & | typeID ()
| Identifier for factory.
## Protected Attributes
double | m_kValue
| k Value
double | m_lambda
| Lambda parameter.
## Friends
class | Generator< Gamma >

## Detailed Description

Parameters for the Gamma distributed random number generation.

Definition at line 191 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Gamma::Gamma | ( | double | k,
|  | double | l
| ) |  | `[inline]`

Standard Constructor.

Definition at line 200 of file RndmGenerators.h.

        : IRndmGen::Param(IID_IRndmGamma), m_kValue(k), m_lambda(l) { }

virtual Rndm::Gamma::~Gamma | ( | ) | `[inline, virtual]`

Standard Destructor.

Definition at line 203 of file RndmGenerators.h.

    {  }

## Member Function Documentation

virtual IRndmGen::Param* Rndm::Gamma::clone | ( | ) | const`[inline, virtual]`

Clone parameters.

Implements IRndmGen::Param.

Definition at line 211 of file RndmGenerators.h.

                                                {
          return new Gamma(m_kValue, m_lambda);
        }

double Rndm::Gamma::kValue | ( | ) | const`[inline]`

Access K parameter.

Definition at line 205 of file RndmGenerators.h.

    { return m_kValue;              }

double Rndm::Gamma::lambda | ( | ) | const`[inline]`

Access Lambda parameter.

Definition at line 207 of file RndmGenerators.h.

    { return m_lambda;              }

static const InterfaceID& Rndm::Gamma::typeID | ( | ) | `[inline, static]`

Identifier for factory.

Definition at line 209 of file RndmGenerators.h.

    { return IID_IRndmGamma;        }

## Friends And Related Function Documentation

friend class Generator< Gamma >`[friend]`

Definition at line 192 of file RndmGenerators.h.

## Member Data Documentation

double Rndm::Gamma::m_kValue`[protected]`

k Value

Definition at line 195 of file RndmGenerators.h.

double Rndm::Gamma::m_lambda`[protected]`

Lambda parameter.

Definition at line 197 of file RndmGenerators.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiKernel/GaudiKernel/RndmGenerators.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines