31 #include "CLHEP/Random/defs.h" 32 #include "CLHEP/Random/RandFlat.h" 40 class RandBit :
public RandFlat {
44 inline RandBit ( HepRandomEngine& anEngine );
45 inline RandBit ( HepRandomEngine& anEngine,
double width );
46 inline RandBit ( HepRandomEngine& anEngine,
double a,
double b );
47 inline RandBit ( HepRandomEngine* anEngine );
48 inline RandBit ( HepRandomEngine* anEngine,
double width );
49 inline RandBit ( HepRandomEngine* anEngine,
double a,
double b );
67 static inline int shootBit( HepRandomEngine* );
76 std::ostream &
put ( std::ostream & os )
const;
77 std::istream &
get ( std::istream & is );
79 std::string
name()
const;
110 #ifdef ENABLE_BACKWARDS_COMPATIBILITY 112 using namespace CLHEP;
115 #include "CLHEP/Random/RandBit.icc" RandBit(HepRandomEngine &anEngine)
static std::ostream & saveFullState(std::ostream &os)
static std::ostream & saveDistState(std::ostream &os)
static std::istream & restoreDistState(std::istream &is)
static std::istream & restoreDistState(std::istream &is)
static std::ostream & saveFullState(std::ostream &os)
static std::string distributionName()
static std::istream & restoreFullState(std::istream &is)
std::ostream & put(std::ostream &os) const
static std::ostream & saveDistState(std::ostream &os)
static std::istream & restoreFullState(std::istream &is)