17 #include "CLHEP/Random/RandBit.h"
27 std::ostream & RandBit::put ( std::ostream & os )
const {
28 os <<
" " <<
name() <<
"\n";
33 std::istream & RandBit::get ( std::istream & is ) {
36 if (inName !=
name()) {
37 is.clear(std::ios::badbit | is.rdstate());
38 std::cerr <<
"Mismatch when expecting to read state of a "
39 <<
name() <<
" distribution\n"
40 <<
"Name found was " << inName
41 <<
"\nistream is left in the badbit state\n";