The Gaudi Framework
v30r3 (a5ef0a68)
|
Parameters for the Binomial distributed random number generation. More...
#include <GaudiKernel/RndmGenerators.h>
Public Member Functions | |
Binomial (long n, double p) | |
Standard Constructor. 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 232 of file RndmGenerators.h.
|
inline |
Standard Constructor.
Definition at line 242 of file RndmGenerators.h.
|
inlineoverridevirtual |
Clone parameters.
Implements IRndmGen::Param.
Definition at line 250 of file RndmGenerators.h.
|
inline |
Access number of events.
Definition at line 244 of file RndmGenerators.h.
|
inline |
Access number of events.
Definition at line 246 of file RndmGenerators.h.
|
inlinestatic |
Identifier for factory.
Definition at line 248 of file RndmGenerators.h.
|
protected |
Number of events the binomial destribution corresponds to.
Definition at line 236 of file RndmGenerators.h.
|
protected |
And the probability for having success.
Definition at line 238 of file RndmGenerators.h.