| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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...
| ~Flat () override=default
| Standard Destructor. 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 254 of file RndmGenerators.h.

## Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 262 of file RndmGenerators.h.

263 : 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:257
IRndmGen::Param
Definition: IRndmGen.h:40
Rndm::Flat::m_maximum
double m_maximum
Upper boundary for random numbers.
Definition: RndmGenerators.h:259

Rndm::Flat::~Flat | ( |  | ) |
| override default

Standard Destructor.

## Member Function Documentation

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 273 of file RndmGenerators.h.

273 { return new Flat(m_minimum, m_maximum); }
Rndm::Flat::m_minimum
double m_minimum
Lower boundary for random numbers.
Definition: RndmGenerators.h:257
Rndm::Flat::Flat
Flat(double mi, double ma)
Standard Constructor.
Definition: RndmGenerators.h:262
Rndm::Flat::m_maximum
double m_maximum
Upper boundary for random numbers.
Definition: RndmGenerators.h:259

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

Access upper edge.

Definition at line 269 of file RndmGenerators.h.

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

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

Access lower edge.

Definition at line 267 of file RndmGenerators.h.

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

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

Identifier for factory.

Definition at line 271 of file RndmGenerators.h.

271 { return IID_IRndmFlat; }

## Member Data Documentation

double Rndm::Flat::m_maximum
| protected

Upper boundary for random numbers.

Definition at line 259 of file RndmGenerators.h.

double Rndm::Flat::m_minimum
| protected

Lower boundary for random numbers.

Definition at line 257 of file RndmGenerators.h.

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

- GaudiKernel/GaudiKernel/RndmGenerators.h