CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::RanluxppEngine Class Referencefinal

#include <CLHEP/Random/RanluxppEngine.h>

Inheritance diagram for CLHEP::RanluxppEngine:
CLHEP::HepRandomEngine

Public Member Functions

 RanluxppEngine ()
 RanluxppEngine (long seed)
 RanluxppEngine (std::istream &is)
virtual ~RanluxppEngine ()
double flat () override
void flatArray (const int size, double *vect) override
void setSeed (long seed, int dummy=0) override
void setSeeds (const long *seeds, int dummy=0) override
void skip (uint64_t n)
void saveStatus (const char filename[]="Ranluxpp.conf") const override
void restoreStatus (const char filename[]="Ranluxpp.conf") override
void showStatus () const override
std::string name () const override
std::ostream & put (std::ostream &os) const override
std::istream & get (std::istream &is) override
std::istream & getState (std::istream &is) override
std::vector< unsigned long > put () const override
bool get (const std::vector< unsigned long > &v) override
bool getState (const std::vector< unsigned long > &v) override
 operator double () override
 operator float () override
 operator unsigned int () override
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 engineName ()
static std::string beginTag ()
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 = 21

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
Jonas Hahnfeld

Definition at line 35 of file RanluxppEngine.h.

Constructor & Destructor Documentation

◆ RanluxppEngine() [1/3]

CLHEP::RanluxppEngine::RanluxppEngine ( )

◆ RanluxppEngine() [2/3]

CLHEP::RanluxppEngine::RanluxppEngine ( long seed)

◆ RanluxppEngine() [3/3]

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

◆ ~RanluxppEngine()

virtual CLHEP::RanluxppEngine::~RanluxppEngine ( )
virtual

Member Function Documentation

◆ beginTag()

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

◆ engineName()

std::string CLHEP::RanluxppEngine::engineName ( )
static

◆ flat()

double CLHEP::RanluxppEngine::flat ( )
overridevirtual

◆ flatArray()

void CLHEP::RanluxppEngine::flatArray ( const int size,
double * vect )
overridevirtual

◆ get() [1/2]

bool CLHEP::RanluxppEngine::get ( const std::vector< unsigned long > & v)
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ get() [2/2]

std::istream & CLHEP::RanluxppEngine::get ( std::istream & is)
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [1/2]

bool CLHEP::RanluxppEngine::getState ( const std::vector< unsigned long > & v)
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [2/2]

std::istream & CLHEP::RanluxppEngine::getState ( std::istream & is)
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ name()

std::string CLHEP::RanluxppEngine::name ( ) const
overridevirtual

◆ operator double()

CLHEP::RanluxppEngine::operator double ( )
inlineoverridevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 86 of file RanluxppEngine.h.

References flat().

◆ operator float()

CLHEP::RanluxppEngine::operator float ( )
inlineoverridevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 87 of file RanluxppEngine.h.

References flat().

◆ operator unsigned int()

CLHEP::RanluxppEngine::operator unsigned int ( )
inlineoverridevirtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 88 of file RanluxppEngine.h.

◆ put() [1/2]

std::vector< unsigned long > CLHEP::RanluxppEngine::put ( ) const
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [2/2]

std::ostream & CLHEP::RanluxppEngine::put ( std::ostream & os) const
overridevirtual

Reimplemented from CLHEP::HepRandomEngine.

◆ restoreStatus()

void CLHEP::RanluxppEngine::restoreStatus ( const char filename[] = "Ranluxpp.conf")
overridevirtual

◆ saveStatus()

void CLHEP::RanluxppEngine::saveStatus ( const char filename[] = "Ranluxpp.conf") const
overridevirtual

◆ setSeed()

void CLHEP::RanluxppEngine::setSeed ( long seed,
int dummy = 0 )
overridevirtual

◆ setSeeds()

void CLHEP::RanluxppEngine::setSeeds ( const long * seeds,
int dummy = 0 )
overridevirtual

◆ showStatus()

void CLHEP::RanluxppEngine::showStatus ( ) const
overridevirtual

◆ skip()

void CLHEP::RanluxppEngine::skip ( uint64_t n)

Member Data Documentation

◆ VECTOR_STATE_SIZE

const unsigned int CLHEP::RanluxppEngine::VECTOR_STATE_SIZE = 21
static

Definition at line 92 of file RanluxppEngine.h.


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