All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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...
 
virtual ~Exponential ()
 Standard Destructor. More...
 
double mean () const
 Access mean value of the distribution. More...
 
virtual IRndmGen::Paramclone () const
 Clone parameters. More...
 
- Public Member Functions inherited from IRndmGen::Param
 Param (const InterfaceID &type=IID_IRndmFlat)
 Standard constructor. More...
 
virtual ~Param ()
 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 50 of file RndmGenerators.h.

Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 56 of file RndmGenerators.h.

57  : IRndmGen::Param(IID_IRndmExponential), m_mean(m) { }
double m_mean
Mean value of the exponential distribution.
virtual Rndm::Exponential::~Exponential ( )
inlinevirtual

Standard Destructor.

Definition at line 59 of file RndmGenerators.h.

59 { }

Member Function Documentation

virtual IRndmGen::Param* Rndm::Exponential::clone ( ) const
inlinevirtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 65 of file RndmGenerators.h.

65 { 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 61 of file RndmGenerators.h.

61 { 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 63 of file RndmGenerators.h.

63 { return IID_IRndmExponential; }

Member Data Documentation

double Rndm::Exponential::m_mean
protected

Mean value of the exponential distribution.

Definition at line 53 of file RndmGenerators.h.


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