| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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::Paramclone () const
 Clone parameters.
virtual const InterfaceIDtype () const
 Parameter's type.

Static Public Member Functions

static const InterfaceIDtypeID ()
 Identifier for factory.

Protected Attributes

long m_nDOF
 Number of degress of freedom.
const InterfaceID m_type
 Type of the generator.

Friends

class Generator< Chi2 >

Detailed Description

Parameters for the Chi2 distributed random number generation.

Definition at line 69 of file RndmGenerators.h.


Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 76 of file RndmGenerators.h.

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

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

Standard Destructor.

Definition at line 78 of file RndmGenerators.h.

00078 { }


Member Function Documentation

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

Access mean value of the distribution.

Definition at line 80 of file RndmGenerators.h.

00080 { return m_nDOF; }

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

Identifier for factory.

Definition at line 82 of file RndmGenerators.h.

00082 { return IID_IRndmChi2; }

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 84 of file RndmGenerators.h.

00084 { return new Chi2(m_nDOF); }

virtual const InterfaceID& IRndmGen::Param::type (  )  const [inline, virtual, inherited]

Parameter's type.

Definition at line 52 of file IRndmGen.h.

00052                                               {
00053       return m_type;
00054     }


Friends And Related Function Documentation

friend class Generator< Chi2 > [friend]

Definition at line 70 of file RndmGenerators.h.


Member Data Documentation

long Rndm::Chi2::m_nDOF [protected]

Number of degress of freedom.

Definition at line 73 of file RndmGenerators.h.

const InterfaceID IRndmGen::Param::m_type [protected, inherited]

Type of the generator.

Definition at line 43 of file IRndmGen.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:20 2011 for GaudiKernel by doxygen 1.4.7