4 // -----------------------------------------------------------------------
7 // inlined functions implementation file
8 // -----------------------------------------------------------------------
9 // This file is part of Geant4 (simulation toolkit for HEP).
11 // =======================================================================
12 // Gabriele Cosmo - Created: 19th August 1998
13 // =======================================================================
17 inline RandPoisson::RandPoisson(HepRandomEngine & anEngine, double a )
18 : HepRandom(), meanMax(2.0E9), defaultMean(a),
19 localEngine(&anEngine, do_nothing_deleter()), oldm(-1.0) {
20 status[0] = status[1] = status[2] = 0.;
23 inline RandPoisson::RandPoisson(HepRandomEngine * anEngine, double a )
24 : HepRandom(), meanMax(2.0E9), defaultMean(a),
25 localEngine(anEngine), oldm(-1.0) {
26 status[0] = status[1] = status[2] = 0.;
29 inline HepRandomEngine * RandPoisson::getLocalEngine() {
30 return localEngine.get();