| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Rndm::Exponential Class Reference

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

`#include <GaudiKernel/RndmGenerators.h>`

Inheritance diagram for Rndm::Exponential:
[legend]
Collaboration diagram for Rndm::Exponential:
[legend]

## Public Member Functions
| Exponential (double m)
| Standard Constructor. More...
double | mean () const
| Access mean value of the distribution. More...
Exponential * | clone () 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 InterfaceID & | type () const
| Parameter's type. More...

## Static Public Member Functions
static const InterfaceID & | typeID ()
| 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 46 of file RndmGenerators.h.

## Constructor & Destructor Documentation

## ◆ Exponential()

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

Standard Constructor.

Definition at line 53 of file RndmGenerators.h.

53 : IRndmGen::Param( IID_IRndmExponential ), m_mean( m ) {}
Rndm::Exponential::m_mean
double m_mean
Mean value of the exponential distribution.
Definition: RndmGenerators.h:49
IRndmGen::Param
Definition: IRndmGen.h:39
Gaudi::Units::m
constexpr double m
Definition: SystemOfUnits.h:92

## Member Function Documentation

## ◆ clone()

Exponential* Rndm::Exponential::clone | ( |  | ) | const
| inline override virtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 59 of file RndmGenerators.h.

59 { return new Exponential( m_mean ); }
Rndm::Exponential::m_mean
double m_mean
Mean value of the exponential distribution.
Definition: RndmGenerators.h:49
Rndm::Exponential::Exponential
Exponential(double m)
Standard Constructor.
Definition: RndmGenerators.h:53

## ◆ mean()

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

Access mean value of the distribution.

Definition at line 55 of file RndmGenerators.h.

55 { return m_mean; }
Rndm::Exponential::m_mean
double m_mean
Mean value of the exponential distribution.
Definition: RndmGenerators.h:49

## ◆ typeID()

static const InterfaceID& Rndm::Exponential::typeID | ( |  | ) |
| inline static

Identifier for factory.

Definition at line 57 of file RndmGenerators.h.

57 { return IID_IRndmExponential; }

## Member Data Documentation

## ◆ m_mean

double Rndm::Exponential::m_mean
| protected

Mean value of the exponential distribution.

Definition at line 49 of file RndmGenerators.h.

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

- GaudiKernel/GaudiKernel/RndmGenerators.h