3 // Configuration macro for running aliroot with Geant3
4 // with primary events read from external file.
6 // By I. Hrivnacova, IPN Orsay
10 cout << "Running g3Config.C ... " << endl;
14 gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/commonConfig.C");
17 // Load Geant3 + Geant3 VMC libraries
20 gSystem->Load("libgeant321");
25 new TGeant3TGeo("C++ Interface to Geant3");
27 // AliRoot event generator
28 // (it has to be created after MC, as it may use decayer via VMC)
29 gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/genPPbenchConfig.C");
30 gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/genExtFileConfig.C");
31 // The event generator selection (srun) is done in genPPbenchConfig.C
32 // that´s why we have to load it too
33 genExtFileConfig(srun);
35 cout << "Running g3Config.C finished ... " << endl;