| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# 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.

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

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

Standard Destructor.

Definition at line 79 of file RndmGenerators.h.

    00079 { }

## Member Function Documentation

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

Access mean value of the distribution.

Definition at line 81 of file RndmGenerators.h.

    00081 { return m_nDOF; }

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

Identifier for factory.

Definition at line 83 of file RndmGenerators.h.

    00083 { return IID_IRndmChi2; }

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 85 of file RndmGenerators.h.

    00085 { return new Chi2(m_nDOF); }

## 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_v21r10p1/GaudiKernel/GaudiKernel/RndmGenerators.h