LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MuNuclearSplittingProcess.h
Go to the documentation of this file.
1 
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 } // end namespace
37 
38 #endif // MNSP
Geant4 interface.
Float_t track
Definition: plot.C:35
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)