The Gaudi Framework
v29r0 (ff2e7097)
|
Parameters for the Binomial distributed random number generation. More...
#include <GaudiKernel/RndmGenerators.h>
Public Member Functions | |
Binomial (long n, double p) | |
Standard Constructor. More... | |
~Binomial () override=default | |
Standard Destructor. More... | |
long | nEvent () const |
Access number of events. More... | |
double | probability () const |
Access number of events. More... | |
Binomial * | clone () const override |
Clone parameters. More... | |
Public Member Functions inherited from IRndmGen::Param | |
Param (const InterfaceID &type=IID_IRndmFlat) | |
Standard constructor. More... | |
virtual | ~Param ()=default |
Standard Destructor. More... | |
virtual const InterfaceID & | type () const |
Parameter's type. More... | |
Static Public Member Functions | |
static const InterfaceID & | typeID () |
Identifier for factory. More... | |
Protected Attributes | |
long | m_nEvent |
Number of events the binomial destribution corresponds to. More... | |
double | m_probability |
And the probability for having success. More... | |
Protected Attributes inherited from IRndmGen::Param | |
const InterfaceID | m_type |
Type of the generator. More... | |
Parameters for the Binomial distributed random number generation.
The returned values are in fact integers
Definition at line 250 of file RndmGenerators.h.
|
inline |
Standard Constructor.
Definition at line 260 of file RndmGenerators.h.
|
overridedefault |
Standard Destructor.
|
inlineoverridevirtual |
Clone parameters.
Implements IRndmGen::Param.
Definition at line 270 of file RndmGenerators.h.
|
inline |
Access number of events.
Definition at line 264 of file RndmGenerators.h.
|
inline |
Access number of events.
Definition at line 266 of file RndmGenerators.h.
|
inlinestatic |
Identifier for factory.
Definition at line 268 of file RndmGenerators.h.
|
protected |
Number of events the binomial destribution corresponds to.
Definition at line 254 of file RndmGenerators.h.
|
protected |
And the probability for having success.
Definition at line 256 of file RndmGenerators.h.