00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef HEPRNDM_HEPRNDMENGINE_H
00016 #define HEPRNDM_HEPRNDMENGINE_H 1
00017
00018
00019 #include <vector>
00020 #include "HepRndmBaseEngine.h"
00021
00022 namespace HepRndm {
00023
00024 template <class TYPE>
00025 class Engine : public BaseEngine {
00026 protected:
00027
00028 mutable std::vector<int> m_seeds;
00029
00030 int m_row, m_col, m_lux;
00031 bool m_useTable;
00032 public:
00034 Engine(const std::string& name, ISvcLocator* loc);
00036 virtual ~Engine();
00038 virtual StatusCode initialize();
00040 virtual StatusCode finalize();
00042 virtual StatusCode initializeEngine();
00050 virtual double rndm() const;
00055 StatusCode setSeeds(const std::vector<long>& seed);
00057 StatusCode seeds(std::vector<long>& seed) const;
00058 };
00059 };
00060
00061 #endif // HEPRNDM_HEPRNDMENGINE_H