| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

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

# Rndm::Gauss Class Reference

Parameters for the Gauss random number generation. More...

`#include <RndmGenerators.h>`

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

List of all members.

## Public Member Functions
| Gauss (double m, double s)
| Standard Constructor.
virtual | ~Gauss ()
| 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.
## Static Public Member Functions
static const InterfaceID & | typeID ()
| Identifier for factory.
## Protected Attributes
double | m_mean
| Mean of the Gauss distribution.
double | m_sigma
| Sigma of the Gauss distribution.
## Friends
class | Generator< Gauss >
| Generator is the friend.

## Detailed Description

Parameters for the Gauss random number generation.

Definition at line 22 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Gauss::Gauss | ( | double | m,
|  | double | s
| ) |  | `[inline]`

Standard Constructor.

Definition at line 32 of file RndmGenerators.h.

        : IRndmGen::Param(IID_IRndmGauss), m_mean(m), m_sigma(s)  { }

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

Standard Destructor.

Definition at line 35 of file RndmGenerators.h.

    {  }

## Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 43 of file RndmGenerators.h.

                                             {
          return new Gauss(m_mean, m_sigma);
        }

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

Access mean value of the distribution.

Definition at line 37 of file RndmGenerators.h.

    {   return m_mean; }

double Rndm::Gauss::sigma | ( | ) | const`[inline]`

Access width of the distribution.

Definition at line 39 of file RndmGenerators.h.

    {   return m_sigma; }

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

Identifier for factory.

Definition at line 41 of file RndmGenerators.h.

    {   return IID_IRndmGauss; }

## Friends And Related Function Documentation

friend class Generator< Gauss >`[friend]`

Generator is the friend.

Definition at line 25 of file RndmGenerators.h.

## Member Data Documentation

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

Mean of the Gauss distribution.

Definition at line 27 of file RndmGenerators.h.

double Rndm::Gauss::m_sigma`[protected]`

Sigma of the Gauss distribution.

Definition at line 29 of file RndmGenerators.h.

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

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

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