| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HepRndmEngine.h
Go to the documentation of this file.
1 //====================================================================
2 // CLHEP Random Engine definition file
3 //--------------------------------------------------------------------
4 //
5 // Package : HepRndm ( The LHCb Offline System)
6 // Author : M.Frank
7 // History :
8 // +---------+----------------------------------------------+---------
9 // | Date | Comment | Who
10 // +---------+----------------------------------------------+---------
11 // | 29/10/99| Initial version | MF
12 // +---------+----------------------------------------------+---------
13 //
14 //====================================================================
15 #ifndef HEPRNDM_HEPRNDMENGINE_H
16 #define HEPRNDM_HEPRNDMENGINE_H 1
17
18 // Framework include files
19 #include <vector>
20 #include "HepRndmBaseEngine.h"
21
22 namespace HepRndm {
23
24 template <class TYPE>
25 class Engine : public BaseEngine {
26 protected:
27 // Seed table
28 mutable std::vector<long> m_seeds;
29 // Other parameters
30 int m_row, m_col, m_lux;
31 bool m_useTable, m_setSingleton;
32 public:
34 Engine(const std::string& name, ISvcLocator* loc);
36 virtual ~Engine();
38 virtual StatusCode initialize();
40 virtual StatusCode finalize();
42 virtual StatusCode initializeEngine();
50 virtual double rndm() const;
55 StatusCode setSeeds(const std::vector<long>& seed);
57 StatusCode seeds(std::vector<long>& seed) const;
58 };
59 }
60
61 #endif // HEPRNDM_HEPRNDMENGINE_H