#ifndef SensitiveDetector_h #define SensitiveDetector_h 1 #include "Hit.hh" #include "G4VSensitiveDetector.hh" #include "globals.hh" class G4Step; class G4HCofThisEvent; //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... class SensitiveDetector : public G4VSensitiveDetector { public: SensitiveDetector(G4String); ~SensitiveDetector(); void Initialize(G4HCofThisEvent*); G4bool ProcessHits(G4Step*, G4TouchableHistory*); void EndOfEvent(G4HCofThisEvent*); void clear(); void DrawAll(); void PrintAll(); private: HitsCollection* detectorCollection; G4int HitID; G4int verboseLevel; }; #endif