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

CLHEP::RandGamma Class Reference

#include <RandGamma.h>

Inheritance diagram for CLHEP::RandGamma:

CLHEP::HepRandom List of all members.

Public Member Functions

 RandGamma (HepRandomEngine &anEngine, double k=1.0, double lambda=1.0)
 RandGamma (HepRandomEngine *anEngine, double k=1.0, double lambda=1.0)
virtual ~RandGamma ()
double fire ()
double fire (double k, double lambda)
void fireArray (const int size, double *vect)
void fireArray (const int size, double *vect, double k, double lambda)
double operator() ()
double operator() (double k, double lambda)
std::ostream & put (std::ostream &os) const
std::istream & get (std::istream &is)
std::string name () const
HepRandomEngineengine ()

Static Public Member Functions

static double shoot ()
static double shoot (double k, double lambda)
static void shootArray (const int size, double *vect, double k=1.0, double lambda=1.0)
static double shoot (HepRandomEngine *anEngine)
static double shoot (HepRandomEngine *anEngine, double k, double lambda)
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double k=1.0, double lambda=1.0)
static std::string distributionName ()

Detailed Description

Author:

Definition at line 37 of file RandGamma.h.


Constructor & Destructor Documentation

CLHEP::RandGamma::RandGamma ( HepRandomEngine anEngine,
double  k = 1.0,
double  lambda = 1.0 
) [inline]

CLHEP::RandGamma::RandGamma ( HepRandomEngine anEngine,
double  k = 1.0,
double  lambda = 1.0 
) [inline]

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

Definition at line 28 of file RandGamma.cc.


Member Function Documentation

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

Reimplemented from CLHEP::HepRandom.

Definition at line 99 of file RandGamma.h.

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

Reimplemented from CLHEP::HepRandom.

Definition at line 26 of file RandGamma.cc.

double CLHEP::RandGamma::fire ( double  k,
double  lambda 
)

Definition at line 46 of file RandGamma.cc.

double CLHEP::RandGamma::fire (  )  [inline]

Referenced by dist_layout(), and fireArray().

void CLHEP::RandGamma::fireArray ( const int  size,
double *  vect,
double  k,
double  lambda 
)

Definition at line 77 of file RandGamma.cc.

References fire().

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

Definition at line 69 of file RandGamma.cc.

References fire().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 256 of file RandGamma.cc.

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

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

Reimplemented from CLHEP::HepRandom.

Definition at line 25 of file RandGamma.cc.

Referenced by get(), and put().

double CLHEP::RandGamma::operator() ( double  k,
double  lambda 
) [inline]

double CLHEP::RandGamma::operator() (  )  [inline, virtual]

Reimplemented from CLHEP::HepRandom.

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

Reimplemented from CLHEP::HepRandom.

Definition at line 236 of file RandGamma.cc.

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

double CLHEP::RandGamma::shoot ( HepRandomEngine anEngine,
double  k,
double  lambda 
) [static]

Definition at line 36 of file RandGamma.cc.

static double CLHEP::RandGamma::shoot ( HepRandomEngine anEngine  )  [inline, static]

double CLHEP::RandGamma::shoot ( double  k,
double  lambda 
) [static]

Definition at line 41 of file RandGamma.cc.

References CLHEP::HepRandom::getTheEngine().

static double CLHEP::RandGamma::shoot (  )  [inline, static]

Referenced by shootArray().

void CLHEP::RandGamma::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  k = 1.0,
double  lambda = 1.0 
) [static]

Definition at line 59 of file RandGamma.cc.

References shoot().

void CLHEP::RandGamma::shootArray ( const int  size,
double *  vect,
double  k = 1.0,
double  lambda = 1.0 
) [static]

Definition at line 50 of file RandGamma.cc.

References shoot().


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