]>
Commit | Line | Data |
---|---|---|
8d3676ae | 1 | // $Id$ |
2 | // Category: digits+hits | |
3 | // | |
499b353a | 4 | // Author: I.Hrivnacova |
5 | // | |
6 | // Class TG4VSDConstruction | |
7 | // ------------------------ | |
8d3676ae | 8 | // Abstract class for construction of user sensitive detectors. |
9 | // It has one pure virtual method Construct() | |
10 | // that has to be be implemented by a derived class. | |
11 | // Constructed sensitive detectors have to inherit from | |
12 | // TG4VSensitiveDetector (see TG4VSensitiveDetector.h description); | |
13 | // all cloned logical volumes (which a single G3 volume correspond to) | |
14 | // have to share the same sensitive detector instance. | |
15 | ||
16 | #ifndef TG4V_SD_CONSTRUCTION_H | |
17 | #define TG4V_SD_CONSTRUCTION_H | |
18 | ||
8d3676ae | 19 | class TG4VSDConstruction |
20 | { | |
21 | public: | |
22 | TG4VSDConstruction(); | |
23 | virtual ~TG4VSDConstruction(); | |
24 | ||
25 | // methods | |
26 | virtual void Construct() = 0; | |
27 | }; | |
28 | ||
29 | // inline methods | |
30 | ||
31 | #endif //TG4V_SD_CONSTRUCTION_H | |
32 |