| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

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

# Rndm::Chi2 Class Reference

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

`#include <RndmGenerators.h>`

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

List of all members.

## Public Member Functions
| Chi2 (long n_dof)
| Standard Constructor.
virtual | ~Chi2 ()
| Standard Destructor.
long | nDOF () 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
long | m_nDOF
| Number of degrees of freedom.
## Friends
class | Generator< Chi2 >

## Detailed Description

Parameters for the Chi2 distributed random number generation.

Definition at line 70 of file RndmGenerators.h.

## Constructor & Destructor Documentation

Rndm::Chi2::Chi2 | ( | long | n_dof ) | `[inline]`

Standard Constructor.

Definition at line 77 of file RndmGenerators.h.

    : IRndmGen::Param(IID_IRndmChi2), m_nDOF(n_dof) { }

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

Standard Destructor.

Definition at line 79 of file RndmGenerators.h.

    { }

## Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 85 of file RndmGenerators.h.

    { return new Chi2(m_nDOF); }

long Rndm::Chi2::nDOF | ( | ) | const`[inline]`

Access mean value of the distribution.

Definition at line 81 of file RndmGenerators.h.

    { return m_nDOF; }

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

Identifier for factory.

Definition at line 83 of file RndmGenerators.h.

    { return IID_IRndmChi2; }

## Friends And Related Function Documentation

friend class Generator< Chi2 >`[friend]`

Definition at line 71 of file RndmGenerators.h.

## Member Data Documentation

long Rndm::Chi2::m_nDOF`[protected]`

Number of degrees of freedom.

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