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

CLHEP::RandPoissonT Class Reference

#include <RandPoissonT.h>

Inheritance diagram for CLHEP::RandPoissonT:

CLHEP::RandPoisson CLHEP::HepRandom List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Author:

Definition at line 41 of file RandPoissonT.h.


Constructor & Destructor Documentation

CLHEP::RandPoissonT::RandPoissonT ( HepRandomEngine anEngine,
double  m = 1.0 
)

Definition at line 41 of file RandPoissonT.cc.

CLHEP::RandPoissonT::RandPoissonT ( HepRandomEngine anEngine,
double  m = 1.0 
)

Definition at line 45 of file RandPoissonT.cc.

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

Definition at line 49 of file RandPoissonT.cc.


Member Function Documentation

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 93 of file RandPoissonT.h.

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 39 of file RandPoissonT.cc.

References CLHEP::RandPoisson::engine().

long CLHEP::RandPoissonT::fire ( double  m  ) 

Reimplemented from CLHEP::RandPoisson.

Definition at line 69 of file RandPoissonT.cc.

References CLHEP::RandPoisson::getLocalEngine(), and shoot().

long CLHEP::RandPoissonT::fire (  ) 

Reimplemented from CLHEP::RandPoisson.

Definition at line 73 of file RandPoissonT.cc.

References CLHEP::RandPoisson::defaultMean, CLHEP::RandPoisson::getLocalEngine(), CLHEP::RandPoisson::shoot(), CLHEP::RandPoissonQ::shoot(), and CLHEP::RandPoissonQ::tableBoundary().

Referenced by fireArray(), main(), operator()(), and testRandPoissonT().

void CLHEP::RandPoissonT::fireArray ( const int  size,
long *  vect,
double  m 
)

Reimplemented from CLHEP::RandPoisson.

Definition at line 99 of file RandPoissonT.cc.

References fire().

void CLHEP::RandPoissonT::fireArray ( const int  size,
long *  vect 
)

Reimplemented from CLHEP::RandPoisson.

Definition at line 106 of file RandPoissonT.cc.

References CLHEP::RandPoisson::defaultMean, and fire().

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 122 of file RandPoissonT.cc.

References CLHEP::RandPoisson::get(), and name().

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 38 of file RandPoissonT.cc.

Referenced by get(), and put().

double CLHEP::RandPoissonT::operator() ( double  m  ) 

Reimplemented from CLHEP::RandPoisson.

Definition at line 65 of file RandPoissonT.cc.

References double, and fire().

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 61 of file RandPoissonT.cc.

References double, and fire().

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

Reimplemented from CLHEP::RandPoisson.

Definition at line 114 of file RandPoissonT.cc.

References name(), and CLHEP::RandPoisson::put().

long CLHEP::RandPoissonT::shoot ( HepRandomEngine anEngine,
double  m = 1.0 
) [static]

Reimplemented from CLHEP::RandPoisson.

Definition at line 83 of file RandPoissonT.cc.

References CLHEP::RandPoisson::shoot(), CLHEP::RandPoissonQ::shoot(), and CLHEP::RandPoissonQ::tableBoundary().

long CLHEP::RandPoissonT::shoot ( double  m = 1.0  )  [static]

Reimplemented from CLHEP::RandPoisson.

Definition at line 56 of file RandPoissonT.cc.

References CLHEP::HepRandom::getTheEngine().

Referenced by fire(), and shootArray().

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

Reimplemented from CLHEP::RandPoisson.

void CLHEP::RandPoissonT::shootArray ( const int  size,
long *  vect,
double  m = 1.0 
) [static]

Reimplemented from CLHEP::RandPoisson.

Definition at line 93 of file RandPoissonT.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