]>
Commit | Line | Data |
---|---|---|
e6dc94be | 1 | // $Id$ |
2 | // | |
3 | // Configuration macro for running aliroot with Geant3 | |
4 | // with primary events read from external file. | |
5 | // | |
6 | // By I. Hrivnacova, IPN Orsay | |
7 | ||
8 | void Config() | |
9 | { | |
10 | cout << "Running g3Config.C ... " << endl; | |
11 | ||
12 | // AliRoot setup | |
13 | // | |
14 | gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/commonConfig.C"); | |
c05b5bd1 | 15 | commonConfig(); |
e6dc94be | 16 | |
17 | // Load Geant3 + Geant3 VMC libraries | |
18 | // | |
19 | #if defined(__CINT__) | |
20 | gSystem->Load("libgeant321"); | |
21 | #endif | |
22 | ||
23 | // Create TGeant3 | |
24 | // | |
25 | new TGeant3TGeo("C++ Interface to Geant3"); | |
26 | ||
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 |