| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# IRndmEngine.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/IRndmEngine.h,v 1.2 2001/01/19 14:22:55 mato Exp $
    00002 #ifndef GAUDIKERNEL_IRNDMENGINE_H
    00003 #define GAUDIKERNEL_IRNDMENGINE_H
    00004
    00005 // STL include files
    00006 #include <vector>
    00007
    00008 // Framework include files
    00009 #include "GaudiKernel/IInterface.h"
    00010
    00011 // Declaration of the interface ID ( interface id, major version, minor version)
    00012 static const InterfaceID IID_IRndmEngine(142, 1 , 0);
    00013
    00023 class IRndmEngine  : virtual public IInterface    {
    00024 public:
    00026   static const InterfaceID& interfaceID() { return IID_IRndmEngine; }
    00028   virtual double rndm() const = 0;
    00035   virtual StatusCode rndmArray( std::vector<double>& array, long howmany, long start = 0) const = 0;
    00037   virtual StatusCode setSeeds(const std::vector<long>& seeds) = 0;
    00039   virtual StatusCode seeds(std::vector<long>& seeds)   const  = 0;
    00040 };
    00041
    00042 #endif // GAUDI_INTERFACES_IRNDMENGINE_H