| The Gaudi Framework v30r0 (c919700c)

- 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::Poisson Class Reference

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

`#include <GaudiKernel/RndmGenerators.h>`

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

## Public Member Functions
| Poisson (double m)
| Standard Constructor. More...
| ~Poisson () override=default
| Standard Destructor. More...
double | mean () const
| Access mean value of the distribution. More...
Poisson * | 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_mean
| Mean value of the Poisson distribution. More...
Protected Attributes inherited from IRndmGen::Param
const InterfaceID | m_type
| Type of the generator. More...

## Friends
class | Generator< Poisson >

## Detailed Description

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

Definition at line 226 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Poisson::Poisson | ( | double | m | ) |
| inline

Standard Constructor.

Definition at line 236 of file RndmGenerators.h.

236 : IRndmGen::Param( IID_IRndmPoisson ), m_mean( m ) {}
Rndm::Poisson::m_mean
double m_mean
Mean value of the Poisson distribution.
Definition: RndmGenerators.h:232
IRndmGen::Param
Definition: IRndmGen.h:40
Gaudi::Units::m
constexpr double m
Definition: SystemOfUnits.h:94

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

Standard Destructor.

## Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 244 of file RndmGenerators.h.

244 { return new Poisson( m_mean ); }
Rndm::Poisson::m_mean
double m_mean
Mean value of the Poisson distribution.
Definition: RndmGenerators.h:232
Rndm::Poisson::Poisson
Poisson(double m)
Standard Constructor.
Definition: RndmGenerators.h:236

double Rndm::Poisson::mean | ( |  | ) | const
| inline

Access mean value of the distribution.

Definition at line 240 of file RndmGenerators.h.

240 { return m_mean; }
Rndm::Poisson::m_mean
double m_mean
Mean value of the Poisson distribution.
Definition: RndmGenerators.h:232

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

Identifier for factory.

Definition at line 242 of file RndmGenerators.h.

242 { return IID_IRndmPoisson; }

## Friends And Related Function Documentation

friend class Generator< Poisson >
| friend

Definition at line 228 of file RndmGenerators.h.

## Member Data Documentation

double Rndm::Poisson::m_mean
| protected

Mean value of the Poisson distribution.

Definition at line 232 of file RndmGenerators.h.

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

- GaudiKernel/GaudiKernel/RndmGenerators.h