Updated class description: added class title, author;
[u/mrichter/AliRoot.git] / AliGeant4 / AliSteppingAction.h
index 923fb6ba0b00933aff70c9df98234c95a8d34203..bac2bc9383a8efcc50af64a56ecc8a20ec1c456e 100644 (file)
@@ -1,48 +1,33 @@
 // $Id$
 // Category: event
 //
-// Class for detecting and stopping looping particles
-// or particles that reached maximal number of steps.
+// Author: I. Hrivnacova
+//
+// Class AliSteppingAction
+// -----------------------
+// Class takes care of stopping particles
+// if they get outside of user defined tracking region
+// (in AliRun).
 
 #ifndef ALI_STEPPING_ACTION_H
 #define ALI_STEPPING_ACTION_H
 
-#include "TG4SteppingAction.h"
+#include "AliSteppingActionMessenger.h"
 
-#include <G4ThreeVector.hh>
-#include <globals.hh>
+#include "TG4SteppingAction.h"
 
-class AliSteppingActionMessenger;
 
 class AliSteppingAction : public TG4SteppingAction
 {
-  enum { 
-    kCheckNofSteps = 100
-  };
-
   public:
     AliSteppingAction();
-    // protected
-    // AliSteppingAction(const AliSteppingAction& right);
     virtual ~AliSteppingAction();
 
     // methods
     virtual void SteppingAction(const G4Step* step);
     
-  protected:
-    AliSteppingAction(const AliSteppingAction& right);
-
-    // operators
-    AliSteppingAction& operator=(const AliSteppingAction& right);
-
   private:
-    // static data members
-    static const G4double fgkTolerance; //tolerance used in detecting 
-                                        //of looping particles
-
-    // data members
-    G4ThreeVector  fKeptStepPoint;           //kept step point
-    AliSteppingActionMessenger*  fMessenger; //messenger
+    AliSteppingActionMessenger  fMessenger; //messenger
 };
 
 #endif //ALI_STEPPING_ACTION_H