The Gaudi Framework  v30r3 (a5ef0a68)
IRndmEngine.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IRNDMENGINE_H
2 #define GAUDIKERNEL_IRNDMENGINE_H
3 
4 // STL include files
5 #include <vector>
6 
7 // Framework include files
9 
19 class GAUDI_API IRndmEngine : virtual public IInterface
20 {
21 public:
25  virtual double rndm() const = 0;
32  virtual StatusCode rndmArray( std::vector<double>& array, long howmany, long start = 0 ) const = 0;
34  virtual StatusCode setSeeds( const std::vector<long>& seeds ) = 0;
36  virtual StatusCode seeds( std::vector<long>& seeds ) const = 0;
37 };
38 
39 #endif // GAUDI_INTERFACES_IRNDMENGINE_H
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:277
start
Definition: IOTest.py:99
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
Definition of a interface for a generic random number generator giving randomly distributed numbers i...
Definition: IRndmEngine.h:19
#define GAUDI_API
Definition: Kernel.h:104