Logo ROOT   6.19/01
Reference Guide
ROOT::Math::LCGEngine Class Reference

Definition at line 33 of file LCGEngine.h.

Public Types

typedef TRandomEngine BaseType
 
typedef uint32_t Result_t
 
typedef uint32_t StateInt_t
 

Public Member Functions

 LCGEngine ()
 
virtual ~LCGEngine ()
 
uint32_t IntRndm ()
 
double operator() ()
 
virtual double Rndm ()
 
void SetSeed (uint32_t seed)
 
- Public Member Functions inherited from ROOT::Math::TRandomEngine
virtual ~TRandomEngine ()
 

Static Public Member Functions

static unsigned int MaxInt ()
 maximum integer taht can be generated More...
 
static unsigned int MinInt ()
 minimum integer taht can be generated More...
 
static std::string Name ()
 Name of the generator. More...
 
static int Size ()
 Size of the generator state. More...
 

Protected Member Functions

int Counter () const
 
void GetState (std::vector< uint32_t > &state)
 
void SetState (const std::vector< uint32_t > &state)
 

Private Member Functions

double Rndm_impl ()
 

Private Attributes

uint32_t fSeed
 

#include <Math/LCGEngine.h>

Inheritance diagram for ROOT::Math::LCGEngine:
[legend]

Member Typedef Documentation

◆ BaseType

Definition at line 38 of file LCGEngine.h.

◆ Result_t

Definition at line 39 of file LCGEngine.h.

◆ StateInt_t

Definition at line 40 of file LCGEngine.h.

Constructor & Destructor Documentation

◆ LCGEngine()

ROOT::Math::LCGEngine::LCGEngine ( )
inline

Definition at line 42 of file LCGEngine.h.

◆ ~LCGEngine()

virtual ROOT::Math::LCGEngine::~LCGEngine ( )
inlinevirtual

Definition at line 44 of file LCGEngine.h.

Member Function Documentation

◆ Counter()

int ROOT::Math::LCGEngine::Counter ( ) const
inlineprotected

Definition at line 78 of file LCGEngine.h.

◆ GetState()

void ROOT::Math::LCGEngine::GetState ( std::vector< uint32_t > &  state)
inlineprotected

Definition at line 74 of file LCGEngine.h.

◆ IntRndm()

uint32_t ROOT::Math::LCGEngine::IntRndm ( )
inline

Definition at line 54 of file LCGEngine.h.

◆ MaxInt()

static unsigned int ROOT::Math::LCGEngine::MaxInt ( )
inlinestatic

maximum integer taht can be generated

Definition at line 62 of file LCGEngine.h.

◆ MinInt()

static unsigned int ROOT::Math::LCGEngine::MinInt ( )
inlinestatic

minimum integer taht can be generated

Definition at line 60 of file LCGEngine.h.

◆ Name()

static std::string ROOT::Math::LCGEngine::Name ( )
inlinestatic

Name of the generator.

Definition at line 66 of file LCGEngine.h.

◆ operator()()

double ROOT::Math::LCGEngine::operator() ( )
inline

Definition at line 52 of file LCGEngine.h.

◆ Rndm()

virtual double ROOT::Math::LCGEngine::Rndm ( )
inlinevirtual

Implements ROOT::Math::TRandomEngine.

Definition at line 48 of file LCGEngine.h.

◆ Rndm_impl()

double ROOT::Math::LCGEngine::Rndm_impl ( )
inlineprivate

Definition at line 81 of file LCGEngine.h.

◆ SetSeed()

void ROOT::Math::LCGEngine::SetSeed ( uint32_t  seed)
inline

Definition at line 46 of file LCGEngine.h.

◆ SetState()

void ROOT::Math::LCGEngine::SetState ( const std::vector< uint32_t > &  state)
inlineprotected

Definition at line 69 of file LCGEngine.h.

◆ Size()

static int ROOT::Math::LCGEngine::Size ( )
inlinestatic

Size of the generator state.

Definition at line 64 of file LCGEngine.h.

Member Data Documentation

◆ fSeed

uint32_t ROOT::Math::LCGEngine::fSeed
private

Definition at line 88 of file LCGEngine.h.

Libraries for ROOT::Math::LCGEngine:
[legend]

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