]>
Commit | Line | Data |
---|---|---|
8d3676ae | 1 | // $Id$ |
2 | // Category: digits+hits | |
3 | // | |
4 | // Abstract class for construction of user sensitive detectors. | |
5 | // It has one pure virtual method Construct() | |
6 | // that has to be be implemented by a derived class. | |
7 | // Constructed sensitive detectors have to inherit from | |
8 | // TG4VSensitiveDetector (see TG4VSensitiveDetector.h description); | |
9 | // all cloned logical volumes (which a single G3 volume correspond to) | |
10 | // have to share the same sensitive detector instance. | |
11 | ||
12 | #ifndef TG4V_SD_CONSTRUCTION_H | |
13 | #define TG4V_SD_CONSTRUCTION_H | |
14 | ||
15 | #include <globals.hh> | |
16 | ||
17 | #include <Rtypes.h> | |
18 | ||
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 |