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

#include <CLHEP/Random/RanshiEngine.h>

Inheritance diagram for CLHEP::RanshiEngine:
CLHEP::HepRandomEngine

Public Member Functions

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

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 53 of file RanshiEngine.h.

Constructor & Destructor Documentation

◆ RanshiEngine() [1/4]

CLHEP::RanshiEngine::RanshiEngine ( )

◆ RanshiEngine() [2/4]

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

◆ RanshiEngine() [3/4]

CLHEP::RanshiEngine::RanshiEngine ( long seed)

◆ RanshiEngine() [4/4]

CLHEP::RanshiEngine::RanshiEngine ( int rowIndex,
int colIndex )

◆ ~RanshiEngine()

virtual CLHEP::RanshiEngine::~RanshiEngine ( )
virtual

Member Function Documentation

◆ beginTag()

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

◆ engineName()

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

Definition at line 97 of file RanshiEngine.h.

◆ flat()

double CLHEP::RanshiEngine::flat ( )
virtual

◆ flatArray()

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

◆ get() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ get() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ getState() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ name()

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

◆ operator double()

CLHEP::RanshiEngine::operator double ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator float()

CLHEP::RanshiEngine::operator float ( )
virtual

Reimplemented from CLHEP::HepRandomEngine.

◆ operator unsigned int()

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

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [1/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ put() [2/2]

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

Reimplemented from CLHEP::HepRandomEngine.

◆ restoreStatus()

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

◆ saveStatus()

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

◆ setSeed()

void CLHEP::RanshiEngine::setSeed ( long seed,
int  )
virtual

◆ setSeeds()

void CLHEP::RanshiEngine::setSeeds ( const long * seeds,
int  )
virtual

◆ showStatus()

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

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