| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
8 #include "GaudiKernel/IInterface.h"
9
19 class GAUDI_API IRndmEngine: virtual public IInterface {
20 public:
22 DeclareInterfaceID(IRndmEngine,2,0);
24 virtual double rndm() const = 0;
31 virtual StatusCode rndmArray( std::vector<double>& array, long howmany, long start = 0) const = 0;
33 virtual StatusCode setSeeds(const std::vector<long>& seeds) = 0;
35 virtual StatusCode seeds(std::vector<long>& seeds) const = 0;
36 };
37
38 #endif // GAUDI_INTERFACES_IRNDMENGINE_H
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
IOTest.start
start
Definition: IOTest.py:88
Containers::array
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
Definition: KeyedObjectManager.h:27
std::vector< double >
IRndmEngine
Definition of a interface for a generic random number generator giving randomly distributed numbers i...
Definition: IRndmEngine.h:19
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h