3 // Macro for loading libraries for mapping in AliRoot.
4 // It sets also the environment variable used to find mapping data.
9 // gSystem->SetIncludePath(" -I$MINSTALL/include");
10 gSystem->SetIncludePath("-I$ALICE_ROOT/include -I$ALICE_ROOT/MUON/mapping");
12 // load Root libraries
13 gSystem->Load("libPhysics");
14 gSystem->Load("libTree");
15 gSystem->Load("libVMC");
17 // load AliRoot STEERbase
18 gSystem->Load("libSTEERBase");
20 // load mapping library
21 gSystem->Load("libMUONcore");
22 gSystem->Load("libMUONmapping");
23 gSystem->Load("libMUONmpgraphics");
25 // set path to mapping data
26 if (! gSystem->Getenv("MINSTALL")) {
27 TString dirPath = gSystem->Getenv("ALICE_ROOT");
28 dirPath += "/MUON/mapping";
29 AliMpFiles::SetTopPath(dirPath);
30 gSystem->Setenv("MINSTALL", dirPath.Data());
31 // cout << "AliMpFiles top path set to " << dirPath << endl;