Mapping test macros (D. Guez, I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / macros / mlibs.C
1 // $Id$
2 //
3 // Macro for loading libraries for mapping in AliRoot
4
5 void mlibs() 
6 {
7   // add include path
8   // gSystem->SetIncludePath(" -I$MINSTALL/include");
9   
10   // set path to mapping
11   if (! gSystem->Getenv("MINSTALL")) {    
12     TString dirPath = gSystem->Getenv("ALICE_ROOT");
13     dirPath += "/MUON/mapping"; 
14     gSystem->Setenv("MINSTALL", dirPath.Data());
15     //cout << "AliMpFiles top path set to " << dirPath << endl;   
16   }
17
18   // load Root libraries
19   gSystem->Load("libPhysics"); 
20   
21   // load mapping library
22   gSystem->Load("libMUONmapping"); 
23 }