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

CLHEP::RandExponential Class Reference

#include <RandExponential.h>

Inheritance diagram for CLHEP::RandExponential:

CLHEP::HepRandom List of all members.

Public Member Functions

 RandExponential (HepRandomEngine &anEngine, double mean=1.0)
 RandExponential (HepRandomEngine *anEngine, double mean=1.0)
virtual ~RandExponential ()
double fire ()
double fire (double mean)
void fireArray (const int size, double *vect)
void fireArray (const int size, double *vect, double mean)
double operator() ()
double operator() (double mean)
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 mean)
static void shootArray (const int size, double *vect, double mean=1.0)
static double shoot (HepRandomEngine *anEngine)
static double shoot (HepRandomEngine *anEngine, double mean)
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double mean=1.0)
static std::string distributionName ()

Detailed Description

Author:
<Gabriele.Cosmo@cern.ch>

Definition at line 36 of file RandExponential.h.


Constructor & Destructor Documentation

CLHEP::RandExponential::RandExponential ( HepRandomEngine anEngine,
double  mean = 1.0 
) [inline]

CLHEP::RandExponential::RandExponential ( HepRandomEngine anEngine,
double  mean = 1.0 
) [inline]

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

Definition at line 31 of file RandExponential.cc.


Member Function Documentation

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

Reimplemented from CLHEP::HepRandom.

Definition at line 94 of file RandExponential.h.

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

Reimplemented from CLHEP::HepRandom.

Definition at line 29 of file RandExponential.cc.

double CLHEP::RandExponential::fire ( double  mean  )  [inline]

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

Referenced by dist_layout(), fireArray(), and operator()().

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

Definition at line 70 of file RandExponential.cc.

References fire().

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

Definition at line 64 of file RandExponential.cc.

References fire().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 95 of file RandExponential.cc.

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

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

Reimplemented from CLHEP::HepRandom.

Definition at line 28 of file RandExponential.cc.

Referenced by get(), and put().

double CLHEP::RandExponential::operator() ( double  mean  ) 

Definition at line 38 of file RandExponential.cc.

References fire().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 34 of file RandExponential.cc.

References fire().

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

Reimplemented from CLHEP::HepRandom.

Definition at line 77 of file RandExponential.cc.

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

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

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

double CLHEP::RandExponential::shoot ( double  mean  )  [static]

Definition at line 46 of file RandExponential.cc.

References CLHEP::HepRandom::flat(), and CLHEP::HepRandom::getTheEngine().

double CLHEP::RandExponential::shoot (  )  [static]

Definition at line 42 of file RandExponential.cc.

References CLHEP::HepRandom::flat(), and CLHEP::HepRandom::getTheEngine().

Referenced by shootArray().

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

Definition at line 57 of file RandExponential.cc.

References shoot().

void CLHEP::RandExponential::shootArray ( const int  size,
double *  vect,
double  mean = 1.0 
) [static]

Definition at line 50 of file RandExponential.cc.

References shoot().


The documentation for this class was generated from the following files:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7