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

CLHEP::RandGeneral Class Reference

#include <RandGeneral.h>

Inheritance diagram for CLHEP::RandGeneral:

CLHEP::HepRandom List of all members.

Public Member Functions

 RandGeneral (const double *aProbFunc, int theProbSize, int IntType=0)
 RandGeneral (HepRandomEngine &anEngine, const double *aProbFunc, int theProbSize, int IntType=0)
 RandGeneral (HepRandomEngine *anEngine, const double *aProbFunc, int theProbSize, int IntType=0)
virtual ~RandGeneral ()
double shoot ()
void shootArray (const int size, double *vect)
double shoot (HepRandomEngine *anEngine)
void shootArray (HepRandomEngine *anEngine, const int size, double *vect)
double fire ()
void fireArray (const int size, double *vect)
double operator() ()
std::ostream & put (std::ostream &os) const
std::istream & get (std::istream &is)
std::string name () const
HepRandomEngineengine ()

Static Public Member Functions

static std::string distributionName ()

Detailed Description

Author:

Definition at line 39 of file RandGeneral.h.


Constructor & Destructor Documentation

CLHEP::RandGeneral::RandGeneral ( const double *  aProbFunc,
int  theProbSize,
int  IntType = 0 
)

Definition at line 65 of file RandGeneral.cc.

References CLHEP::HepRandom::getTheEngine().

CLHEP::RandGeneral::RandGeneral ( HepRandomEngine anEngine,
const double *  aProbFunc,
int  theProbSize,
int  IntType = 0 
)

Definition at line 76 of file RandGeneral.cc.

CLHEP::RandGeneral::RandGeneral ( HepRandomEngine anEngine,
const double *  aProbFunc,
int  theProbSize,
int  IntType = 0 
)

Definition at line 88 of file RandGeneral.cc.

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

Definition at line 173 of file RandGeneral.cc.


Member Function Documentation

static std::string CLHEP::RandGeneral::distributionName (  )  [inline, static]

Reimplemented from CLHEP::HepRandom.

Definition at line 125 of file RandGeneral.h.

HepRandomEngine & CLHEP::RandGeneral::engine (  )  [virtual]

Reimplemented from CLHEP::HepRandom.

Definition at line 58 of file RandGeneral.cc.

Referenced by checkRandGeneralDistribution().

double CLHEP::RandGeneral::fire (  ) 

Referenced by fireArray(), and testRandGeneral().

void CLHEP::RandGeneral::fireArray ( const int  size,
double *  vect 
)

Definition at line 242 of file RandGeneral.cc.

References fire().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 278 of file RandGeneral.cc.

References CLHEP::DoubConv::longs2double(), name(), and CLHEP::possibleKeywordInput().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 57 of file RandGeneral.cc.

Referenced by checkRandGeneralDistribution(), get(), and put().

double CLHEP::RandGeneral::operator() (  )  [virtual]

Reimplemented from CLHEP::HepRandom.

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

Reimplemented from CLHEP::HepRandom.

Definition at line 251 of file RandGeneral.cc.

References CLHEP::DoubConv::dto2longs(), and name().

double CLHEP::RandGeneral::shoot ( HepRandomEngine anEngine  ) 

double CLHEP::RandGeneral::shoot (  )  [inline]

Referenced by shootArray().

void CLHEP::RandGeneral::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect 
)

Definition at line 232 of file RandGeneral.cc.

References shoot().

void CLHEP::RandGeneral::shootArray ( const int  size,
double *  vect 
) [inline]


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 22:02:32 2010 for CLHEP by  doxygen 1.4.7