6 |
void run_g3(const TString& configMacro = "g3Config.C") |
void run_g3(const TString& configMacro = "g3Config.C") |
7 |
{ |
{ |
8 |
// Load basic libraries |
// Load basic libraries |
9 |
gROOT->LoadMacro("./macro/basiclibs.C"); |
gROOT->LoadMacro("../macro/basiclibs.C"); |
10 |
basiclibs(); |
basiclibs(); |
11 |
|
|
12 |
// Load PAMELA libs |
// Load PAMELA libs |
17 |
|
|
18 |
// Load Geant4 libraries |
// Load Geant4 libraries |
19 |
|
|
20 |
// gROOT->LoadMacro("./macro/PamG4Libs.C"); |
// gROOT->LoadMacro("../macro/PamG4Libs.C"); |
21 |
//PamG4Libs(); |
//PamG4Libs(); |
22 |
|
|
23 |
// Load this example libraries |
// Load this example libraries |
44 |
|
|
45 |
// Customise Geant4 setting after initialization: |
// Customise Geant4 setting after initialization: |
46 |
// Physics list |
// Physics list |
47 |
// ((TGeant4*)gMC)->ProcessGeantMacro("g4config2.in"); |
// ((TGeant4*)gMC)->ProcessGeantMacro("../macro/g4config2.in"); |
48 |
// Visualization settings |
// Visualization settings |
49 |
// ((TGeant4*)gMC)->ProcessGeantMacro("g4vis.in"); |
// ((TGeant4*)gMC)->ProcessGeantMacro("../macro/g4vis.in"); |
50 |
|
|
51 |
// Run MC |
// Run MC |
52 |
appl->RunMC(1); |
appl->RunMC(1); |