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