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

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

Inheritance diagram for CLHEP::RandBit:
CLHEP::RandFlat CLHEP::HepRandom

Public Member Functions

 RandBit (HepRandomEngine &anEngine)
 
 RandBit (HepRandomEngine &anEngine, double width)
 
 RandBit (HepRandomEngine &anEngine, double a, double b)
 
 RandBit (HepRandomEngine *anEngine)
 
 RandBit (HepRandomEngine *anEngine, double width)
 
 RandBit (HepRandomEngine *anEngine, double a, double b)
 
virtual ~RandBit ()
 
int fireBit ()
 
std::ostream & put (std::ostream &os) const
 
std::istream & get (std::istream &is)
 
std::string name () const
 
double fire ()
 
double fire (double width)
 
double fire (double a, double b)
 
long fireInt (long n)
 
long fireInt (long a1, long n)
 
void fireArray (const int size, double *vect)
 
void fireArray (const int size, double *vect, double lx, double dx)
 
double operator() ()
 
double operator() (double width)
 
double operator() (double a, double b)
 
HepRandomEngineengine ()
 
double flat ()
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (const int size, double *vect)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 

Static Public Member Functions

static int shootBit ()
 
static int shootBit (HepRandomEngine *)
 
static std::string distributionName ()
 
static std::ostream & saveFullState (std::ostream &os)
 
static std::istream & restoreFullState (std::istream &is)
 
static std::ostream & saveDistState (std::ostream &os)
 
static std::istream & restoreDistState (std::istream &is)
 
static double shoot ()
 
static double shoot (double width)
 
static double shoot (double a, double b)
 
static double shoot (HepRandomEngine *anEngine)
 
static double shoot (HepRandomEngine *anEngine, double width)
 
static double shoot (HepRandomEngine *anEngine, double a, double b)
 
static long shootInt (long n)
 
static long shootInt (long a1, long n)
 
static long shootInt (HepRandomEngine *anEngine, long n)
 
static long shootInt (HepRandomEngine *anEngine, long a1, long n)
 
static void shootArray (const int size, double *vect)
 
static void shootArray (const int size, double *vect, double lx, double dx)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double lx, double dx)
 
static void saveEngineStatus (const char filename[]="Config.conf")
 
static void restoreEngineStatus (const char filename[]="Config.conf")
 
static void setTheSeed (long seed, int lux=3)
 
static long getTheSeed ()
 
static void setTheSeeds (const long *seeds, int aux=-1)
 
static const long * getTheSeeds ()
 
static void getTheTableSeeds (long *seeds, int index)
 
static HepRandomgetTheGenerator ()
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static HepRandomEnginegetTheEngine ()
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static void showEngineStatus ()
 
static int createInstance ()
 

Static Protected Attributes

static const long seedTable [215][2]
 

Detailed Description

Author

Definition at line 39 of file RandBit.h.

Constructor & Destructor Documentation

CLHEP::RandBit::RandBit ( HepRandomEngine anEngine)
inline
CLHEP::RandBit::RandBit ( HepRandomEngine anEngine,
double  width 
)
inline
CLHEP::RandBit::RandBit ( HepRandomEngine anEngine,
double  a,
double  b 
)
inline
CLHEP::RandBit::RandBit ( HepRandomEngine anEngine)
inline
CLHEP::RandBit::RandBit ( HepRandomEngine anEngine,
double  width 
)
inline
CLHEP::RandBit::RandBit ( HepRandomEngine anEngine,
double  a,
double  b 
)
inline
virtual CLHEP::RandBit::~RandBit ( )
virtual

Member Function Documentation

static int CLHEP::HepRandom::createInstance ( )
staticinherited
static std::string CLHEP::RandBit::distributionName ( )
inlinestatic

Definition at line 80 of file RandBit.h.

80 {return "RandBit";}
HepRandomEngine& CLHEP::RandFlat::engine ( )
virtualinherited

Reimplemented from CLHEP::HepRandom.

double CLHEP::RandFlat::fire ( )
inlineinherited
double CLHEP::RandFlat::fire ( double  width)
inlineinherited
double CLHEP::RandFlat::fire ( double  a,
double  b 
)
inlineinherited
void CLHEP::RandFlat::fireArray ( const int  size,
double *  vect 
)
inherited
void CLHEP::RandFlat::fireArray ( const int  size,
double *  vect,
double  lx,
double  dx 
)
inherited
int CLHEP::RandBit::fireBit ( )
inline
long CLHEP::RandFlat::fireInt ( long  n)
inlineinherited
long CLHEP::RandFlat::fireInt ( long  a1,
long  n 
)
inlineinherited
double CLHEP::HepRandom::flat ( )
inherited
double CLHEP::HepRandom::flat ( HepRandomEngine theNewEngine)
inlineinherited
void CLHEP::HepRandom::flatArray ( const int  size,
double *  vect 
)
inherited
void CLHEP::HepRandom::flatArray ( HepRandomEngine theNewEngine,
const int  size,
double *  vect 
)
inlineinherited
std::istream& CLHEP::RandBit::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandom.

static HepRandomEngine* CLHEP::HepRandom::getTheEngine ( )
staticinherited
static HepRandom* CLHEP::HepRandom::getTheGenerator ( )
staticinherited
static long CLHEP::HepRandom::getTheSeed ( )
staticinherited
static const long* CLHEP::HepRandom::getTheSeeds ( )
staticinherited
static void CLHEP::HepRandom::getTheTableSeeds ( long *  seeds,
int  index 
)
staticinherited
std::string CLHEP::RandBit::name ( ) const
virtual
double CLHEP::RandFlat::operator() ( )
virtualinherited

Reimplemented from CLHEP::HepRandom.

double CLHEP::RandFlat::operator() ( double  width)
inherited
double CLHEP::RandFlat::operator() ( double  a,
double  b 
)
inherited
std::ostream& CLHEP::RandBit::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::HepRandom.

static std::istream& CLHEP::RandBit::restoreDistState ( std::istream &  is)
inlinestatic

Definition at line 95 of file RandBit.h.

References CLHEP::RandFlat::restoreDistState().

97  {return RandFlat::restoreDistState(is);}
static std::istream & restoreDistState(std::istream &is)
static void CLHEP::RandFlat::restoreEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::istream& CLHEP::RandBit::restoreFullState ( std::istream &  is)
inlinestatic

Definition at line 87 of file RandBit.h.

References CLHEP::RandFlat::restoreFullState().

89  {return RandFlat::restoreFullState(is);}
static std::istream & restoreFullState(std::istream &is)
static std::istream& CLHEP::HepRandom::restoreStaticRandomStates ( std::istream &  is)
staticinherited
static std::ostream& CLHEP::RandBit::saveDistState ( std::ostream &  os)
inlinestatic

Definition at line 91 of file RandBit.h.

References CLHEP::RandFlat::saveDistState().

93  {return RandFlat::saveDistState(os);}
static std::ostream & saveDistState(std::ostream &os)
static void CLHEP::RandFlat::saveEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::ostream& CLHEP::RandBit::saveFullState ( std::ostream &  os)
inlinestatic

Definition at line 83 of file RandBit.h.

References CLHEP::RandFlat::saveFullState().

85  {return RandFlat::saveFullState(os);}
static std::ostream & saveFullState(std::ostream &os)
static std::ostream& CLHEP::HepRandom::saveStaticRandomStates ( std::ostream &  os)
staticinherited
static void CLHEP::HepRandom::setTheEngine ( HepRandomEngine theNewEngine)
staticinherited
static void CLHEP::HepRandom::setTheSeed ( long  seed,
int  lux = 3 
)
staticinherited
static void CLHEP::HepRandom::setTheSeeds ( const long *  seeds,
int  aux = -1 
)
staticinherited
static double CLHEP::RandFlat::shoot ( )
staticinherited
static double CLHEP::RandFlat::shoot ( double  width)
inlinestaticinherited
static double CLHEP::RandFlat::shoot ( double  a,
double  b 
)
inlinestaticinherited
static double CLHEP::RandFlat::shoot ( HepRandomEngine anEngine)
inlinestaticinherited
static double CLHEP::RandFlat::shoot ( HepRandomEngine anEngine,
double  width 
)
inlinestaticinherited
static double CLHEP::RandFlat::shoot ( HepRandomEngine anEngine,
double  a,
double  b 
)
inlinestaticinherited
static void CLHEP::RandFlat::shootArray ( const int  size,
double *  vect 
)
staticinherited
static void CLHEP::RandFlat::shootArray ( const int  size,
double *  vect,
double  lx,
double  dx 
)
staticinherited
static void CLHEP::RandFlat::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect 
)
inlinestaticinherited
static void CLHEP::RandFlat::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  lx,
double  dx 
)
staticinherited
static int CLHEP::RandBit::shootBit ( )
inlinestatic
static int CLHEP::RandBit::shootBit ( HepRandomEngine )
inlinestatic
static long CLHEP::RandFlat::shootInt ( long  n)
inlinestaticinherited
static long CLHEP::RandFlat::shootInt ( long  a1,
long  n 
)
inlinestaticinherited
static long CLHEP::RandFlat::shootInt ( HepRandomEngine anEngine,
long  n 
)
inlinestaticinherited
static long CLHEP::RandFlat::shootInt ( HepRandomEngine anEngine,
long  a1,
long  n 
)
inlinestaticinherited
static void CLHEP::HepRandom::showEngineStatus ( )
staticinherited

Member Data Documentation

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 157 of file Random.h.


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