| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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::Paramclone () const
 Clone parameters.
virtual const InterfaceIDtype () const
 Parameter's type.

Static Public Member Functions

static const InterfaceIDtypeID ()
 Identifier for factory.

Protected Attributes

double m_minimum
 Lower boundary for random numbers.
double m_maximum
 Upper boundary for random numbers.
const InterfaceID m_type
 Type of the generator.

Detailed Description

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

Definition at line 266 of file RndmGenerators.h.


Constructor & Destructor Documentation

Rndm::Flat::Flat ( double  mi,
double  ma 
) [inline]

Standard Constructor.

Definition at line 274 of file RndmGenerators.h.

virtual Rndm::Flat::~Flat (  )  [inline, virtual]

Standard Destructor.

Definition at line 277 of file RndmGenerators.h.

00277 {  }


Member Function Documentation

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

Access lower edge.

Definition at line 279 of file RndmGenerators.h.

00279 { return m_minimum;             }

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

Access upper edge.

Definition at line 281 of file RndmGenerators.h.

00281 { return m_maximum;             }

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

Identifier for factory.

Definition at line 283 of file RndmGenerators.h.

00283 { return IID_IRndmFlat;         }

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

Clone parameters.

Implements IRndmGen::Param.

Definition at line 285 of file RndmGenerators.h.

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

virtual const InterfaceID& IRndmGen::Param::type (  )  const [inline, virtual, inherited]

Parameter's type.

Definition at line 52 of file IRndmGen.h.

00052                                               {
00053       return m_type;
00054     }


Member Data Documentation

double Rndm::Flat::m_minimum [protected]

Lower boundary for random numbers.

Definition at line 269 of file RndmGenerators.h.

double Rndm::Flat::m_maximum [protected]

Upper boundary for random numbers.

Definition at line 271 of file RndmGenerators.h.

const InterfaceID IRndmGen::Param::m_type [protected, inherited]

Type of the generator.

Definition at line 43 of file IRndmGen.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:20 2011 for GaudiKernel by doxygen 1.4.7