MuNuclearSplittingProcess.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file GArG4Ana.h
3 /// \brief Check of Geant4 to run the GArSoft detector simulation
4 ///
5 /// \version $Id: GArG4.h,v 1.11 2010/06/04 21:47:27 bjpjones Exp $
6 /// \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 
9 #ifndef GARG4MNSP_H
10 #define GARG4MNSP_H
11 
12 #include "Geant4/globals.hh"
13 #include "Geant4/G4ParticleDefinition.hh"
14 #include "Geant4/G4ParticleWithCuts.hh"
15 #include "Geant4/G4ProcessManager.hh"
16 #include "Geant4/G4ProcessVector.hh"
17 #include "Geant4/G4ParticleTypes.hh"
18 #include "Geant4/G4ParticleTable.hh"
19 #include "Geant4/G4WrapperProcess.hh"
20 
21 #include "Geant4/G4MuonNuclearProcess.hh"
22 #include "Geant4/G4Material.hh"
23 #include "Geant4/G4MaterialTable.hh"
24 #include "Geant4/G4ios.hh"
25 
26 //#include "Geant4/G4DataQuestionaire.hh" //depreciated
27 
28 namespace gar {
29  namespace garg4 {
30 
31  class MuNuclearSplittingProcess : public G4WrapperProcess {
32  // Override PostStepDoIt method
33  public:
36 
37  void SetNSplit(G4int nTrx) {fNSplit = nTrx;};
38  void SetIsActive(G4bool doIt) {fActive = doIt;};
39 
40  private:
41  // Data members
42  G4int fNSplit;
43  G4bool fActive;
44  G4VParticleChange* PostStepDoIt(const G4Track& track, const G4Step& step);
45 
46  };
47 
48 
49  }// end namespace
50 } // gar
51 
52 #endif // MNSP
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
General GArSoft Utilities.