CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CLHEP::Ranlux64Engine Class Reference

#include <Ranlux64Engine.h>

Inheritance diagram for CLHEP::Ranlux64Engine:
CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine

Public Member Functions

 Ranlux64Engine (std::istream &is)
 Ranlux64Engine ()
 Ranlux64Engine (long seed, int lux=1)
 Ranlux64Engine (int rowIndex, int colIndex, int lux)
virtual ~Ranlux64Engine ()
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long seed, int lux=1)
void setSeeds (const long *seeds, int lux=1)
void saveStatus (const char filename[]="Ranlux64.conf") const
void restoreStatus (const char filename[]="Ranlux64.conf")
void showStatus () const
int getLuxury () const
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)
 Ranlux64Engine (std::istream &is)
 Ranlux64Engine ()
 Ranlux64Engine (long seed, int lux=1)
 Ranlux64Engine (int rowIndex, int colIndex, int lux)
virtual ~Ranlux64Engine ()
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long seed, int lux=1)
void setSeeds (const long *seeds, int lux=1)
void saveStatus (const char filename[]="Ranlux64.conf") const
void restoreStatus (const char filename[]="Ranlux64.conf")
void showStatus () const
int getLuxury () const
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)
 Ranlux64Engine (std::istream &is)
 Ranlux64Engine ()
 Ranlux64Engine (long seed, int lux=1)
 Ranlux64Engine (int rowIndex, int colIndex, int lux)
virtual ~Ranlux64Engine ()
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long seed, int lux=1)
void setSeeds (const long *seeds, int lux=1)
void saveStatus (const char filename[]="Ranlux64.conf") const
void restoreStatus (const char filename[]="Ranlux64.conf")
void showStatus () const
int getLuxury () const
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)
 Ranlux64Engine (std::istream &is)
 Ranlux64Engine ()
 Ranlux64Engine (long seed, int lux=1)
 Ranlux64Engine (int rowIndex, int colIndex, int lux)
virtual ~Ranlux64Engine ()
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long seed, int lux=1)
void setSeeds (const long *seeds, int lux=1)
void saveStatus (const char filename[]="Ranlux64.conf") const
void restoreStatus (const char filename[]="Ranlux64.conf")
void showStatus () const
int getLuxury () const
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
virtual operator double ()
virtual operator float ()
virtual operator unsigned int ()
 HepRandomEngine ()
virtual ~HepRandomEngine ()
bool operator== (const HepRandomEngine &engine)
bool operator!= (const HepRandomEngine &engine)
long getSeed () const
const long * getSeeds () const
virtual operator double ()
virtual operator float ()
virtual operator unsigned int ()
 HepRandomEngine ()
virtual ~HepRandomEngine ()
bool operator== (const HepRandomEngine &engine)
bool operator!= (const HepRandomEngine &engine)
long getSeed () const
const long * getSeeds () const
virtual operator double ()
virtual operator float ()
virtual operator unsigned int ()
 HepRandomEngine ()
virtual ~HepRandomEngine ()
bool operator== (const HepRandomEngine &engine)
bool operator!= (const HepRandomEngine &engine)
long getSeed () const
const long * getSeeds () const
virtual operator double ()
virtual operator float ()
virtual operator unsigned int ()

Static Public Member Functions

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

Static Public Attributes

static const unsigned int VECTOR_STATE_SIZE = 30

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)
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)
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)
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 50 of file Matrix/CLHEP/Random/Ranlux64Engine.h.

Constructor & Destructor Documentation

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

Definition at line 145 of file Ranlux64Engine.cc.

CLHEP::Ranlux64Engine::Ranlux64Engine ( )

Definition at line 102 of file Ranlux64Engine.cc.

References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().

CLHEP::Ranlux64Engine::Ranlux64Engine ( long  seed,
int  lux = 1 
)

Definition at line 121 of file Ranlux64Engine.cc.

References setSeeds().

CLHEP::Ranlux64Engine::Ranlux64Engine ( int  rowIndex,
int  colIndex,
int  lux 
)

Definition at line 131 of file Ranlux64Engine.cc.

References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().

CLHEP::Ranlux64Engine::~Ranlux64Engine ( )
virtual

Definition at line 151 of file Ranlux64Engine.cc.

CLHEP::Ranlux64Engine::Ranlux64Engine ( std::istream &  is)
CLHEP::Ranlux64Engine::Ranlux64Engine ( )
CLHEP::Ranlux64Engine::Ranlux64Engine ( long  seed,
int  lux = 1 
)
CLHEP::Ranlux64Engine::Ranlux64Engine ( int  rowIndex,
int  colIndex,
int  lux 
)
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine ( )
virtual
CLHEP::Ranlux64Engine::Ranlux64Engine ( std::istream &  is)
CLHEP::Ranlux64Engine::Ranlux64Engine ( )
CLHEP::Ranlux64Engine::Ranlux64Engine ( long  seed,
int  lux = 1 
)
CLHEP::Ranlux64Engine::Ranlux64Engine ( int  rowIndex,
int  colIndex,
int  lux 
)
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine ( )
virtual
CLHEP::Ranlux64Engine::Ranlux64Engine ( std::istream &  is)
CLHEP::Ranlux64Engine::Ranlux64Engine ( )
CLHEP::Ranlux64Engine::Ranlux64Engine ( long  seed,
int  lux = 1 
)
CLHEP::Ranlux64Engine::Ranlux64Engine ( int  rowIndex,
int  colIndex,
int  lux 
)
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine ( )
virtual

Member Function Documentation

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 672 of file Ranlux64Engine.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Definition at line 93 of file RandomObjects/CLHEP/Random/Ranlux64Engine.h.

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

Definition at line 93 of file Random/Random/Ranlux64Engine.h.

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

Definition at line 93 of file Matrix/CLHEP/Random/Ranlux64Engine.h.

Referenced by restoreStatus().

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

Definition at line 93 of file Random/CLHEP/Random/Ranlux64Engine.h.

double CLHEP::Ranlux64Engine::flat ( )
virtual
double CLHEP::Ranlux64Engine::flat ( )
virtual
double CLHEP::Ranlux64Engine::flat ( )
virtual

Implements CLHEP::HepRandomEngine.

Definition at line 153 of file Ranlux64Engine.cc.

References CLHEP::HepRandomEngine::twoToMinus_49().

Referenced by check_sequence(), flatArray(), and valid_range().

double CLHEP::Ranlux64Engine::flat ( )
virtual
void CLHEP::Ranlux64Engine::flatArray ( const int  size,
double vect 
)
virtual
void CLHEP::Ranlux64Engine::flatArray ( const int  size,
double vect 
)
virtual
void CLHEP::Ranlux64Engine::flatArray ( const int  size,
double vect 
)
virtual

Implements CLHEP::HepRandomEngine.

Definition at line 370 of file Ranlux64Engine.cc.

References flat().

void CLHEP::Ranlux64Engine::flatArray ( const int  size,
double vect 
)
virtual
std::istream & CLHEP::Ranlux64Engine::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 654 of file Ranlux64Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 718 of file Ranlux64Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Definition at line 84 of file Matrix/CLHEP/Random/Ranlux64Engine.h.

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

Definition at line 84 of file Random/Random/Ranlux64Engine.h.

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

Definition at line 84 of file Random/CLHEP/Random/Ranlux64Engine.h.

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

Definition at line 84 of file RandomObjects/CLHEP/Random/Ranlux64Engine.h.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 676 of file Ranlux64Engine.cc.

References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.

Referenced by get(), and restoreStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 727 of file Ranlux64Engine.cc.

References CLHEP::DoubConv::longs2double(), and VECTOR_STATE_SIZE.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Implements CLHEP::HepRandomEngine.

Definition at line 100 of file Ranlux64Engine.cc.

std::string CLHEP::Ranlux64Engine::name ( ) const
virtual
std::ostream & CLHEP::Ranlux64Engine::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 613 of file Ranlux64Engine.cc.

References put(), and CLHEP::HepRandomEngine::theSeed.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 638 of file Ranlux64Engine.cc.

References CLHEP::DoubConv::dto2longs().

Referenced by put(), and saveStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

void CLHEP::Ranlux64Engine::restoreStatus ( const char  filename[] = "Ranlux64.conf")
virtual
void CLHEP::Ranlux64Engine::restoreStatus ( const char  filename[] = "Ranlux64.conf")
virtual
void CLHEP::Ranlux64Engine::restoreStatus ( const char  filename[] = "Ranlux64.conf")
virtual
void CLHEP::Ranlux64Engine::restoreStatus ( const char  filename[] = "Ranlux64.conf")
virtual
void CLHEP::Ranlux64Engine::saveStatus ( const char  filename[] = "Ranlux64.conf") const
virtual
void CLHEP::Ranlux64Engine::saveStatus ( const char  filename[] = "Ranlux64.conf") const
virtual
void CLHEP::Ranlux64Engine::saveStatus ( const char  filename[] = "Ranlux64.conf") const
virtual

Implements CLHEP::HepRandomEngine.

Definition at line 524 of file Ranlux64Engine.cc.

References put(), and CLHEP::HepRandomEngine::theSeed.

void CLHEP::Ranlux64Engine::saveStatus ( const char  filename[] = "Ranlux64.conf") const
virtual
void CLHEP::Ranlux64Engine::setSeed ( long  seed,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeed ( long  seed,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeed ( long  seed,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeed ( long  seed,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeeds ( const long *  seeds,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeeds ( const long *  seeds,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeeds ( const long *  seeds,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::setSeeds ( const long *  seeds,
int  lux = 1 
)
virtual
void CLHEP::Ranlux64Engine::showStatus ( ) const
virtual

Implements CLHEP::HepRandomEngine.

Definition at line 597 of file Ranlux64Engine.cc.

References CLHEP::HepRandomEngine::theSeed.

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

Member Data Documentation

static const unsigned int CLHEP::Ranlux64Engine::VECTOR_STATE_SIZE = 30
static

Definition at line 99 of file Matrix/CLHEP/Random/Ranlux64Engine.h.

Referenced by getState(), and restoreStatus().


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