]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: geometry | |
3 | // | |
4 | // Sensitive detector class, | |
5 | // that implements G4VSensitiveDetector::ProcessHits() | |
6 | // with AliDetector:: StepManager(). | |
7 | ||
8 | #ifndef ALI_SENSITIVE_DETECTOR_H | |
9 | #define ALI_SENSITIVE_DETECTOR_H | |
10 | ||
11 | #include "TG4VSensitiveDetector.h" | |
12 | ||
13 | #include <globals.hh> | |
14 | ||
15 | class AliModule; | |
676fb573 | 16 | |
17 | class G4HCofThisEvent; | |
18 | class G4Step; | |
19 | ||
20 | class AliSensitiveDetector : public TG4VSensitiveDetector | |
21 | { | |
22 | public: | |
23 | AliSensitiveDetector(G4String sdName, AliModule* module); | |
24 | AliSensitiveDetector(G4String sdName, AliModule* module, G4int id); | |
25 | AliSensitiveDetector(const AliSensitiveDetector& right); | |
26 | // --> protected | |
27 | // AliSensitiveDetector(); | |
28 | virtual ~AliSensitiveDetector(); | |
29 | ||
30 | // operators | |
31 | AliSensitiveDetector& operator=(const AliSensitiveDetector& right); | |
32 | ||
33 | // methods | |
9bcb6317 | 34 | virtual void UserProcessHits(const G4Track* track, const G4Step* step); |
676fb573 | 35 | |
36 | protected: | |
37 | AliSensitiveDetector(); | |
38 | ||
39 | private: | |
40 | // data members | |
41 | AliModule* fModule; //AliModule | |
676fb573 | 42 | }; |
43 | ||
44 | #endif //ALI_SENSITIVE_DETECTOR_H | |
45 | ||
46 |