Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ROOT::Math::StdEngine< Generator > Class Template Reference

template<class Generator>
class ROOT::Math::StdEngine< Generator >

Wrapper class for std::random generator to be included in ROOT.

Definition at line 65 of file StdEngine.h.

Public Types

typedef StdRandomEngine BaseType
 
typedef Generator::result_type Result_t
 

Public Member Functions

 StdEngine ()
 
Result_t IntRndm ()
 
double operator() ()
 
double Rndm ()
 
void SetSeed (Result_t seed)
 

Static Public Member Functions

static uint64_t MaxInt ()
 
static std::string Name ()
 

Private Attributes

double fCONS
 
Generator fGen
 

#include <Math/StdEngine.h>

Member Typedef Documentation

◆ BaseType

template<class Generator >
typedef StdRandomEngine ROOT::Math::StdEngine< Generator >::BaseType

Definition at line 70 of file StdEngine.h.

◆ Result_t

template<class Generator >
typedef Generator::result_type ROOT::Math::StdEngine< Generator >::Result_t

Definition at line 71 of file StdEngine.h.

Constructor & Destructor Documentation

◆ StdEngine()

template<class Generator >
ROOT::Math::StdEngine< Generator >::StdEngine ( )
inline

Definition at line 73 of file StdEngine.h.

Member Function Documentation

◆ IntRndm()

template<class Generator >
Result_t ROOT::Math::StdEngine< Generator >::IntRndm ( )
inline

Definition at line 86 of file StdEngine.h.

◆ MaxInt()

template<class Generator >
static uint64_t ROOT::Math::StdEngine< Generator >::MaxInt ( )
inlinestatic

Definition at line 98 of file StdEngine.h.

◆ Name()

template<class Generator >
static std::string ROOT::Math::StdEngine< Generator >::Name ( )
inlinestatic

Definition at line 94 of file StdEngine.h.

◆ operator()()

template<class Generator >
double ROOT::Math::StdEngine< Generator >::operator() ( )
inline

Definition at line 90 of file StdEngine.h.

◆ Rndm()

template<class Generator >
double ROOT::Math::StdEngine< Generator >::Rndm ( )
inline

Definition at line 80 of file StdEngine.h.

◆ SetSeed()

template<class Generator >
void ROOT::Math::StdEngine< Generator >::SetSeed ( Result_t  seed)
inline

Definition at line 78 of file StdEngine.h.

Member Data Documentation

◆ fCONS

template<class Generator >
double ROOT::Math::StdEngine< Generator >::fCONS
private

Definition at line 103 of file StdEngine.h.

◆ fGen

template<class Generator >
Generator ROOT::Math::StdEngine< Generator >::fGen
private

Definition at line 102 of file StdEngine.h.


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