4 // Sensitive detector class,
5 // that implements G4VSensitiveDetector::ProcessHits()
6 // with AliDetector:: StepManager().
8 #ifndef ALI_SENSITIVE_DETECTOR_H
9 #define ALI_SENSITIVE_DETECTOR_H
11 #include "TG4VSensitiveDetector.h"
17 class G4HCofThisEvent;
20 class AliSensitiveDetector : public TG4VSensitiveDetector
23 AliSensitiveDetector(G4String sdName, AliModule* module);
24 AliSensitiveDetector(G4String sdName, AliModule* module, G4int id);
25 AliSensitiveDetector(const AliSensitiveDetector& right);
27 // AliSensitiveDetector();
28 virtual ~AliSensitiveDetector();
31 AliSensitiveDetector& operator=(const AliSensitiveDetector& right);
34 virtual void UserProcessHits(const G4Track* track, const G4Step* step);
37 AliSensitiveDetector();
41 AliModule* fModule; //AliModule
44 #endif //ALI_SENSITIVE_DETECTOR_H