Geant4 Cross Reference |
1 # 1 # 2 # Macro file for the initialization phase of " 2 # Macro file for the initialization phase of "TestEm8.cc" 3 # 3 # 4 # It creates the default geometry (simple abso 4 # It creates the default geometry (simple absorber cylinder ) 5 # 5 # 6 /control/verbose 2 6 /control/verbose 2 7 /control/cout/ignoreThreadsExcept 0 << 7 /run/verbose 2 8 /run/verbose 1 << 9 #/tracking/verbose 2 8 #/tracking/verbose 2 10 # 9 # 11 # select EM PhysicsList 10 # select EM PhysicsList 12 # 11 # 13 /testem/phys/addPhysics emstandard_opt0 << 12 /testem/phys/addPhysics pai 14 /process/em/AddPAIRegion all GasDetector pai << 13 #/testem/phys/addPhysics pai_photon 15 #/process/em/AddPAIRegion all GasDetector PAIp << 16 # 14 # >> 15 /testem/phys/setCuts 1 mm 17 #/testem/stepMax 10 mm 16 #/testem/stepMax 10 mm 18 # 17 # 19 /testem/phys/setNbinsE 20 << 18 # PLOT: energy deposit distribution in absorber 20 /testem/phys/setMaxE 0.060 MeV << 21 # 19 # 22 /process/em/lowestElectronEnergy 0.0 MeV << 20 /plots/setnbinEn 20 23 /process/em/lowestMuHadEnergy 0.0 MeV << 21 /plots/setEnlow 0.0 MeV >> 22 /plots/setEnhigh 0.060 MeV >> 23 /plots/sethistName g4.p11 24 # 24 # 25 /run/initialize 25 /run/initialize 26 # << 26 /run/particle/dumpCutValues 27 /process/em/verbose 0 << 28 /run/setCut 0.5 mm << 29 /run/setCutForAGivenParticle proton 0.0 mm << 30 /run/setCutForRegion GasDetector 1.8 mm << 31 #/run/particle/dumpCutValues << 32 # 27 # 33 #/gun/particle e- 28 #/gun/particle e- 34 # 29 # 35 /gun/particle proton 30 /gun/particle proton 36 # 31 # 37 #/gun/particle mu- 32 #/gun/particle mu- 38 # 33 # 39 /gun/energy 200000.00 MeV 34 /gun/energy 200000.00 MeV 40 # 35 # >> 36 #/gun/energy 200.0 MeV >> 37 # >> 38 #/tracking/verbose 1 >> 39 # >> 40 /event/printModulo 100 41 /run/beamOn 1000 41 /run/beamOn 1000 42 # 42 #