1 #ifndef GAUDIKERNEL_IRNDMGEN_H 2 #define GAUDIKERNEL_IRNDMGEN_H 13 static const InterfaceID IID_IRndmFlat( 151, 1, 0 );
14 static const InterfaceID IID_IRndmChi2( 152, 1, 0 );
15 static const InterfaceID IID_IRndmGamma( 153, 1, 0 );
16 static const InterfaceID IID_IRndmGauss( 154, 1, 0 );
17 static const InterfaceID IID_IRndmLandau( 155, 1, 0 );
18 static const InterfaceID IID_IRndmPoisson( 156, 1, 0 );
19 static const InterfaceID IID_IRndmStudentT( 157, 1, 0 );
20 static const InterfaceID IID_IRndmBinomial( 158, 1, 0 );
21 static const InterfaceID IID_IRndmExponential( 159, 1, 0 );
22 static const InterfaceID IID_IRndmBreitWigner( 160, 1, 0 );
23 static const InterfaceID IID_IRndmBreitWignerCutOff( 161, 1, 0 );
24 static const InterfaceID IID_IRndmDefinedPdf( 162, 1, 0 );
25 static const InterfaceID IID_IRndmGaussianTail( 163, 1, 0 );
50 virtual ~
Param() =
default;
54 virtual Param* clone()
const = 0;
64 virtual long ID()
const = 0;
68 virtual double shoot()
const = 0;
81 #endif // GAUDIKERNEL_IRNDMGEN_H virtual const InterfaceID & type() const
Parameter's type.
Definition of a interface for a generic random number generators.
const InterfaceID m_type
Type of the generator.
This class is used for returning status codes from appropriate routines.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition of the basic interface.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
Param(const InterfaceID &type=IID_IRndmFlat)
Standard constructor.