Param(const InterfaceID &type=IID_IRndmFlat)
Standard constructor.
Definition of a interface for a generic random number generators.
Random Generator service interface definition Definition of a interface for a service to access rando...
long m_nEvent
Number of events the binomial destribution corresponds to.
double m_probability
And the probability for having success.
long nEvent() const
Access number of events.
double probability() const
Access number of events.
static const InterfaceID & typeID()
Identifier for factory.
Binomial * clone() const override
Clone parameters.
Binomial(long n, double p)
Standard Constructor.
Bit()
Standard Constructor.
Bit * clone() const override
Clone parameters.
static const InterfaceID & typeID()
Identifier for factory.
double m_mean
Mean, Gamma and cut off parameter of the Breit-Wigner distribution.
double cutOff() const
Access width of the distribution.
double mean() const
Access mean value of the distribution.
static const InterfaceID & typeID()
Identifier for factory.
double gamma() const
Access width of the distribution.
BreitWignerCutOff * clone() const override
Clone parameters.
BreitWignerCutOff(double m, double g, double c)
Standard Constructor.
double mean() const
Access mean value of the distribution.
BreitWigner(double m, double g)
Standard Constructor.
BreitWigner * clone() const override
Clone parameters.
double gamma() const
Access width of the distribution.
double m_mean
Mean and Gamma parameter of the Breit-Wigner distribution.
static const InterfaceID & typeID()
Identifier for factory.
static const InterfaceID & typeID()
Identifier for factory.
long m_nDOF
Number of degrees of freedom.
long nDOF() const
Access mean value of the distribution.
Chi2 * clone() const override
Clone parameters.
Chi2(long n_dof)
Standard Constructor.
DefinedPdf * clone() const override
Clone parameters.
std::vector< double > & pdf()
Access pdf.
long m_interpolation
Interpolation type.
DefinedPdf(const std::vector< double > &pdf, long intpol)
Standard Constructor.
std::vector< double > m_pdf
Vector containing probability distribution function.
long interpolation() const
Access interpolation type.
static const InterfaceID & typeID()
Identifier for factory.
double m_mean
Mean value of the exponential distribution.
Exponential(double m)
Standard Constructor.
static const InterfaceID & typeID()
Identifier for factory.
double mean() const
Access mean value of the distribution.
Exponential * clone() const override
Clone parameters.
Flat(double mi, double ma)
Standard Constructor.
double maximum() const
Access upper edge.
double m_maximum
Upper boundary for random numbers.
double minimum() const
Access lower edge.
double m_minimum
Lower boundary for random numbers.
Flat * clone() const override
Clone parameters.
static const InterfaceID & typeID()
Identifier for factory.
double kValue() const
Access K parameter.
double m_lambda
Lambda parameter.
static const InterfaceID & typeID()
Identifier for factory.
double lambda() const
Access Lambda parameter.
Gamma(double k, double l)
Standard Constructor.
Gamma * clone() const override
Clone parameters.
double m_sigma
Sigma of the Gauss distribution.
double mean() const
Access mean value of the distribution.
double sigma() const
Access width of the distribution.
Gauss(double m, double s)
Standard Constructor.
Gauss * clone() const override
Clone parameters.
double m_mean
Mean of the Gauss distribution.
static const InterfaceID & typeID()
Identifier for factory.
double sigma() const
Access sigma of the distribution.
GaussianTail(double a, double s)
Standard Constructor.
double m_cut
Cut on the Gaussian tail distribution.
double cut() const
Access cut value of the distribution.
GaussianTail * clone() const override
Clone parameters.
static const InterfaceID & typeID()
Identifier for factory.
double m_sigma
Sigma of the Gauss ditribution.
static const InterfaceID & typeID()
Identifier for factory.
Landau * clone() const override
Clone parameters.
Landau(double m, double s)
Standard Constructor.
double mean() const
Access mean value of the distribution.
double sigma() const
Access width of the distribution.
double m_mean
Mean and Gamma parameter of the Breit-Wigner distribution.
double pop() const
Pop a new number from the buffer.
virtual StatusCode initialize(const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par)
Initialization.
double shoot() const
Pop a new number from the buffer.
StatusCode shootArray(std::vector< double > &array, long num, long start=0) const
Pop a new number from the buffer.
virtual StatusCode finalize()
Finalization.
Numbers()=default
Standard constructor.
SmartIF< IRndmGen > m_generator
Pointer to random number generator.
Numbers(const Numbers &)=default
Copy constructor.
double operator()() const
Operator () for the use within STL.
double mean() const
Access mean value of the distribution.
Poisson * clone() const override
Clone parameters.
double m_mean
Mean value of the Poisson distribution.
static const InterfaceID & typeID()
Identifier for factory.
Poisson(double m)
Standard Constructor.
double aValue() const
Access A parameter.
static const InterfaceID & typeID()
Identifier for factory.
double m_aValue
StudentT distribution parameter.
StudentT * clone() const override
Clone parameters.
StudentT(double a)
Standard Constructor.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto FAILURE