1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
8 /// \brief Macro which is run when starting Root in MUON
10 /// It loads the MUON libraries needed for simulation and reconstruction
11 /// and sets the include path.
13 /// \author Laurent Aphecetche
16 cout << "Loading MUON libraries ..." << endl;
17 gROOT->LoadMacro("${ALICE_ROOT}/MUON/loadlibs.C");
18 gInterpreter->ProcessLine("loadlibs()");
20 cout << "Setting include path ..." << endl;
21 TString includePath = "-I${ALICE_ROOT}/STEER ";
22 includePath += "-I${ALICE_ROOT}/STEER/STEER ";
23 includePath += "-I${ALICE_ROOT}/STEER/STEERBase ";
24 includePath += "-I${ALICE_ROOT}/STEER/CDB ";
25 includePath += "-I${ALICE_ROOT}/STEER/ESD ";
26 includePath += "-I${ALICE_ROOT}/RAW ";
27 includePath += "-I${ALICE_ROOT}/FASTSIM ";
28 includePath += "-I${ALICE_ROOT}/EVGEN ";
29 includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
30 includePath += "-I${ALICE_ROOT}/ITS ";
31 includePath += "-I${ALICE_ROOT}/MUON ";
32 includePath += "-I${ALICE_ROOT}/MUON/mapping ";
33 includePath += "-I${ALICE_ROOT}/RAW ";
34 includePath += "-I${ALICE_ROOT}/include ";
36 if ( gSystem->Getenv("ALICE_INSTALL") ) includePath += "-I${ALICE_INSTALL}/include ";
37 if ( gSystem->Getenv("ALICE_BUILD") ) includePath += "-I${ALICE_BUILD}/include ";
39 gSystem->SetIncludePath(includePath.Data());