2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
7 inline RandBinomialFixedP::RandBinomialFixedP(HepRandomEngine & anEngine, long n,
8 double p, long Nmaxlookup )
9 : RandBinomial( anEngine, n, p ) {initLookupTable(Nmaxlookup,p);}
11 inline RandBinomialFixedP::RandBinomialFixedP(HepRandomEngine * anEngine, long n,
12 double p, long Nmaxlookup )
13 : RandBinomial( anEngine, n, p ) {initLookupTable(Nmaxlookup,p);}
15 inline double RandBinomialFixedP::operator()() {
16 return fire( localEngine.get(), defaultN );
19 inline double RandBinomialFixedP::operator()( long n ) {
20 return fire( localEngine.get(), n );
23 inline double RandBinomialFixedP::fire() {
24 return fire( localEngine.get(), defaultN );
27 inline double RandBinomialFixedP::fire( long n ) {
28 return fire( localEngine.get(), n );