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

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

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

Inheritance diagram for Rndm::Gamma:
Collaboration diagram for Rndm::Gamma:

Public Member Functions

 Gamma (double k, double l)
 Standard Constructor.
 
double kValue () const
 Access K parameter.
 
double lambda () const
 Access Lambda parameter.
 
Gammaclone () 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

double m_kValue
 k Value
 
double m_lambda
 Lambda parameter.
 
- Protected Attributes inherited from IRndmGen::Param
const InterfaceID m_type
 Type of the generator.
 

Friends

class Generator< Gamma >
 

Detailed Description

Parameters for the Gamma distributed random number generation.

Definition at line 179 of file RndmGenerators.h.

Constructor & Destructor Documentation

◆ Gamma()

Rndm::Gamma::Gamma ( double k,
double l )
inline

Standard Constructor.

Definition at line 190 of file RndmGenerators.h.

190: IRndmGen::Param( IID_IRndmGamma ), m_kValue( k ), m_lambda( l ) {}
double m_lambda
Lambda parameter.
double m_kValue
k Value

Member Function Documentation

◆ clone()

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 198 of file RndmGenerators.h.

198{ return new Gamma( m_kValue, m_lambda ); }
Gamma(double k, double l)
Standard Constructor.

◆ kValue()

double Rndm::Gamma::kValue ( ) const
inline

Access K parameter.

Definition at line 192 of file RndmGenerators.h.

192{ return m_kValue; }

◆ lambda()

double Rndm::Gamma::lambda ( ) const
inline

Access Lambda parameter.

Definition at line 194 of file RndmGenerators.h.

194{ return m_lambda; }

◆ typeID()

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

Identifier for factory.

Definition at line 196 of file RndmGenerators.h.

196{ return IID_IRndmGamma; }

Friends And Related Symbol Documentation

◆ Generator< Gamma >

friend class Generator< Gamma >
friend

Definition at line 174 of file RndmGenerators.h.

Member Data Documentation

◆ m_kValue

double Rndm::Gamma::m_kValue
protected

k Value

Definition at line 184 of file RndmGenerators.h.

◆ m_lambda

double Rndm::Gamma::m_lambda
protected

Lambda parameter.

Definition at line 186 of file RndmGenerators.h.


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