1 // $Id: g4Config.C 18590 2007-05-15 13:24:50Z hristov $
3 // Configuration macro for building AliRoot geometry
4 // using g4ConfigCommon.C.
5 // TGeant3TGeo has to be used to build geometry as
6 // TGeant4 does not support mixing calls to gMC and TGeo.
8 // By I. Hrivnacova, IPN Orsay
13 cout << "Running g4ConfigGometry.C ... " << endl;
15 // Load Geant3 + Geant3 VMC libraries
17 // Libraries required by geant321
18 gSystem->Load("liblhapdf.so"); // Parton density functions
19 gSystem->Load("libpythia6.so"); // Pythia
20 gSystem->Load("libgeant321.so");
21 gSystem->Load("libEG");
22 gSystem->Load("libEGPythia6");
23 gSystem->Load("libAliPythia6.so"); // ALICE specific implementations
25 new TGeant3TGeo("C++ Interface to Geant3");
30 gROOT->LoadMacro("$ALICE_ROOT/macros/g4ConfigCommon1.C");
31 ConfigCommon1(kFALSE);
33 cout << "Running g4ConfigGometry.C finished ... " << endl;