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

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

#include <DualRand.h>

Inheritance diagram for CLHEP::DualRand:
CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine CLHEP::HepRandomEngine

List of all members.

Classes

class  IntegerCong
class  Tausworthe

Public Member Functions

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

Detailed Description

Author:

Definition at line 51 of file Matrix/CLHEP/Random/DualRand.h.


Constructor & Destructor Documentation

Definition at line 76 of file DualRand.cc.

References CLHEP::HepRandomEngine::theSeed.

CLHEP::DualRand::DualRand ( long  seed)

Definition at line 85 of file DualRand.cc.

References CLHEP::HepRandomEngine::theSeed.

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

Definition at line 93 of file DualRand.cc.

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

Definition at line 99 of file DualRand.cc.

References CLHEP::HepRandomEngine::theSeed.

Definition at line 107 of file DualRand.cc.

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

Member Function Documentation

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 270 of file DualRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Definition at line 97 of file Random/CLHEP/Random/DualRand.h.

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

Definition at line 97 of file RandomObjects/CLHEP/Random/DualRand.h.

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

Definition at line 97 of file Random/Random/DualRand.h.

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

Definition at line 97 of file Matrix/CLHEP/Random/DualRand.h.

Referenced by restoreStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 118 of file DualRand.cc.

References flat().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 253 of file DualRand.cc.

References getState().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 310 of file DualRand.cc.

References getState(), and VECTOR_STATE_SIZE.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 274 of file DualRand.cc.

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

Referenced by get(), and restoreStatus().

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 324 of file DualRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Implements CLHEP::HepRandomEngine.

Definition at line 65 of file DualRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 220 of file DualRand.cc.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 224 of file DualRand.cc.

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

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

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

Reimplemented from CLHEP::HepRandomEngine.

Definition at line 245 of file DualRand.cc.

Referenced by put(), and saveStatus().

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

Implements CLHEP::HepRandomEngine.

Definition at line 135 of file DualRand.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 124 of file DualRand.cc.

References CLHEP::HepRandomEngine::theSeed.

Referenced by setSeeds().

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

Implements CLHEP::HepRandomEngine.

Definition at line 130 of file DualRand.cc.

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

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

Implements CLHEP::HepRandomEngine.

Definition at line 199 of file DualRand.cc.

References CLHEP::HepRandomEngine::theSeed.

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

Member Data Documentation

static const unsigned int CLHEP::DualRand::VECTOR_STATE_SIZE = 9 [static]

Definition at line 103 of file Matrix/CLHEP/Random/DualRand.h.

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


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