| The Gaudi Framework v30r0 (c919700c)

- 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 {
21 public:
23 DeclareInterfaceID( IRndmEngine, 2, 0 );
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
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
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:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
IOTest.start
start
Definition: IOTest.py:99
Containers::array
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
Definition: KeyedObjectManager.h:28
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:110
IInterface.h