The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Rndm::Chi2 Class Reference

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

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/RndmGenerators.h>

Inheritance diagram for Rndm::Chi2:
Collaboration diagram for Rndm::Chi2:

Public Member Functions

 Chi2 (long n_dof)
 Standard Constructor.
 
long nDOF () const
 Access mean value of the distribution.
 
Chi2clone () const override
 Clone parameters.
 
- Public Member Functions inherited from IRndmGen::Param
 Param (const InterfaceID &type=IID_IRndmFlat)
 Standard constructor.
 
virtual ~Param ()=default
 Standard Destructor.
 
virtual const InterfaceIDtype () const
 Parameter's type.
 

Static Public Member Functions

static const InterfaceIDtypeID ()
 Identifier for factory.
 

Protected Attributes

long m_nDOF
 Number of degrees of freedom.
 
- Protected Attributes inherited from IRndmGen::Param
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

◆ Chi2()

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

Standard Constructor.

Definition at line 78 of file RndmGenerators.h.

78: IRndmGen::Param( IID_IRndmChi2 ), m_nDOF( n_dof ) {}
long m_nDOF
Number of degrees of freedom.

Member Function Documentation

◆ clone()

Chi2 * Rndm::Chi2::clone ( ) const
inlineoverridevirtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 84 of file RndmGenerators.h.

84{ return new Chi2( m_nDOF ); }
Chi2(long n_dof)
Standard Constructor.

◆ nDOF()

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

Access mean value of the distribution.

Definition at line 80 of file RndmGenerators.h.

80{ return m_nDOF; }

◆ typeID()

static const InterfaceID & Rndm::Chi2::typeID ( )
inlinestatic

Identifier for factory.

Definition at line 82 of file RndmGenerators.h.

82{ return IID_IRndmChi2; }

Friends And Related Symbol Documentation

◆ Generator< Chi2 >

friend class Generator< Chi2 >
friend

Definition at line 64 of file RndmGenerators.h.

Member Data Documentation

◆ m_nDOF

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: