/[PAMELA software]/PamVMC/examples/run_g3.C
ViewVC logotype

Diff of /PamVMC/examples/run_g3.C

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by nikolas, Wed Feb 18 17:25:29 2009 UTC revision 1.2 by nikolas, Thu Feb 19 17:39:48 2009 UTC
# Line 6  class TGeant3; Line 6  class TGeant3;
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
# Line 17  void run_g3(const TString& configMacro = Line 17  void run_g3(const TString& configMacro =
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
# Line 44  void run_g3(const TString& configMacro = Line 44  void run_g3(const TString& configMacro =
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);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23