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");
11 // load Root libraries
12 gSystem->Load("libPhysics");
14 // load mapping library
15 gSystem->Load("libMUONmapping");
17 // set path to mapping data
18 if (! gSystem->Getenv("MINSTALL")) {
19 TString dirPath = gSystem->Getenv("ALICE_ROOT");
20 dirPath += "/MUON/mapping";
21 AliMpFiles::SetTopPath(dirPath);
22 gSystem->Setenv("MINSTALL", dirPath.Data());
23 // cout << "AliMpFiles top path set to " << dirPath << endl;