File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,18 @@ void SetCuts()
3131 gMC -> SetProcess ("COMP" ,1 ); /**Compton scattering*/
3232 gMC -> SetProcess ("PHOT" ,1 ); /** photo electric effect */
3333 gMC -> SetProcess ("PFIS" ,0 ); /**photofission*/
34- gMC -> SetProcess ("DRAY" ,1 ); /**delta-ray*/
34+ gMC -> SetProcess ("DRAY" ,0 ); /**delta-ray*/
3535 gMC -> SetProcess ("ANNI" ,1 ); /**annihilation*/
3636 gMC -> SetProcess ("BREM" ,1 ); /**bremsstrahlung*/
3737 gMC -> SetProcess ("HADR" ,1 ); /**hadronic process*/
3838 gMC -> SetProcess ("MUNU" ,1 ); /**muon nuclear interaction*/
3939 gMC -> SetProcess ("DCAY" ,1 ); /**decay*/
40- gMC -> SetProcess ("LOSS" ,1 ); /**energy loss*/
40+ gMC -> SetProcess ("LOSS" ,2 ); /**energy loss*/
4141 gMC -> SetProcess ("MULS" ,1 ); /**multiple scattering*/
4242
43+
44+
45+
4346 Double_t cut1 = 1.0E-3 ; // GeV --> 1 MeV
4447 Double_t cutb = 1.0E4 ; // GeV --> 10 TeV
4548 Double_t tofmax = 1.E10 ; // seconds
Original file line number Diff line number Diff line change @@ -38,13 +38,15 @@ void Config()
3838 geant3 -> SetDEBU (0 , 0 , 1 );
3939
4040 geant3 -> SetRAYL (1 );
41- geant3 -> SetSTRA (1 );
41+ geant3 -> SetSTRA (0 );
4242 geant3 -> SetAUTO (0 ); //Select automatic STMIN etc... calc. (AUTO 1) or manual (AUTO 0)
4343 geant3 -> SetABAN (0 ); //Restore 3.16 behaviour for abandoned tracks
4444 geant3 -> SetOPTI (2 ); //Select optimisation level for GEANT geometry searches (0,1,2)
4545 geant3 -> SetERAN (5.e-7 );
4646 geant3 -> SetCKOV (1 ); // cerenkov photons
4747
48+
49+
4850}
4951
5052
Original file line number Diff line number Diff line change 99# Geant4 configuration macro for Example02
1010# (called from Root macro Config.C)
1111
12- /mcVerbose/all 0
12+ /mcVerbose/all 1s
1313/mcVerbose/runAction 1
1414/mcVerbose/composedPhysicsList 1
1515#/mcVerbose/trackManager 2
2121#/tracking/verbose 1
2222#/control/cout/ignoreThreadsExcept 0
2323
24+ /mcPhysics/rangeCuts 0.01 mm
You can’t perform that action at this time.
0 commit comments