| The Gaudi Framework v32r1 (f65d50dc)

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

Parameters for the flat random number generation within boundaries [minimum, maximum]. More...

`#include <GaudiKernel/RndmGenerators.h>`

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

## Public Member Functions
| Flat (double mi, double ma)
| Standard Constructor. More...
double | minimum () const
| Access lower edge. More...
double | maximum () const
| Access upper edge. More...
Flat * | 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_minimum
| Lower boundary for random numbers. More...
double | m_maximum
| Upper boundary for random numbers. More...
Protected Attributes inherited from IRndmGen::Param
const InterfaceID | m_type
| Type of the generator. More...

## Detailed Description

Parameters for the flat random number generation within boundaries [minimum, maximum].

Definition at line 243 of file RndmGenerators.h.

## Constructor & Destructor Documentation

## ◆ Flat()

Rndm::Flat::Flat | ( | double | mi,
|  | double | ma
| ) |  |
| inline

Standard Constructor.

Definition at line 252 of file RndmGenerators.h.

252 : IRndmGen::Param( IID_IRndmFlat ), m_minimum( mi ), m_maximum( ma ) {}
Rndm::Flat::m_minimum
double m_minimum
Lower boundary for random numbers.
Definition: RndmGenerators.h:246
IRndmGen::Param
Definition: IRndmGen.h:39
Rndm::Flat::m_maximum
double m_maximum
Upper boundary for random numbers.
Definition: RndmGenerators.h:248

## Member Function Documentation

## ◆ clone()

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 260 of file RndmGenerators.h.

260 { return new Flat( m_minimum, m_maximum ); }
Rndm::Flat::m_minimum
double m_minimum
Lower boundary for random numbers.
Definition: RndmGenerators.h:246
Rndm::Flat::Flat
Flat(double mi, double ma)
Standard Constructor.
Definition: RndmGenerators.h:252
Rndm::Flat::m_maximum
double m_maximum
Upper boundary for random numbers.
Definition: RndmGenerators.h:248

## ◆ maximum()

double Rndm::Flat::maximum | ( |  | ) | const
| inline

Access upper edge.

Definition at line 256 of file RndmGenerators.h.

256 { return m_maximum; }
Rndm::Flat::m_maximum
double m_maximum
Upper boundary for random numbers.
Definition: RndmGenerators.h:248

## ◆ minimum()

double Rndm::Flat::minimum | ( |  | ) | const
| inline

Access lower edge.

Definition at line 254 of file RndmGenerators.h.

254 { return m_minimum; }
Rndm::Flat::m_minimum
double m_minimum
Lower boundary for random numbers.
Definition: RndmGenerators.h:246

## ◆ typeID()

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

Identifier for factory.

Definition at line 258 of file RndmGenerators.h.

258 { return IID_IRndmFlat; }

## Member Data Documentation

## ◆ m_maximum

double Rndm::Flat::m_maximum
| protected

Upper boundary for random numbers.

Definition at line 248 of file RndmGenerators.h.

## ◆ m_minimum

double Rndm::Flat::m_minimum
| protected

Lower boundary for random numbers.

Definition at line 246 of file RndmGenerators.h.

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

- GaudiKernel/GaudiKernel/RndmGenerators.h