| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# 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]

List of all members.

## 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.
## 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.

## 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.

    00276     : 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.

    00278 {  }

## Member Function Documentation

double Rndm::Flat::minimum | ( |  | ) | const`[inline]`

Access lower edge.

Definition at line 280 of file RndmGenerators.h.

    00280 { return m_minimum;             }

double Rndm::Flat::maximum | ( |  | ) | const`[inline]`

Access upper edge.

Definition at line 282 of file RndmGenerators.h.

    00282 { return m_maximum;             }

static const InterfaceID& Rndm::Flat::typeID | ( |  | ) | `[inline, static]`

Identifier for factory.

Definition at line 284 of file RndmGenerators.h.

    00284 { return IID_IRndmFlat;         }

virtual IRndmGen::Param* Rndm::Flat::clone | ( |  | ) | const`[inline, virtual]`

Clone parameters.

Implements IRndmGen::Param.

Definition at line 286 of file RndmGenerators.h.

    00286                                             {
    00287       return new Flat(m_minimum, m_maximum);
    00288     }

## Member Data Documentation

double Rndm::Flat::m_minimum`[protected]`

Lower boundary for random numbers.

Definition at line 270 of file RndmGenerators.h.

double Rndm::Flat::m_maximum`[protected]`

Upper boundary for random numbers.

Definition at line 272 of file RndmGenerators.h.

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

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