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 standard 14 /process/em/AddPAIRegion all GasDetector pai << 13 /testem/phys/addPhysics pai 15 #/process/em/AddPAIRegion all GasDetector PAIp << 14 #/testem/phys/addPhysics pai_photon 16 # 15 # >> 16 /testem/phys/setCuts 1 mm 17 #/testem/stepMax 10 mm 17 #/testem/stepMax 10 mm 18 # 18 # 19 /testem/phys/setNbinsE 20 << 19 # PLOT: energy deposit distribution in absorber 20 /testem/phys/setMaxE 0.060 MeV << 21 # 20 # 22 /process/em/lowestElectronEnergy 0.0 MeV << 21 /plots/setnbinEn 20 23 /process/em/lowestMuHadEnergy 0.0 MeV << 22 /plots/setEnlow 0.0 MeV >> 23 /plots/setEnhigh 0.060 MeV >> 24 /plots/sethistName g4.p11 24 # 25 # 25 /run/initialize 26 /run/initialize 26 # << 27 /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 # 28 # 33 #/gun/particle e- 29 #/gun/particle e- 34 # 30 # 35 /gun/particle proton 31 /gun/particle proton 36 # 32 # 37 #/gun/particle mu- 33 #/gun/particle mu- 38 # 34 # 39 /gun/energy 200000.00 MeV 35 /gun/energy 200000.00 MeV 40 # 36 # >> 37 #/gun/energy 200.0 MeV >> 38 # >> 39 #/tracking/verbose 1 >> 40 # >> 41 /event/printModulo 100 41 /run/beamOn 1000 42 /run/beamOn 1000 42 # 43 #