]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - AliGeant4/AliSensitiveDetector.h
Changes to read also Altro like data.
[u/mrichter/AliRoot.git] / AliGeant4 / AliSensitiveDetector.h
index e06fda8fc6e04750d70e69f2630c211d1a27608f..d057376302faac6c2d7080311ae0401c710bf20c 100644 (file)
@@ -1,9 +1,13 @@
 // $Id$
-// Category: geometry
+// Category: digits+hits
 //
-// Sensitive detector class,
-// that implements G4VSensitiveDetector::ProcessHits()
-// with AliDetector:: StepManager().
+// Author: I. Hrivnacova
+//
+// Class AliSensitiveDetector
+// --------------------------
+// The sensitive detector class,
+// it implements G4VSensitiveDetector::ProcessHits()
+// with AliDetector::StepManager().
 
 #ifndef ALI_SENSITIVE_DETECTOR_H
 #define ALI_SENSITIVE_DETECTOR_H
@@ -13,7 +17,7 @@
 #include <globals.hh>
 
 class AliModule;
-class TG4StepManager;
+class AliMCQA;
 
 class G4HCofThisEvent;
 class G4Step;
@@ -32,20 +36,17 @@ class AliSensitiveDetector : public TG4VSensitiveDetector
     AliSensitiveDetector& operator=(const AliSensitiveDetector& right);
   
     // methods
-    virtual void Initialize(G4HCofThisEvent* hc);
-    virtual G4bool ProcessHits(G4Step* step, G4TouchableHistory* history);
-    virtual void EndOfEvent(G4HCofThisEvent* hce);
-    //virtual void clear();
-    virtual void PrintAll();
-    virtual void DrawAll();
+    virtual void Initialize(G4HCofThisEvent*HCE);
+    virtual void UserProcessHits(const G4Track* track, const G4Step* step);
     
   protected:  
     AliSensitiveDetector();
     
   private:
-    // data members
+    // data members    
     AliModule*       fModule;      //AliModule
-    TG4StepManager*  fStepManager; //TG4StepManager
+    G4int            fModuleID;    //AliModule index in AliRun::fModules
+    AliMCQA*         fMCQA;        //AliMCQA    
 };
 
 #endif //ALI_SENSITIVE_DETECTOR_H