]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/rootlogon.C
Fixes for #86059: Install data when ALICE_ROOT does not point to source (Christian)
[u/mrichter/AliRoot.git] / MUON / rootlogon.C
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 /* $Id$ */
5
6 /// \ingroup macros
7 /// \file rootlogon.C
8 /// \brief Macro which is run when starting Root in MUON
9 ///
10 /// It loads the MUON libraries needed for simulation and reconstruction
11 /// and sets the include path. 
12 ///
13 /// \author Laurent Aphecetche
14
15 {
16   cout << "Loading MUON libraries ..." << endl;
17   gROOT->LoadMacro("${ALICE_ROOT}/MUON/loadlibs.C");
18   gInterpreter->ProcessLine("loadlibs()");
19     
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 ";
35
36   gSystem->SetIncludePath(includePath.Data());
37 }