geant4-B1-example  1.0
 All Classes Files Functions Variables Pages
B1SteppingAction.hh
Go to the documentation of this file.
1 /// \file B1SteppingAction.hh
2 /// \brief Definition of the B1SteppingAction class
3 
4 #ifndef B1SteppingAction_h
5 #define B1SteppingAction_h 1
6 
7 #include "G4UserSteppingAction.hh"
8 #include "globals.hh"
9 
10 class B1EventAction;
11 
12 class G4LogicalVolume;
13 
14 /// Stepping action class
15 
16 
17 class B1SteppingAction : public G4UserSteppingAction // (related to tracking)
18 {
19  public:
20  B1SteppingAction(B1EventAction* eventAction);
21  virtual ~B1SteppingAction();
22 
23  // method from the base class
24  virtual void UserSteppingAction(const G4Step*);
25 
26  private:
27  B1EventAction* fEventAction;
28  G4LogicalVolume* fScoringVolume;
29 };
30 
31 #endif
Stepping action class.
B1SteppingAction(B1EventAction *eventAction)
virtual void UserSteppingAction(const G4Step *)
user event class
virtual ~B1SteppingAction()