CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

CLHEP::Hurd288Engine Class Reference

#include <Hurd288Engine.h>

Inheritance diagram for CLHEP::Hurd288Engine:

CLHEP::HepRandomEngine List of all members.

Public Member Functions

 Hurd288Engine ()
 Hurd288Engine (std::istream &is)
 Hurd288Engine (long seed)
 Hurd288Engine (int rowIndex, int colIndex)
virtual ~Hurd288Engine ()
double flat ()
void flatArray (const int size, double *vect)
void setSeed (long seed, int)
void setSeeds (const long *seeds, int)
void saveStatus (const char filename[]="Hurd288Engine.conf") const
void restoreStatus (const char filename[]="Hurd288Engine.conf")
void showStatus () const
 operator float ()
 operator unsigned int ()
virtual std::ostream & put (std::ostream &os) const
virtual std::istream & get (std::istream &is)
virtual std::istream & getState (std::istream &is)
std::string name () const
std::vector< unsigned long > put () const
bool get (const std::vector< unsigned long > &v)
bool getState (const std::vector< unsigned long > &v)

Static Public Member Functions

static std::string beginTag ()
static std::string engineName ()

Static Public Attributes

static const unsigned int VECTOR_STATE_SIZE = 11

Detailed Description

Author:

Definition at line 40 of file Hurd288Engine.h.


Constructor & Destructor Documentation

CLHEP::Hurd288Engine::Hurd288Engine (  ) 

Definition at line 64 of file Hurd288Engine.cc.

References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().

CLHEP::Hurd288Engine::Hurd288Engine ( std::istream &  is  ) 

Definition at line 81 of file Hurd288Engine.cc.

CLHEP::Hurd288Engine::Hurd288Engine ( long  seed  ) 

Definition at line 87 of file Hurd288Engine.cc.

References flat(), and setSeeds().

CLHEP::Hurd288Engine::Hurd288Engine ( int  rowIndex,
int  colIndex 
)

Definition at line 97 of file Hurd288Engine.cc.

References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().

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

Definition at line 112 of file Hurd288Engine.cc.


Member Function Documentation

std::string CLHEP::Hurd288Engine::beginTag (  )  [static]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 326 of file Hurd288Engine.cc.

static std::string CLHEP::Hurd288Engine::engineName (  )  [inline, static]

Definition at line 83 of file Hurd288Engine.h.

Referenced by restoreStatus().

double CLHEP::Hurd288Engine::flat (  )  [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 150 of file Hurd288Engine.cc.

References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().

Referenced by flatArray(), and Hurd288Engine().

void CLHEP::Hurd288Engine::flatArray ( const int  size,
double *  vect 
) [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 165 of file Hurd288Engine.cc.

References flat().

bool CLHEP::Hurd288Engine::get ( const std::vector< unsigned long > &  v  )  [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 368 of file Hurd288Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 309 of file Hurd288Engine.cc.

References getState().

Referenced by CLHEP::TripleRand::getState().

bool CLHEP::Hurd288Engine::getState ( const std::vector< unsigned long > &  v  )  [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 379 of file Hurd288Engine.cc.

References VECTOR_STATE_SIZE.

std::istream & CLHEP::Hurd288Engine::getState ( std::istream &  is  )  [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 330 of file Hurd288Engine.cc.

References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.

Referenced by get(), and restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 50 of file Hurd288Engine.cc.

CLHEP::Hurd288Engine::operator float (  )  [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 261 of file Hurd288Engine.cc.

References CLHEP::HepRandomEngine::twoToMinus_32().

CLHEP::Hurd288Engine::operator unsigned int (  )  [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 268 of file Hurd288Engine.cc.

std::vector< unsigned long > CLHEP::Hurd288Engine::put (  )  const [virtual]

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 298 of file Hurd288Engine.cc.

Referenced by put(), and saveStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 275 of file Hurd288Engine.cc.

References put(), and CLHEP::HepRandomEngine::theSeed.

Referenced by CLHEP::TripleRand::put().

void CLHEP::Hurd288Engine::restoreStatus ( const char  filename[] = "Hurd288Engine.conf"  )  [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 212 of file Hurd288Engine.cc.

References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.

void CLHEP::Hurd288Engine::saveStatus ( const char  filename[] = "Hurd288Engine.conf"  )  const [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 183 of file Hurd288Engine.cc.

References put(), and CLHEP::HepRandomEngine::theSeed.

void CLHEP::Hurd288Engine::setSeed ( long  seed,
int   
) [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 171 of file Hurd288Engine.cc.

Referenced by setSeeds().

void CLHEP::Hurd288Engine::setSeeds ( const long *  seeds,
int   
) [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 178 of file Hurd288Engine.cc.

References setSeed(), and CLHEP::HepRandomEngine::theSeeds.

Referenced by Hurd288Engine().

void CLHEP::Hurd288Engine::showStatus (  )  const [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 249 of file Hurd288Engine.cc.

References CLHEP::HepRandomEngine::theSeed.


Member Data Documentation

const unsigned int CLHEP::Hurd288Engine::VECTOR_STATE_SIZE = 11 [static]

Definition at line 89 of file Hurd288Engine.h.

Referenced by getState(), and restoreStatus().


The documentation for this class was generated from the following files:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7