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

Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes
CLHEP::TripleRand Class Reference

#include <TripleRand.h>

Inheritance diagram for CLHEP::TripleRand:
CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine

List of all members.

Classes

class  IntegerCong
class  Tausworthe

Public Member Functions

 TripleRand ()
 TripleRand (long seed)
 TripleRand (std::istream &is)
 TripleRand (int rowIndex, int colIndex)
virtual ~TripleRand ()
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[]="TripleRand.conf") const
void restoreStatus (const char filename[]="TripleRand.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)
 TripleRand ()
 TripleRand (long seed)
 TripleRand (std::istream &is)
 TripleRand (int rowIndex, int colIndex)
virtual ~TripleRand ()
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[]="TripleRand.conf") const
void restoreStatus (const char filename[]="TripleRand.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)
 TripleRand ()
 TripleRand (long seed)
 TripleRand (std::istream &is)
 TripleRand (int rowIndex, int colIndex)
virtual ~TripleRand ()
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[]="TripleRand.conf") const
void restoreStatus (const char filename[]="TripleRand.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)
 TripleRand ()
 TripleRand (long seed)
 TripleRand (std::istream &is)
 TripleRand (int rowIndex, int colIndex)
virtual ~TripleRand ()
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[]="TripleRand.conf") const
void restoreStatus (const char filename[]="TripleRand.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 std::string beginTag ()
static std::string engineName ()
static std::string beginTag ()
static std::string engineName ()
static std::string beginTag ()
static std::string engineName ()

Static Public Attributes

static const unsigned int VECTOR_STATE_SIZE = 20

Detailed Description

Author:

Definition at line 52 of file Matrix/CLHEP/Random/TripleRand.h.


Constructor & Destructor Documentation

Definition at line 60 of file TripleRand.cc.

References CLHEP::HepRandomEngine::theSeed.

Definition at line 70 of file TripleRand.cc.

References CLHEP::HepRandomEngine::theSeed.

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

Definition at line 79 of file TripleRand.cc.

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

Definition at line 85 of file TripleRand.cc.

References CLHEP::HepRandomEngine::theSeed.

Definition at line 94 of file TripleRand.cc.

CLHEP::TripleRand::TripleRand ( std::istream &  is)
CLHEP::TripleRand::TripleRand ( int  rowIndex,
int  colIndex 
)
virtual CLHEP::TripleRand::~TripleRand ( ) [virtual]
CLHEP::TripleRand::TripleRand ( std::istream &  is)
CLHEP::TripleRand::TripleRand ( int  rowIndex,
int  colIndex 
)
virtual CLHEP::TripleRand::~TripleRand ( ) [virtual]
CLHEP::TripleRand::TripleRand ( std::istream &  is)
CLHEP::TripleRand::TripleRand ( int  rowIndex,
int  colIndex 
)
virtual CLHEP::TripleRand::~TripleRand ( ) [virtual]

Member Function Documentation

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 268 of file TripleRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Definition at line 95 of file Random/CLHEP/Random/TripleRand.h.

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

Definition at line 95 of file RandomObjects/CLHEP/Random/TripleRand.h.

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

Definition at line 95 of file Random/Random/TripleRand.h.

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

Definition at line 95 of file Matrix/CLHEP/Random/TripleRand.h.

Referenced by restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 106 of file TripleRand.cc.

References flat().

void CLHEP::TripleRand::flatArray ( const int  size,
double vect 
) [virtual]
void CLHEP::TripleRand::flatArray ( const int  size,
double vect 
) [virtual]
void CLHEP::TripleRand::flatArray ( const int  size,
double vect 
) [virtual]
virtual std::istream& CLHEP::TripleRand::get ( std::istream &  is) [virtual]

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 251 of file TripleRand.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 309 of file TripleRand.cc.

References getState(), and VECTOR_STATE_SIZE.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 272 of file TripleRand.cc.

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

Referenced by get(), and restoreStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 323 of file TripleRand.cc.

References CLHEP::Hurd288Engine::get().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Implements CLHEP::HepRandomEngine.

Definition at line 58 of file TripleRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 208 of file TripleRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 217 of file TripleRand.cc.

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

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 239 of file TripleRand.cc.

References CLHEP::Hurd288Engine::put().

Referenced by put(), and saveStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 124 of file TripleRand.cc.

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

void CLHEP::TripleRand::saveStatus ( const char  filename[] = "TripleRand.conf") const [virtual]
void CLHEP::TripleRand::setSeed ( long  seed,
int   
) [virtual]
void CLHEP::TripleRand::setSeed ( long  seed,
int   
) [virtual]
void CLHEP::TripleRand::setSeed ( long  seed,
int   
) [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 112 of file TripleRand.cc.

References CLHEP::HepRandomEngine::theSeed.

Referenced by setSeeds().

void CLHEP::TripleRand::setSeed ( long  seed,
int   
) [virtual]
void CLHEP::TripleRand::setSeeds ( const long *  seeds,
int   
) [virtual]
void CLHEP::TripleRand::setSeeds ( const long *  seeds,
int   
) [virtual]

Implements CLHEP::HepRandomEngine.

Definition at line 119 of file TripleRand.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 187 of file TripleRand.cc.

References CLHEP::HepRandomEngine::theSeed.

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

Member Data Documentation

static const unsigned int CLHEP::TripleRand::VECTOR_STATE_SIZE = 20 [static]

Definition at line 101 of file Matrix/CLHEP/Random/TripleRand.h.

Referenced by get(), getState(), and restoreStatus().


The documentation for this class was generated from the following files: