ROOT 6.13/01 Reference Guide |
Class to wrap engines fron the C++ standard random library in the ROOT Random interface.
This casess is then by used by the generic TRandoGen class to provide TRandom interrace generators for the C++ random generators.
See for examples the TRandomMT64 and TRandomRanlux48 generators which are typede's to TRandomGen instaniated with some random engine from the C++ standard library.
Definition at line 74 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>
typedef StdRandomEngine ROOT::Math::StdEngine< Generator >::BaseType |
Definition at line 79 of file StdEngine.h.
typedef Generator::result_type ROOT::Math::StdEngine< Generator >::Result_t |
Definition at line 80 of file StdEngine.h.
|
inline |
Definition at line 82 of file StdEngine.h.
|
inline |
Definition at line 95 of file StdEngine.h.
|
inlinestatic |
Definition at line 107 of file StdEngine.h.
|
inlinestatic |
Definition at line 103 of file StdEngine.h.
|
inline |
Definition at line 99 of file StdEngine.h.
|
inline |
Definition at line 89 of file StdEngine.h.
|
inline |
Definition at line 87 of file StdEngine.h.
|
private |
Definition at line 112 of file StdEngine.h.
|
private |
Definition at line 111 of file StdEngine.h.