CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Geant4eSteppingAction.h
Go to the documentation of this file.
1 #ifndef TrackPropagation_Geant4eSteppingAction_h
2 #define TrackPropagation_Geant4eSteppingAction_h
3 
4 #include "G4UserSteppingAction.hh"
5 
7 
8 
14 class Geant4eSteppingAction GCC11_FINAL : public G4UserSteppingAction {
15  public:
16  Geant4eSteppingAction():theTrackLength(0) {}
18 
22  double trackLength() const {return theTrackLength;}
23 
27  void reset() {theTrackLength = 0;}
28 
32  virtual void UserSteppingAction(const G4Step* step);
33 
34  protected:
36 };
37 
38 
39 
40 #endif
double trackLength() const
virtual ~Geant4eSteppingAction()
Unlimited (trivial) bounds.