Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions 7 gconfig/SetCuts.C
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,18 @@ void SetCuts()
gMC->SetProcess("COMP",1); /**Compton scattering*/
gMC->SetProcess("PHOT",1); /** photo electric effect */
gMC->SetProcess("PFIS",0); /**photofission*/
gMC->SetProcess("DRAY",1); /**delta-ray*/
gMC->SetProcess("DRAY",0); /**delta-ray*/
gMC->SetProcess("ANNI",1); /**annihilation*/
gMC->SetProcess("BREM",1); /**bremsstrahlung*/
gMC->SetProcess("HADR",1); /**hadronic process*/
gMC->SetProcess("MUNU",1); /**muon nuclear interaction*/
gMC->SetProcess("DCAY",1); /**decay*/
gMC->SetProcess("LOSS",1); /**energy loss*/
gMC->SetProcess("LOSS",2); /**energy loss*/
gMC->SetProcess("MULS",1); /**multiple scattering*/




Double_t cut1 = 1.0E-3; // GeV --> 1 MeV
Double_t cutb = 1.0E4; // GeV --> 10 TeV
Double_t tofmax = 1.E10; // seconds
Expand Down
4 changes: 3 additions & 1 deletion 4 gconfig/g3Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ void Config()
geant3->SetDEBU(0, 0, 1);

geant3->SetRAYL(1);
geant3->SetSTRA(1);
geant3->SetSTRA(0);
geant3->SetAUTO(0); //Select automatic STMIN etc... calc. (AUTO 1) or manual (AUTO 0)
geant3->SetABAN(0); //Restore 3.16 behaviour for abandoned tracks
geant3->SetOPTI(2); //Select optimisation level for GEANT geometry searches (0,1,2)
geant3->SetERAN(5.e-7);
geant3->SetCKOV(1); // cerenkov photons



}


3 changes: 2 additions & 1 deletion 3 gconfig/g4config.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Geant4 configuration macro for Example02
# (called from Root macro Config.C)

/mcVerbose/all 0
/mcVerbose/all 1s
/mcVerbose/runAction 1
/mcVerbose/composedPhysicsList 1
#/mcVerbose/trackManager 2
Expand All @@ -21,3 +21,4 @@
#/tracking/verbose 1
#/control/cout/ignoreThreadsExcept 0

/mcPhysics/rangeCuts 0.01 mm
Morty Proxy This is a proxified and sanitized view of the page, visit original site.