Warning, file /include/CLHEP/Random/RandPoisson.icc was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 namespace CLHEP {
0016
0017 inline RandPoisson::RandPoisson(HepRandomEngine & anEngine, double a1 )
0018 : HepRandom(), meanMax(2.0E9), defaultMean(a1),
0019 localEngine(&anEngine, do_nothing_deleter()), oldm(-1.0) {
0020 status[0] = status[1] = status[2] = 0.;
0021 }
0022
0023 inline RandPoisson::RandPoisson(HepRandomEngine * anEngine, double a1 )
0024 : HepRandom(), meanMax(2.0E9), defaultMean(a1),
0025 localEngine(anEngine), oldm(-1.0) {
0026 status[0] = status[1] = status[2] = 0.;
0027 }
0028
0029 inline HepRandomEngine * RandPoisson::getLocalEngine() {
0030 return localEngine.get();
0031 }
0032
0033 }