The Gaudi Framework  v30r3 (a5ef0a68)
Rndm::Exponential Class Reference

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

#include <GaudiKernel/RndmGenerators.h>

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

Public Member Functions

 Exponential (double m)
 Standard Constructor. More...
 
double mean () const
 Access mean value of the distribution. More...
 
Exponentialclone () const override
 Clone parameters. More...
 
- Public Member Functions inherited from IRndmGen::Param
 Param (const InterfaceID &type=IID_IRndmFlat)
 Standard constructor. More...
 
virtual ~Param ()=default
 Standard Destructor. More...
 
virtual const InterfaceIDtype () const
 Parameter's type. More...
 

Static Public Member Functions

static const InterfaceIDtypeID ()
 Identifier for factory. More...
 

Protected Attributes

double m_mean
 Mean value of the exponential distribution. More...
 
- Protected Attributes inherited from IRndmGen::Param
const InterfaceID m_type
 Type of the generator. More...
 

Detailed Description

Parameters for the Gauss random number generation.

Definition at line 48 of file RndmGenerators.h.

Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 56 of file RndmGenerators.h.

56 : IRndmGen::Param( IID_IRndmExponential ), m_mean( m ) {}
double m_mean
Mean value of the exponential distribution.
constexpr double m
Definition: SystemOfUnits.h:94

Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 62 of file RndmGenerators.h.

62 { return new Exponential( m_mean ); }
double m_mean
Mean value of the exponential distribution.
Exponential(double m)
Standard Constructor.
double Rndm::Exponential::mean ( ) const
inline

Access mean value of the distribution.

Definition at line 58 of file RndmGenerators.h.

58 { return m_mean; }
double m_mean
Mean value of the exponential distribution.
static const InterfaceID& Rndm::Exponential::typeID ( )
inlinestatic

Identifier for factory.

Definition at line 60 of file RndmGenerators.h.

60 { return IID_IRndmExponential; }

Member Data Documentation

double Rndm::Exponential::m_mean
protected

Mean value of the exponential distribution.

Definition at line 52 of file RndmGenerators.h.


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