Flexible pt range for the efficiency histogramming
[u/mrichter/AliRoot.git] / MUON / rootlogon.C
index 3413b47..2a10390 100644 (file)
     
   cout << "Setting include path ..." << endl;
   TString includePath = "-I${ALICE_ROOT}/STEER ";
+  includePath        += "-I${ALICE_ROOT}/STEER/STEER ";
+  includePath        += "-I${ALICE_ROOT}/STEER/STEERBase ";
+  includePath        += "-I${ALICE_ROOT}/STEER/CDB ";
+  includePath        += "-I${ALICE_ROOT}/STEER/ESD ";
   includePath        += "-I${ALICE_ROOT}/RAW ";
   includePath        += "-I${ALICE_ROOT}/FASTSIM ";
   includePath        += "-I${ALICE_ROOT}/EVGEN ";
@@ -28,6 +32,9 @@
   includePath        += "-I${ALICE_ROOT}/MUON/mapping ";
   includePath        += "-I${ALICE_ROOT}/RAW ";
   includePath        += "-I${ALICE_ROOT}/include ";
+  
+  if ( gSystem->Getenv("ALICE_INSTALL") ) includePath += "-I${ALICE_INSTALL}/include ";
+  if ( gSystem->Getenv("ALICE_BUILD") ) includePath += "-I${ALICE_BUILD}/include ";
 
   gSystem->SetIncludePath(includePath.Data());
 }