| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

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

# Rndm::Poisson Class Reference

Parameters for the Poisson distributed random number generation with a given mean. More...

`#include <RndmGenerators.h>`

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

List of all members.

## Public Member Functions
| Poisson (double m)
| Standard Constructor.
virtual | ~Poisson ()
| Standard Destructor.
double | mean () const
| Access mean value of the distribution.
virtual IRndmGen::Param * | clone () const
| Clone parameters.
## Static Public Member Functions
static const InterfaceID & | typeID ()
| Identifier for factory.
## Protected Attributes
double | m_mean
| Mean value of the Poisson distribution.
## Friends
class | Generator< Poisson >

## Detailed Description

Parameters for the Poisson distributed random number generation with a given mean.

Definition at line 219 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Poisson::Poisson | ( | double | m ) | `[inline]`

Standard Constructor.

Definition at line 226 of file RndmGenerators.h.

    : IRndmGen::Param(IID_IRndmPoisson), m_mean(m) { }

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

Standard Destructor.

Definition at line 228 of file RndmGenerators.h.

    {  }

## Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 234 of file RndmGenerators.h.

    { return new Poisson(m_mean);   }

double Rndm::Poisson::mean | ( | ) | const`[inline]`

Access mean value of the distribution.

Definition at line 230 of file RndmGenerators.h.

    { return m_mean;                }

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

Identifier for factory.

Definition at line 232 of file RndmGenerators.h.

    { return IID_IRndmPoisson;      }

## Friends And Related Function Documentation

friend class Generator< Poisson >`[friend]`

Definition at line 220 of file RndmGenerators.h.

## Member Data Documentation

double Rndm::Poisson::m_mean`[protected]`

Mean value of the Poisson distribution.

Definition at line 223 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