CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
CLHEP::RanecuEngine Class Reference

#include <CLHEP/Random/RanecuEngine.h>

Inheritance diagram for CLHEP::RanecuEngine:
CLHEP::HepRandomEngine

Public Member Functions

 RanecuEngine (std::istream &is)
 
 RanecuEngine ()
 
 RanecuEngine (int index)
 
virtual ~RanecuEngine ()
 
double flat ()
 
void flatArray (const int size, double *vect)
 
void setIndex (long index)
 
void setSeed (long index, int dum=0)
 
void setSeeds (const long *seeds, int index=-1)
 
void saveStatus (const char filename[]="Ranecu.conf") const
 
void restoreStatus (const char filename[]="Ranecu.conf")
 
void showStatus () const
 
 operator double ()
 
 operator float ()
 
 operator unsigned int ()
 
virtual std::ostream & put (std::ostream &os) const
 
virtual std::istream & get (std::istream &is)
 
virtual std::istream & getState (std::istream &is)
 
std::string name () const
 
std::vector< unsigned long > put () const
 
bool get (const std::vector< unsigned long > &v)
 
bool getState (const std::vector< unsigned long > &v)
 
- Public Member Functions inherited from CLHEP::HepRandomEngine
 HepRandomEngine ()
 
virtual ~HepRandomEngine ()
 
bool operator== (const HepRandomEngine &engine)
 
bool operator!= (const HepRandomEngine &engine)
 
long getSeed () const
 
const long * getSeeds () const
 

Static Public Member Functions

static std::string beginTag ()
 
static std::string engineName ()
 
- Static Public Member Functions inherited from CLHEP::HepRandomEngine
static std::string beginTag ()
 
static HepRandomEnginenewEngine (std::istream &is)
 
static HepRandomEnginenewEngine (const std::vector< unsigned long > &v)
 

Static Protected Attributes

static const int ecuyer_a = 40014
 
static const int ecuyer_b = 53668
 
static const int ecuyer_c = 12211
 
static const int ecuyer_d = 40692
 
static const int ecuyer_e = 52774
 
static const int ecuyer_f = 3791
 
static const int shift1 = 2147483563
 
static const int shift2 = 2147483399
 
static const unsigned int VECTOR_STATE_SIZE = 4
 

Additional Inherited Members

- Static Protected Member Functions inherited from CLHEP::HepRandomEngine
static double exponent_bit_32 ()
 
static double mantissa_bit_12 ()
 
static double mantissa_bit_24 ()
 
static double mantissa_bit_32 ()
 
static double twoToMinus_32 ()
 
static double twoToMinus_48 ()
 
static double twoToMinus_49 ()
 
static double twoToMinus_53 ()
 
static double nearlyTwoToMinus_54 ()
 
static bool checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname)
 
- Protected Attributes inherited from CLHEP::HepRandomEngine
long theSeed
 
const long * theSeeds
 

Detailed Description

Author
Gabri.nosp@m.ele..nosp@m.Cosmo.nosp@m.@cer.nosp@m.n.ch

Definition at line 48 of file RanecuEngine.h.

Constructor & Destructor Documentation

◆ RanecuEngine() [1/3]

CLHEP::RanecuEngine::RanecuEngine ( std::istream & is)

◆ RanecuEngine() [2/3]

CLHEP::RanecuEngine::RanecuEngine ( )

◆ RanecuEngine() [3/3]

CLHEP::RanecuEngine::RanecuEngine ( int index)

◆ ~RanecuEngine()

virtual CLHEP::RanecuEngine::~RanecuEngine ( )
virtual

Member Function Documentation

◆ beginTag()

static std::string CLHEP::RanecuEngine::beginTag ( )
static

◆ engineName()

static std::string CLHEP::RanecuEngine::engineName ( )
inlinestatic

Definition at line 101 of file RanecuEngine.h.

◆ flat()

double CLHEP::RanecuEngine::flat ( )
virtual

◆ flatArray()

void CLHEP::RanecuEngine::flatArray ( const int size,
double * vect )
virtual

◆ get() [1/2]

bool CLHEP::RanecuEngine::get ( const std::vector< unsigned long > & v)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ get() [2/2]

virtual std::istream & CLHEP::RanecuEngine::get ( std::istream & is)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [1/2]

bool CLHEP::RanecuEngine::getState ( const std::vector< unsigned long > & v)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [2/2]

virtual std::istream & CLHEP::RanecuEngine::getState ( std::istream & is)
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ name()

std::string CLHEP::RanecuEngine::name ( ) const
virtual

◆ operator double()

CLHEP::RanecuEngine::operator double ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator float()

CLHEP::RanecuEngine::operator float ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator unsigned int()

CLHEP::RanecuEngine::operator unsigned int ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [1/2]

std::vector< unsigned long > CLHEP::RanecuEngine::put ( ) const
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [2/2]

virtual std::ostream & CLHEP::RanecuEngine::put ( std::ostream & os) const
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ restoreStatus()

void CLHEP::RanecuEngine::restoreStatus ( const char filename[] = "Ranecu.conf")
virtual

◆ saveStatus()

void CLHEP::RanecuEngine::saveStatus ( const char filename[] = "Ranecu.conf") const
virtual

◆ setIndex()

void CLHEP::RanecuEngine::setIndex ( long index)

◆ setSeed()

void CLHEP::RanecuEngine::setSeed ( long index,
int dum = 0 )
virtual

◆ setSeeds()

void CLHEP::RanecuEngine::setSeeds ( const long * seeds,
int index = -1 )
virtual

◆ showStatus()

void CLHEP::RanecuEngine::showStatus ( ) const
virtual

Member Data Documentation

◆ ecuyer_a

const int CLHEP::RanecuEngine::ecuyer_a = 40014
staticprotected

Definition at line 111 of file RanecuEngine.h.

◆ ecuyer_b

const int CLHEP::RanecuEngine::ecuyer_b = 53668
staticprotected

Definition at line 112 of file RanecuEngine.h.

◆ ecuyer_c

const int CLHEP::RanecuEngine::ecuyer_c = 12211
staticprotected

Definition at line 113 of file RanecuEngine.h.

◆ ecuyer_d

const int CLHEP::RanecuEngine::ecuyer_d = 40692
staticprotected

Definition at line 114 of file RanecuEngine.h.

◆ ecuyer_e

const int CLHEP::RanecuEngine::ecuyer_e = 52774
staticprotected

Definition at line 115 of file RanecuEngine.h.

◆ ecuyer_f

const int CLHEP::RanecuEngine::ecuyer_f = 3791
staticprotected

Definition at line 116 of file RanecuEngine.h.

◆ shift1

const int CLHEP::RanecuEngine::shift1 = 2147483563
staticprotected

Definition at line 117 of file RanecuEngine.h.

◆ shift2

const int CLHEP::RanecuEngine::shift2 = 2147483399
staticprotected

Definition at line 118 of file RanecuEngine.h.

◆ VECTOR_STATE_SIZE

const unsigned int CLHEP::RanecuEngine::VECTOR_STATE_SIZE = 4
staticprotected

Definition at line 120 of file RanecuEngine.h.


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