diff --git a/geant4/LEMuSR/G4Modified/Readme.txt b/geant4/LEMuSR/G4Modified/Readme.txt index d341a20..5b23fd6 100644 --- a/geant4/LEMuSR/G4Modified/Readme.txt +++ b/geant4/LEMuSR/G4Modified/Readme.txt @@ -5,7 +5,4 @@ Copy files in the following directories: G4El_EqRhs -----> $G4Install/source/geometry/magneticfield /src and /include G4El_UsualEqRhs -----> $G4Install/source/geometry/magneticfield /src and /include G4ChordFinder -----> $G4Install/source/geometry/magneticfield /src and /include -G4ParticleGun -----> $G4Install/source/event /src and /include - -track/ is the geant4.6.2 version of $G4Install/source/track directory and should be updated \ No newline at end of file diff --git a/geant4/LEMuSR/G4Modified/update.sh b/geant4/LEMuSR/G4Modified/update.sh index 83e673c..50a80c1 100644 --- a/geant4/LEMuSR/G4Modified/update.sh +++ b/geant4/LEMuSR/G4Modified/update.sh @@ -1,45 +1,35 @@ - +# In order to handle the LEMuSR new types of field cp G4ChordFinder.cc $G4INSTALL/source/geometry/magneticfield/src/ cp G4ChordFinder.hh $G4INSTALL/source/geometry/magneticfield/include/ +# For the FieldHasMagComponent boolean variable cp G4FieldManager.cc $G4INSTALL/source/geometry/magneticfield/src/ cp G4FieldManager.hh $G4INSTALL/source/geometry/magneticfield/include/ cp G4FieldManager.icc $G4INSTALL/source/geometry/magneticfield/include/ - +# Better equations of motions including time update cp G4El_EqRhs.cc $G4INSTALL/source/geometry/magneticfield/src/ cp G4El_EqRhs.hh $G4INSTALL/source/geometry/magneticfield/include/ cp G4El_UsualEqRhs.cc $G4INSTALL/source/geometry/magneticfield/src/ cp G4El_UsualEqRhs.hh $G4INSTALL/source/geometry/magneticfield/include/ - -cp G4VDecayChannel.cc $G4INSTALL/source/particles/management/src/ -cp G4VDecayChannel.hh $G4INSTALL/source/particles/management/include/ +# Enable the muon decay channel for "Mu" particle cp G4MuonDecayChannel.cc $G4INSTALL/source/particles/management/src/ cp G4MuonDecayChannel.hh $G4INSTALL/source/particles/management/include/ -cp G4MuonDecayChannelWithSpin.cc $G4INSTALL/source/particles/management/src/ -cp G4MuonDecayChannelWithSpin.hh $G4INSTALL/source/particles/management/include/ - -cp G4Muonium.cc $G4INSTALL/source/particles/leptons/src/ -cp G4Muonium.hh $G4INSTALL/source/particles/leptons/include/ cd $G4INSTALL/source/geometry/magneticfield/ -#gmake clean +gmake clean gmake + cd $G4INSTALL/source/particles/management/ -#gmake clean +gmake clean gmake -cd $G4INSTALL/source/particles/leptons/ -#gmake clean -gmake - - cd ~/LEMuSR/G4Modified