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

Parameters for the Gauss random number generation. More...

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

Inheritance diagram for Rndm::Exponential:
Collaboration diagram for Rndm::Exponential:

Public Member Functions

 Exponential (double m)
 Standard Constructor.
 
double mean () const
 Access mean value of the distribution.
 
Exponentialclone () 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_mean
 Mean value of the exponential distribution.
 
- Protected Attributes inherited from IRndmGen::Param
const InterfaceID m_type
 Type of the generator.
 

Detailed Description

Parameters for the Gauss random number generation.

Definition at line 51 of file RndmGenerators.h.

Constructor & Destructor Documentation

◆ Exponential()

Rndm::Exponential::Exponential ( double m)
inline

Standard Constructor.

Definition at line 58 of file RndmGenerators.h.

58: IRndmGen::Param( IID_IRndmExponential ), m_mean( m ) {}
double m_mean
Mean value of the exponential distribution.

Member Function Documentation

◆ clone()

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 64 of file RndmGenerators.h.

64{ return new Exponential( m_mean ); }
Exponential(double m)
Standard Constructor.

◆ mean()

double Rndm::Exponential::mean ( ) const
inline

Access mean value of the distribution.

Definition at line 60 of file RndmGenerators.h.

60{ return m_mean; }

◆ typeID()

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

Identifier for factory.

Definition at line 62 of file RndmGenerators.h.

62{ return IID_IRndmExponential; }

Member Data Documentation

◆ m_mean

double Rndm::Exponential::m_mean
protected

Mean value of the exponential distribution.

Definition at line 54 of file RndmGenerators.h.


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