CLHEP 2.0.4.7 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 ()
 Hurd288Engine (const Hurd288Engine &p)
Hurd288Engineoperator= (const Hurd288Engine &p)
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 75 of file Hurd288Engine.cc.

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

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

Definition at line 91 of file Hurd288Engine.cc.

CLHEP::Hurd288Engine::Hurd288Engine ( long  seed  ) 

Definition at line 96 of file Hurd288Engine.cc.

References flat(), and setSeeds().

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

Definition at line 105 of file Hurd288Engine.cc.

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

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

Definition at line 119 of file Hurd288Engine.cc.

CLHEP::Hurd288Engine::Hurd288Engine ( const Hurd288Engine p  ) 

Definition at line 121 of file Hurd288Engine.cc.


Member Function Documentation

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 348 of file Hurd288Engine.cc.

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

Definition at line 87 of file Hurd288Engine.h.

Referenced by restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 172 of file Hurd288Engine.cc.

Referenced by flatArray(), and Hurd288Engine().

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

Implements CLHEP::HepRandomEngine.

Definition at line 187 of file Hurd288Engine.cc.

References flat().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 390 of file Hurd288Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 331 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 401 of file Hurd288Engine.cc.

References VECTOR_STATE_SIZE.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 352 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 55 of file Hurd288Engine.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 283 of file Hurd288Engine.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 290 of file Hurd288Engine.cc.

Hurd288Engine & CLHEP::Hurd288Engine::operator= ( const Hurd288Engine p  ) 

Definition at line 126 of file Hurd288Engine.cc.

References wordIndex, and words.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 320 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 297 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 234 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 205 of file Hurd288Engine.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 193 of file Hurd288Engine.cc.

Referenced by setSeeds().

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

Implements CLHEP::HepRandomEngine.

Definition at line 200 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 271 of file Hurd288Engine.cc.

References CLHEP::HepRandomEngine::theSeed.


Member Data Documentation

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

Definition at line 93 of file Hurd288Engine.h.

Referenced by getState(), and restoreStatus().


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