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

CLHEP::Hurd160Engine Class Reference

#include <Hurd160Engine.h>

Inheritance diagram for CLHEP::Hurd160Engine:

CLHEP::HepRandomEngine List of all members.

Public Member Functions

 Hurd160Engine ()
 Hurd160Engine (std::istream &is)
 Hurd160Engine (long seed)
 Hurd160Engine (int rowIndex, int colIndex)
virtual ~Hurd160Engine ()
 Hurd160Engine (const Hurd160Engine &p)
Hurd160Engineoperator= (const Hurd160Engine &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[]="Hurd160Engine.conf") const
void restoreStatus (const char filename[]="Hurd160Engine.conf")
void showStatus () const
 operator float ()
 operator unsigned int ()
virtual std::ostream & put (std::ostream &os) const
virtual std::istream & get (std::istream &is)
std::string name () const
virtual std::istream & getState (std::istream &is)
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 engineName ()
static std::string beginTag ()

Static Public Attributes

static const unsigned int VECTOR_STATE_SIZE = 7

Detailed Description

Author:

Definition at line 41 of file Hurd160Engine.h.


Constructor & Destructor Documentation

CLHEP::Hurd160Engine::Hurd160Engine (  ) 

Definition at line 68 of file Hurd160Engine.cc.

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

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

Definition at line 84 of file Hurd160Engine.cc.

CLHEP::Hurd160Engine::Hurd160Engine ( long  seed  ) 

Definition at line 88 of file Hurd160Engine.cc.

References flat(), and setSeeds().

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

Definition at line 97 of file Hurd160Engine.cc.

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

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

Definition at line 112 of file Hurd160Engine.cc.

CLHEP::Hurd160Engine::Hurd160Engine ( const Hurd160Engine p  ) 

Definition at line 114 of file Hurd160Engine.cc.


Member Function Documentation

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 329 of file Hurd160Engine.cc.

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

Definition at line 86 of file Hurd160Engine.h.

Referenced by restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 151 of file Hurd160Engine.cc.

Referenced by flatArray(), and Hurd160Engine().

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

Implements CLHEP::HepRandomEngine.

Definition at line 166 of file Hurd160Engine.cc.

References flat().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 372 of file Hurd160Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 312 of file Hurd160Engine.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 381 of file Hurd160Engine.cc.

References VECTOR_STATE_SIZE.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 333 of file Hurd160Engine.cc.

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

Referenced by get(), and restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 49 of file Hurd160Engine.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 264 of file Hurd160Engine.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 271 of file Hurd160Engine.cc.

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

Definition at line 119 of file Hurd160Engine.cc.

References wordIndex, and words.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 301 of file Hurd160Engine.cc.

Referenced by put(), and saveStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 278 of file Hurd160Engine.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 213 of file Hurd160Engine.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 184 of file Hurd160Engine.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 172 of file Hurd160Engine.cc.

Referenced by setSeeds().

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

Implements CLHEP::HepRandomEngine.

Definition at line 179 of file Hurd160Engine.cc.

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

Referenced by Hurd160Engine().

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

Implements CLHEP::HepRandomEngine.

Definition at line 250 of file Hurd160Engine.cc.

References CLHEP::HepRandomEngine::theSeed.


Member Data Documentation

const unsigned int CLHEP::Hurd160Engine::VECTOR_STATE_SIZE = 7 [static]

Definition at line 94 of file Hurd160Engine.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