bug fixed
[u/mrichter/AliRoot.git] / MUON / rootlogon.C
CommitLineData
b507a890 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/* $Id$ */
5
e54bf126 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
b507a890 14
15{
6f990cb2 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;
8601c864 21 TString includePath = "-I${ALICE_ROOT}/STEER ";
564ef20f 22 includePath += "-I${ALICE_ROOT}/RAW ";
23 includePath += "-I${ALICE_ROOT}/FASTSIM ";
24 includePath += "-I${ALICE_ROOT}/EVGEN ";
25 includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
26 includePath += "-I${ALICE_ROOT}/ITS ";
27 includePath += "-I${ALICE_ROOT}/MUON ";
9016a84e 28 includePath += "-I${ALICE_ROOT}/MUON/mapping ";
2facc12a 29 includePath += "-I${ALICE_ROOT}/RAW ";
30 includePath += "-I${ALICE_ROOT}/include";
564ef20f 31 gSystem->SetIncludePath(includePath.Data());
b507a890 32}