| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Static Public Member Functions | Protected Attributes

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

        : 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_v22r2/GaudiKernel/GaudiKernel/RndmGenerators.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines