]>
Commit | Line | Data |
---|---|---|
2817d3e2 | 1 | // $Id$ |
2 | // Category: geometry | |
3 | // | |
499b353a | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class TG4ElementTable | |
7 | // --------------------- | |
2817d3e2 | 8 | // Singleton class that builds the default element table |
499b353a | 9 | // Currently defined elements: up to Z=47 (to be continued). |
10 | // Not used. | |
2817d3e2 | 11 | |
12 | #ifndef TG4_ELEMENT_TABLE_H | |
13 | #define TG4_ELEMENT_TABLE_H | |
14 | ||
15 | class TG4ElementTable | |
16 | { | |
17 | public: | |
18 | // --> protected | |
19 | // TG4ElementTable(); | |
20 | // TG4ElementTable(const TG4ElementTable& right); | |
21 | virtual ~TG4ElementTable(); | |
22 | ||
23 | // static methods | |
24 | static TG4ElementTable* Instance(); | |
25 | ||
26 | protected: | |
27 | TG4ElementTable(); | |
28 | TG4ElementTable(const TG4ElementTable& right); | |
29 | ||
30 | // operators | |
31 | TG4ElementTable& operator=(const TG4ElementTable& right); | |
32 | ||
33 | private: | |
f7e52952 | 34 | void Construct() const; |
2817d3e2 | 35 | |
36 | // data members | |
37 | static TG4ElementTable* fgInstance; //this instance | |
38 | }; | |
39 | ||
40 | #endif //G4_ELEMENT_TABLE_H |