MuNuclearSplittingProcess.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file MuNuclearSplittingProcess.h
3 /// \brief Check of Geant4 to run the LArSoft detector simulation
4 ///
5 /// \author brebel@fnal.gov
6 ////////////////////////////////////////////////////////////////////////
7 
8 #ifndef LARG4_MNSP_H
9 #define LARG4_MNSP_H
10 
11 #include "Geant4/G4Types.hh"
12 #include "Geant4/G4WrapperProcess.hh"
13 
14 class G4Step;
15 class G4Track;
16 class G4VParticleChange;
17 
18 namespace larg4 {
19 
20 class MuNuclearSplittingProcess : public G4WrapperProcess {
21 // Override PostStepDoIt method
22  public:
25 
26  void SetNSplit(G4int nTrx) {fNSplit = nTrx;};
27  void SetIsActive(G4bool doIt) {fActive = doIt;};
28 
29  private:
30 // Data members
31  G4int fNSplit;
32  G4bool fActive;
33  G4VParticleChange* PostStepDoIt(const G4Track& track, const G4Step& step);
34 
35 };
36 
37 
38 }// end namespace
39 
40 #endif // MNSP
Geant4 interface.
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)