CLHEP 2.0.4.7 Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

CLHEP::RandBit Class Reference

#include <RandBit.h>

Inheritance diagram for CLHEP::RandBit:

CLHEP::RandFlat CLHEP::HepRandom List of all members.

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

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)

Detailed Description

Author:

Definition at line 40 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]

CLHEP::RandBit::~RandBit (  )  [virtual]

Definition at line 25 of file RandBit.cc.


Member Function Documentation

static std::string CLHEP::RandBit::distributionName (  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

Definition at line 81 of file RandBit.h.

int CLHEP::RandBit::fireBit (  )  [inline]

Reimplemented from CLHEP::RandFlat.

Referenced by main().

std::istream & CLHEP::RandBit::get ( std::istream &  is  )  [virtual]

Reimplemented from CLHEP::RandFlat.

Definition at line 37 of file RandBit.cc.

References CLHEP::RandFlat::get(), and name().

std::string CLHEP::RandBit::name (  )  const [virtual]

Reimplemented from CLHEP::RandFlat.

Definition at line 23 of file RandBit.cc.

Referenced by get(), and put().

std::ostream & CLHEP::RandBit::put ( std::ostream &  os  )  const [virtual]

Reimplemented from CLHEP::RandFlat.

Definition at line 31 of file RandBit.cc.

References name(), and CLHEP::RandFlat::put().

static std::istream& CLHEP::RandBit::restoreDistState ( std::istream &  is  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

Definition at line 96 of file RandBit.h.

References CLHEP::RandFlat::restoreDistState().

static std::istream& CLHEP::RandBit::restoreFullState ( std::istream &  is  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

Definition at line 88 of file RandBit.h.

References CLHEP::RandFlat::restoreFullState().

static std::ostream& CLHEP::RandBit::saveDistState ( std::ostream &  os  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

Definition at line 92 of file RandBit.h.

References CLHEP::RandFlat::saveDistState().

static std::ostream& CLHEP::RandBit::saveFullState ( std::ostream &  os  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

Definition at line 84 of file RandBit.h.

References CLHEP::RandFlat::saveFullState().

static int CLHEP::RandBit::shootBit ( HepRandomEngine  )  [inline, static]

Reimplemented from CLHEP::RandFlat.

static int CLHEP::RandBit::shootBit (  )  [inline, static]

Reimplemented from CLHEP::RandFlat.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 22:02:31 2010 for CLHEP by  doxygen 1.4.7