Take into account common installation locations for includes
[u/mrichter/AliRoot.git] / MUON / rootlogon.C
index 7ad52712d5544a72e9d9fc2cfd1d4fedccef8db9..90c64144ef6d0792f9799ca91cd72481fcf5e0c0 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 ";
@@ -27,6 +31,9 @@
   includePath        += "-I${ALICE_ROOT}/MUON ";
   includePath        += "-I${ALICE_ROOT}/MUON/mapping ";
   includePath        += "-I${ALICE_ROOT}/RAW ";
-  includePath        += "-I${ALICE_ROOT}/include";
+  includePath        += "-I${ALICE_ROOT}/include ";
+  includePath        += "-I${ALICE_INSTALL}/include ";
+  includePath        += "-I${ALICE_BUILD}/include ";
+
   gSystem->SetIncludePath(includePath.Data());
 }