11 #ifndef GAUDIKERNEL_IRNDMGEN_H 12 #define GAUDIKERNEL_IRNDMGEN_H 23 static const InterfaceID IID_IRndmFlat( 151, 1, 0 );
24 static const InterfaceID IID_IRndmChi2( 152, 1, 0 );
25 static const InterfaceID IID_IRndmGamma( 153, 1, 0 );
26 static const InterfaceID IID_IRndmGauss( 154, 1, 0 );
27 static const InterfaceID IID_IRndmLandau( 155, 1, 0 );
28 static const InterfaceID IID_IRndmPoisson( 156, 1, 0 );
29 static const InterfaceID IID_IRndmStudentT( 157, 1, 0 );
30 static const InterfaceID IID_IRndmBinomial( 158, 1, 0 );
31 static const InterfaceID IID_IRndmExponential( 159, 1, 0 );
32 static const InterfaceID IID_IRndmBreitWigner( 160, 1, 0 );
33 static const InterfaceID IID_IRndmBreitWignerCutOff( 161, 1, 0 );
34 static const InterfaceID IID_IRndmDefinedPdf( 162, 1, 0 );
35 static const InterfaceID IID_IRndmGaussianTail( 163, 1, 0 );
58 virtual ~
Param() =
default;
62 virtual Param* clone()
const = 0;
72 virtual long ID()
const = 0;
76 virtual double shoot()
const = 0;
89 #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.
Definition of the basic interface.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
Param(const InterfaceID &type=IID_IRndmFlat)
Standard constructor.