CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::RanluxEngine Class Reference

#include <CLHEP/Random/RanluxEngine.h>

Inheritance diagram for CLHEP::RanluxEngine:
CLHEP::HepRandomEngine

Public Member Functions

 RanluxEngine (std::istream &is)
 
 RanluxEngine ()
 
 RanluxEngine (long seed, int lxr=3)
 
 RanluxEngine (int rowIndex, int colIndex, int lxr)
 
virtual ~RanluxEngine ()
 
double flat ()
 
void flatArray (const int size, double *vect)
 
void setSeed (long seed, int lxr=3)
 
void setSeeds (const long *seeds, int lxr=3)
 
void saveStatus (const char filename[]="Ranlux.conf") const
 
void restoreStatus (const char filename[]="Ranlux.conf")
 
void showStatus () const
 
int getLuxury () 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 Public Attributes

static const unsigned int VECTOR_STATE_SIZE = 31
 

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

Definition at line 46 of file RanluxEngine.h.

Constructor & Destructor Documentation

◆ RanluxEngine() [1/4]

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

◆ RanluxEngine() [2/4]

CLHEP::RanluxEngine::RanluxEngine ( )

◆ RanluxEngine() [3/4]

CLHEP::RanluxEngine::RanluxEngine ( long seed,
int lxr = 3 )

◆ RanluxEngine() [4/4]

CLHEP::RanluxEngine::RanluxEngine ( int rowIndex,
int colIndex,
int lxr )

◆ ~RanluxEngine()

virtual CLHEP::RanluxEngine::~RanluxEngine ( )
virtual

Member Function Documentation

◆ beginTag()

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

◆ engineName()

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

Definition at line 105 of file RanluxEngine.h.

◆ flat()

double CLHEP::RanluxEngine::flat ( )
virtual

◆ flatArray()

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

◆ get() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ get() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ getLuxury()

int CLHEP::RanluxEngine::getLuxury ( ) const
inline

Definition at line 92 of file RanluxEngine.h.

◆ getState() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ name()

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

◆ operator double()

CLHEP::RanluxEngine::operator double ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator float()

CLHEP::RanluxEngine::operator float ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator unsigned int()

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

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ restoreStatus()

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

◆ saveStatus()

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

◆ setSeed()

void CLHEP::RanluxEngine::setSeed ( long seed,
int lxr = 3 )
virtual

◆ setSeeds()

void CLHEP::RanluxEngine::setSeeds ( const long * seeds,
int lxr = 3 )
virtual

◆ showStatus()

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

Member Data Documentation

◆ VECTOR_STATE_SIZE

const unsigned int CLHEP::RanluxEngine::VECTOR_STATE_SIZE = 31
static

Definition at line 111 of file RanluxEngine.h.


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