CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingAction.h
Go to the documentation of this file.
1 #ifndef SimG4Core_TrackingAction_H
2 #define SimG4Core_TrackingAction_H
3 
6 
7 #include "G4UserTrackingAction.hh"
8 #include "G4VSolid.hh"
9 
10 class EventAction;
11 class TrackWithHistory;
12 class BeginOfTrack;
13 class EndOfTrack;
14 
15 class TrackingAction : public G4UserTrackingAction
16 {
17 public:
19  virtual ~TrackingAction();
20 
21  virtual void PreUserTrackingAction(const G4Track * aTrack);
22  virtual void PostUserTrackingAction(const G4Track * aTrack);
23 
25  G4TrackingManager * getTrackManager();
26 
29 
30 private:
33  G4VSolid * worldSolid;
35  bool checkTrack;
37 };
38 
39 #endif
virtual ~TrackingAction()
TrackWithHistory * currentTrackWithHistory()
virtual void PreUserTrackingAction(const G4Track *aTrack)
TrackWithHistory * currentTrack_
G4VSolid * worldSolid
EventAction * eventAction_
G4TrackingManager * getTrackManager()
TrackingAction(EventAction *ea, const edm::ParameterSet &ps)
SimActivityRegistry::EndOfTrackSignal m_endOfTrackSignal
virtual void PostUserTrackingAction(const G4Track *aTrack)
SimActivityRegistry::BeginOfTrackSignal m_beginOfTrackSignal