| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <RndmGenerators.h>`

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

## Public Member Functions
| Flat (double mi, double ma)
| Standard Constructor.
virtual | ~Flat ()
| Standard Destructor.
double | minimum () const
| Access lower edge.
double | maximum () const
| Access upper edge.
virtual IRndmGen::Param * | clone () const
| Clone parameters.
Public Member Functions inherited from IRndmGen::Param
| Param (const InterfaceID &type=IID_IRndmFlat)
| Standard constructor.
virtual | ~Param ()
| Standard Destructor.
virtual const InterfaceID & | type () const
| Parameter's type.

## Static Public Member Functions
static const InterfaceID & | typeID ()
| Identifier for factory.

## Protected Attributes
double | m_minimum
| Lower boundary for random numbers.
double | m_maximum
| Upper boundary for random numbers.
Protected Attributes inherited from IRndmGen::Param
const InterfaceID | m_type
| Type of the generator.

## Detailed Description

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

Definition at line 267 of file RndmGenerators.h.

## Constructor & Destructor Documentation

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

Standard Constructor.

Definition at line 275 of file RndmGenerators.h.

: IRndmGen::Param(IID_IRndmFlat), m_minimum(mi), m_maximum(ma) { }

virtual Rndm::Flat::~Flat | ( |  | ) |
| inline virtual

Standard Destructor.

Definition at line 278 of file RndmGenerators.h.

{ }

## Member Function Documentation

virtual IRndmGen::Param* Rndm::Flat::clone | ( |  | ) | const
| inline virtual

Clone parameters.

Implements IRndmGen::Param.

Definition at line 286 of file RndmGenerators.h.

{
return new Flat(m_minimum, m_maximum);
}

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

Access upper edge.

Definition at line 282 of file RndmGenerators.h.

{ return m_maximum; }

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

Access lower edge.

Definition at line 280 of file RndmGenerators.h.

{ return m_minimum; }

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

Identifier for factory.

Definition at line 284 of file RndmGenerators.h.

{ return IID_IRndmFlat; }

## Member Data Documentation

double Rndm::Flat::m_maximum
| protected

Upper boundary for random numbers.

Definition at line 272 of file RndmGenerators.h.

double Rndm::Flat::m_minimum
| protected

Lower boundary for random numbers.

Definition at line 270 of file RndmGenerators.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/RndmGenerators.h