|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RandBinomialFixedP_h
6 #define RandBinomialFixedP_h 1
10 #include "CLHEP/Random/RandBinomial.h"
23 double p=0.5,
long Nmaxlookup=10 );
25 double p=0.5,
long Nmaxlookup=10 );
47 double fire( HepRandomEngine* anEngine,
long n);
55 std::string
name()
const;
62 static double shoot(
long n,
double p ) =
delete;
64 static void shootArray (
const int size,
double* vect,
long n=1,
double p=0.5 ) =
delete;
66 static inline double shoot( HepRandomEngine* anEngine ) =
delete;
68 static double shoot( HepRandomEngine* anEngine,
long n,
double p ) =
delete;
70 static void shootArray ( HepRandomEngine* anEngine,
const int size,
double* vect,
long n=1,
double p=0.5 ) =
delete;
80 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
82 using namespace CLHEP;
static void shootArray(HepRandomEngine *anEngine, const int size, double *vect, long n=1, double p=0.5)=delete
std::vector< std::vector< double > > LookupTable
virtual ~RandBinomialFixedP()
void initLookupTable(long Nmaxlookup, double p)
static std::string distributionName()
static void shootArray(const int size, double *vect, long n=1, double p=0.5)=delete
RandBinomialFixedP(HepRandomEngine *anEngine, long n=1, double p=0.5, long Nmaxlookup=10)
static double shoot(long n, double p)=delete
double operator()(long n)
static double shoot(HepRandomEngine *anEngine)=delete
static double shoot(HepRandomEngine *anEngine, long n, double p)=delete
RandBinomialFixedP(HepRandomEngine &anEngine, long n=1, double p=0.5, long Nmaxlookup=10)
void fireArray(const int size, double *vect)
static double shoot()=delete