CMS 3D CMS Logo

GflashHadronWrapperProcess.h
Go to the documentation of this file.
1 //
2 // S.Y. Jun, August 2007
3 //
4 #ifndef GflashHadronWrapperProcess_HH
5 #define GflashHadronWrapperProcess_HH 1
6 
7 #include "G4WrapperProcess.hh"
8 
9 class G4VParticleChange;
10 class G4ProcessManager;
11 class G4ProcessVector;
12 class G4VProcess;
13 
14 class GflashHadronWrapperProcess : public G4WrapperProcess {
15 
16 public:
17 
19  // GflashHadronWrapperProcess();
20 
21  ~GflashHadronWrapperProcess() override;
22 
23  // Override PostStepDoIt method
24  G4VParticleChange* PostStepDoIt(const G4Track& track, const G4Step& step) override;
25 
26  G4String GetName() { return theProcessName; };
27 
28  void Print(const G4Step& astep);
29 
30 private:
31  G4String theProcessName;
32 
33  G4VParticleChange* particleChange;
34  G4ProcessManager* pmanager;
35  G4ProcessVector* fProcessVector;
36  G4VProcess* fProcess;
37 };
38 
39 #endif
GflashHadronWrapperProcess(G4String processName)
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step) override
step