Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 public:
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
#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
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
start
Definition: IOTest.py:88
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:107