Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CLHEP::HepRandomEngine Class Referenceabstract

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/externals/clhep/include/CLHEP/Random/RandomEngine.h"

Inheritance diagram for CLHEP::HepRandomEngine:
CLHEP::DualRand CLHEP::HepJamesRandom CLHEP::MixMaxRng CLHEP::MTwistEngine CLHEP::NonRandomEngine CLHEP::RanecuEngine CLHEP::Ranlux64Engine CLHEP::RanluxEngine CLHEP::RanshiEngine

Public Member Functions

 HepRandomEngine ()
 
virtual ~HepRandomEngine ()
 
bool operator== (const HepRandomEngine &engine)
 
bool operator!= (const HepRandomEngine &engine)
 
virtual double flat ()=0
 
virtual void flatArray (const int size, double *vect)=0
 
virtual void setSeed (long seed, int)=0
 
virtual void setSeeds (const long *seeds, int)=0
 
virtual void saveStatus (const char filename[]="Config.conf") const =0
 
virtual void restoreStatus (const char filename[]="Config.conf")=0
 
virtual void showStatus () const =0
 
virtual std::string name () const =0
 
virtual std::ostream & put (std::ostream &os) const
 
virtual std::istream & get (std::istream &is)
 
virtual std::istream & getState (std::istream &is)
 
virtual std::vector< unsigned long > put () const
 
virtual bool get (const std::vector< unsigned long > &v)
 
virtual bool getState (const std::vector< unsigned long > &v)
 
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 HepRandomEnginenewEngine (std::istream &is)
 
static HepRandomEnginenewEngine (const std::vector< unsigned long > &v)
 

Static Protected Member Functions

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

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 54 of file RandomEngine.h.

Constructor & Destructor Documentation

CLHEP::HepRandomEngine::HepRandomEngine ( )
virtual CLHEP::HepRandomEngine::~HepRandomEngine ( )
virtual

Member Function Documentation

static std::string CLHEP::HepRandomEngine::beginTag ( )
static
static bool CLHEP::HepRandomEngine::checkFile ( std::istream &  file,
const std::string &  filename,
const std::string &  classname,
const std::string &  methodname 
)
staticprotected
static double CLHEP::HepRandomEngine::exponent_bit_32 ( )
inlinestaticprotected
virtual double CLHEP::HepRandomEngine::flat ( )
pure virtual
virtual void CLHEP::HepRandomEngine::flatArray ( const int  size,
double *  vect 
)
pure virtual
virtual std::istream& CLHEP::HepRandomEngine::get ( std::istream &  is)
virtual
virtual bool CLHEP::HepRandomEngine::get ( const std::vector< unsigned long > &  v)
virtual
long CLHEP::HepRandomEngine::getSeed ( ) const
inline

Definition at line 113 of file RandomEngine.h.

References theSeed.

113 { return theSeed; }
const long* CLHEP::HepRandomEngine::getSeeds ( ) const
inline

Definition at line 116 of file RandomEngine.h.

References check_time_usage::float, makeTrainCVSamples::int, and theSeeds.

116 { return theSeeds; }
virtual std::istream& CLHEP::HepRandomEngine::getState ( std::istream &  is)
virtual
virtual bool CLHEP::HepRandomEngine::getState ( const std::vector< unsigned long > &  v)
virtual
static double CLHEP::HepRandomEngine::mantissa_bit_12 ( )
inlinestaticprotected
static double CLHEP::HepRandomEngine::mantissa_bit_24 ( )
inlinestaticprotected
static double CLHEP::HepRandomEngine::mantissa_bit_32 ( )
inlinestaticprotected
virtual std::string CLHEP::HepRandomEngine::name ( ) const
pure virtual
static double CLHEP::HepRandomEngine::nearlyTwoToMinus_54 ( )
inlinestaticprotected
static HepRandomEngine* CLHEP::HepRandomEngine::newEngine ( std::istream &  is)
static
static HepRandomEngine* CLHEP::HepRandomEngine::newEngine ( const std::vector< unsigned long > &  v)
static
virtual CLHEP::HepRandomEngine::operator double ( )
virtual
virtual CLHEP::HepRandomEngine::operator float ( )
virtual
virtual CLHEP::HepRandomEngine::operator unsigned int ( )
virtual
bool CLHEP::HepRandomEngine::operator!= ( const HepRandomEngine engine)
inline
bool CLHEP::HepRandomEngine::operator== ( const HepRandomEngine engine)
inline
virtual std::ostream& CLHEP::HepRandomEngine::put ( std::ostream &  os) const
virtual
virtual std::vector<unsigned long> CLHEP::HepRandomEngine::put ( ) const
virtual
virtual void CLHEP::HepRandomEngine::restoreStatus ( const char  filename[] = "Config.conf")
pure virtual
virtual void CLHEP::HepRandomEngine::saveStatus ( const char  filename[] = "Config.conf") const
pure virtual
virtual void CLHEP::HepRandomEngine::setSeed ( long  seed,
int   
)
pure virtual
virtual void CLHEP::HepRandomEngine::setSeeds ( const long *  seeds,
int   
)
pure virtual
virtual void CLHEP::HepRandomEngine::showStatus ( ) const
pure virtual
static double CLHEP::HepRandomEngine::twoToMinus_32 ( )
inlinestaticprotected
static double CLHEP::HepRandomEngine::twoToMinus_48 ( )
inlinestaticprotected
static double CLHEP::HepRandomEngine::twoToMinus_49 ( )
inlinestaticprotected
static double CLHEP::HepRandomEngine::twoToMinus_53 ( )
inlinestaticprotected

Member Data Documentation

long CLHEP::HepRandomEngine::theSeed
protected

Definition at line 143 of file RandomEngine.h.

Referenced by getSeed().

const long* CLHEP::HepRandomEngine::theSeeds
protected

Definition at line 144 of file RandomEngine.h.

Referenced by getSeeds().


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