QwGeant4
QweakSimTrackingAction.hh
Go to the documentation of this file.
1 
2 //=============================================================================
3 //
4 // ---------------------------
5 // | Doxygen File Information |
6 // ---------------------------
7 /**
8 
9  \file QweakSimTrackingAction.hh
10  $Revision: 1.3 $
11  $Date: 2006/01/06 21:34:40 $
12  \author Klaus Hans Grimm
13 
14 */
15 //=============================================================================
16 //
17 //=============================================================================
18 //
19 // ---------------------------
20 // | Doxygen Class Information |
21 // ---------------------------
22 /**
23  \class QweakSimTrackingAction
24 
25  \brief Adds additional information to primary/secondary track before track starts stepping.
26 
27  Creates user track info using current primary track pointer as an input.
28  Fills user track info with data stored in myUserInfo (class QweakUserInformation)
29 
30  Placeholder for a long explaination
31 
32  */
33 
34 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
35 #ifndef QweakSimTrackingAction_h
36 #define QweakSimTrackingAction_h 1
37 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
38 
39 // geant4 includes
40 #include "G4Types.hh"
41 #include "G4UserTrackingAction.hh"
42 
43 // user class
46 
47 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
48 class QweakSimTrackingAction : public G4UserTrackingAction
49 {
50 
51 public:
52 
55 
56  void PreUserTrackingAction(const G4Track* aTrack);
57  void PostUserTrackingAction(const G4Track* aTrack);
58 
59  void SetTrackingFlag(G4int myflag) {TrackingFlag = myflag;}
60 
61 private:
62 
64 
66 
67 
68  G4int TrackingFlag;
69 };
70 
71 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
72 
73 #endif
74 
QweakSimTrackingAction(QweakSimUserInformation *)
Adds additional information to primary/secondary track before track starts stepping.
void PreUserTrackingAction(const G4Track *aTrack)
Scans the input file for /TrackingAction/xyz commands.
QweakSimTrackingActionMessenger * pTrackingActionMessenger
void SetTrackingFlag(G4int myflag)
void PostUserTrackingAction(const G4Track *aTrack)
QweakSimUserInformation * myUserInfo