QwGeant4
QweakSimSteppingAction.hh
Go to the documentation of this file.
1 
2 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
3 #ifndef QweakSimSteppingAction_h
4 #define QweakSimSteppingAction_h 1
5 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
6 
7 // geant4 includes
8 #include "G4Types.hh"
9 #include "G4String.hh"
10 #include "G4ThreeVector.hh"
11 #include "G4TrackVector.hh"
12 #include "G4SteppingManager.hh"
13 #include "G4UserSteppingAction.hh"
14 
15 // geant4 classes
16 class G4ParticleDefinition;
17 
18 // user classes
20 class QweakSimEPEvent;
21 
22 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
23 class QweakSimSteppingAction : public G4UserSteppingAction
24 {
25 
26 public:
29 
30  void UserSteppingAction(const G4Step*);
31 
32  G4int GetNumOfAtRestSecondaries(){return fpSteppingManager->GetfN2ndariesAtRestDoIt();};
33  G4int GetNumOfAlongStepSecondaries(){return fpSteppingManager->GetfN2ndariesAlongStepDoIt();};
34  G4int GetNumOfPostStepSecondaries(){return fpSteppingManager->GetfN2ndariesPostStepDoIt();};
36 
38  G4int GetTrackVectorSize();
39 
40  G4ParticleDefinition *GetSecondaryParticleDefinition(G4int idx);
41  G4String GetSecondaryParticleName(G4int idx);
42  G4double GetSecondaryParticleTotalEnergy(G4int idx);
43  G4double GetSecondaryParticleKineticEnergy(G4int idx);
44  G4double GetSecondaryParticleXOrigin(G4int idx);
45  G4double GetSecondaryParticleYOrigin(G4int idx);
46  G4double GetSecondaryParticleZOrigin(G4int idx);
47  G4ThreeVector GetSecondaryParticleOrigin(G4int idx);
48  G4ThreeVector GetSecondaryParticleMomentum(G4int idx);
49  G4String GetSecondaryCreatorProcessName(G4int idx);
50 
51 private:
52 
53  G4int evtGenStatus;
55  G4TrackVector *fSecondary;
57 
59  G4double RandomPositionZ;
61 
62 };
63 
64 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
65 
66 #endif
67 
G4String GetSecondaryCreatorProcessName(G4int idx)
void UserSteppingAction(const G4Step *)
G4ThreeVector GetSecondaryParticleMomentum(G4int idx)
G4double GetSecondaryParticleTotalEnergy(G4int idx)
G4String GetSecondaryParticleName(G4int idx)
QweakSimSteppingAction(QweakSimUserInformation *myUInfo, QweakSimEPEvent *myEPEvent)
G4ParticleDefinition * GetSecondaryParticleDefinition(G4int idx)
G4double GetSecondaryParticleXOrigin(G4int idx)
G4double GetSecondaryParticleYOrigin(G4int idx)
QweakSimUserInformation * myUserInfo
G4double GetSecondaryParticleKineticEnergy(G4int idx)
G4ThreeVector GetSecondaryParticleOrigin(G4int idx)
G4double GetSecondaryParticleZOrigin(G4int idx)