#include <RandExponential.h>
◆ RandExponential() [1/2]
CLHEP::RandExponential::RandExponential |
( |
HepRandomEngine & |
anEngine, |
|
|
double |
mean = 1.0 |
|
) |
| |
|
inline |
◆ RandExponential() [2/2]
CLHEP::RandExponential::RandExponential |
( |
HepRandomEngine * |
anEngine, |
|
|
double |
mean = 1.0 |
|
) |
| |
|
inline |
◆ ~RandExponential()
CLHEP::RandExponential::~RandExponential |
( |
| ) |
|
|
virtual |
◆ distributionName()
static std::string CLHEP::RandExponential::distributionName |
( |
| ) |
|
|
inlinestatic |
◆ engine()
◆ fire() [1/2]
double CLHEP::RandExponential::fire |
( |
| ) |
|
|
inline |
◆ fire() [2/2]
double CLHEP::RandExponential::fire |
( |
double |
mean | ) |
|
|
inline |
◆ fireArray() [1/2]
void CLHEP::RandExponential::fireArray |
( |
const int |
size, |
|
|
double * |
vect |
|
) |
| |
◆ fireArray() [2/2]
void CLHEP::RandExponential::fireArray |
( |
const int |
size, |
|
|
double * |
vect, |
|
|
double |
mean |
|
) |
| |
◆ get()
std::istream & CLHEP::RandExponential::get |
( |
std::istream & |
is | ) |
|
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 87 of file RandExponential.cc.
90 if (inName !=
name()) {
91 is.clear(std::ios::badbit | is.rdstate());
92 std::cerr <<
"Mismatch when expecting to read state of a " 93 <<
name() <<
" distribution\n" 94 <<
"Name found was " << inName
95 <<
"\nistream is left in the badbit state\n";
99 std::vector<unsigned long> t(2);
bool possibleKeywordInput(IS &is, const std::string &key, T &t)
static double longs2double(const std::vector< unsigned long > &v)
◆ name()
std::string CLHEP::RandExponential::name |
( |
| ) |
const |
|
virtual |
◆ operator()() [1/2]
double CLHEP::RandExponential::operator() |
( |
| ) |
|
|
virtual |
◆ operator()() [2/2]
double CLHEP::RandExponential::operator() |
( |
double |
mean | ) |
|
◆ put()
std::ostream & CLHEP::RandExponential::put |
( |
std::ostream & |
os | ) |
const |
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 76 of file RandExponential.cc.
77 int pr=os.precision(20);
78 std::vector<unsigned long> t(2);
79 os <<
" " <<
name() <<
"\n";
82 os <<
defaultMean <<
" " << t[0] <<
" " << t[1] <<
"\n";
static std::vector< unsigned long > dto2longs(double d)
◆ shoot() [1/4]
double CLHEP::RandExponential::shoot |
( |
| ) |
|
|
static |
◆ shoot() [2/4]
double CLHEP::RandExponential::shoot |
( |
double |
mean | ) |
|
|
static |
◆ shoot() [3/4]
◆ shoot() [4/4]
static double CLHEP::RandExponential::shoot |
( |
HepRandomEngine * |
anEngine, |
|
|
double |
mean |
|
) |
| |
|
inlinestatic |
◆ shootArray() [1/2]
void CLHEP::RandExponential::shootArray |
( |
const int |
size, |
|
|
double * |
vect, |
|
|
double |
mean = 1.0 |
|
) |
| |
|
static |
◆ shootArray() [2/2]
void CLHEP::RandExponential::shootArray |
( |
HepRandomEngine * |
anEngine, |
|
|
const int |
size, |
|
|
double * |
vect, |
|
|
double |
mean = 1.0 |
|
) |
| |
|
static |
◆ defaultMean
double CLHEP::RandExponential::defaultMean |
|
private |
◆ localEngine
The documentation for this class was generated from the following files: