bug fixed
[u/mrichter/AliRoot.git] / MUON / loadmacros.C
CommitLineData
2095bb50 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/* $Id$ */
17
e54bf126 18/// \ingroup macros
19/// \file loadmacros.C
07a863ca 20/// \brief Macro which loads and compiles the MUON macros
e54bf126 21///
22/// \author I. Hrivnacova, IPN Orsay
2095bb50 23
24#if !defined(__CINT__) || defined(__MAKECINT__)
25
26#include <TROOT.h>
27#include <TSystem.h>
28#include <TString.h>
29
30#endif
31
07a863ca 32void init()
2095bb50 33{
07a863ca 34/// Set include path and load libraries which are not
35/// linked with aliroot
36
2095bb50 37 // Redefine include paths as some macros need
38 // to see more than what is define in rootlogon.C
39 //
40 TString includePath = "-I${ALICE_ROOT}/include ";
41 includePath += "-I${ALICE_ROOT}/RAW ";
334d976e 42 includePath += "-I${ALICE_ROOT}/FASTSIM ";
43 includePath += "-I${ALICE_ROOT}/EVGEN ";
2095bb50 44 includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
45 includePath += "-I${ALICE_ROOT}/ITS ";
46 includePath += "-I${ALICE_ROOT}/MUON ";
47 includePath += "-I${ALICE_ROOT}/MUON/mapping";
48 gSystem->SetIncludePath(includePath.Data());
49
50 // Load libraries not linked with aliroot
51 //
4f24373f 52 gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
2095bb50 53 gSystem->Load("libMUONshuttle.so");
54 gSystem->Load("libMUONevaluation.so");
07a863ca 55 gSystem->Load("liblhapdf.so");
56 gSystem->Load("libpythia6.so");
57 gSystem->Load("libgeant321.so");
58 gSystem->Load("libEG");
59 gSystem->Load("libEGPythia6");
60 gSystem->Load("libAliPythia6.so");
61}
2095bb50 62
07a863ca 63void loadmacro(const TString& macroName)
64{
65/// Load the macro with given name
66
67 TString path = "$ALICE_ROOT/MUON/";
68 path += macroName;
69 path += ".C++";
70 gROOT->LoadMacro(path.Data());
71}
72
73void loadmacros ()
74{
75 init();
76
323f18ec 77 loadmacro("AddTaskMuonAlignment"); // Javier
78 loadmacro("AddTaskMuonReAlign"); // Javier
07a863ca 79 loadmacro("DecodeRecoCocktail"); // Hermine, Alessandro
323f18ec 80 loadmacro("DIMUONFakes"); // Philippe P.
07a863ca 81 loadmacro("fastMUONGen"); // Hermine, Alessandro
82 loadmacro("fastMUONSim"); // Hermine, Alessandro
1db7015c 83 loadmacro("loadFromOCDB"); // Philippe P.
07a863ca 84 loadmacro("MakeMUONFullMisAlignment"); // Javier, Ivana
85 loadmacro("MakeMUONResMisAlignment"); // Javier, Ivana
86 loadmacro("MakeMUONZeroMisAlignment"); // Javier, Ivana
323f18ec 87 loadmacro("MakeMUONRecoParamArray"); // Philippe P.
88 loadmacro("MakeMUONSingleRecoParam"); // Philippe P.
07a863ca 89 loadmacro("MergeMuonLight"); // Hermine, Alessandro
90 loadmacro("MUONAlignment"); // Javier
4be12860 91 loadmacro("MUONChamberMaterialBudget"); // Philippe P.
07a863ca 92 loadmacro("MUONCheck"); // Frederic
93 loadmacro("MUONCheckDI"); // Artur
94 loadmacro("MUONCheckMisAligner"); // Javier
95 loadmacro("MUONClusterInfo"); // Philippe P.
323f18ec 96 loadmacro("MUONFakes"); // Philippe P.
07a863ca 97 loadmacro("MUONefficiency"); // Christophe
98 loadmacro("MUONGenerateBusPatch"); // Christian
99 loadmacro("MUONGenerateGeometryData"); // Ivana
100 loadmacro("MUONGenerateTestGMS"); // Ivana
101 loadmacro("MUONGeometryViewingHelper"); // Ivana
102 loadmacro("MUONmassPlot_ESD"); // Christian
103 loadmacro("MUONOfflineShift"); // Laurent
104 loadmacro("MUONplotefficiency"); // Christian
105 loadmacro("MUONRawStreamTracker"); // Christian
106 loadmacro("MUONRawStreamTrigger"); // Christian
107 loadmacro("MUONReCalcGlobalTrigger"); // Bogdan
108 loadmacro("MUONRecoCheck"); // Hermine, Alessandro
109 loadmacro("MUONRefit"); // Philippe P.
07a863ca 110 loadmacro("MUONStatusMap"); // Laurent
111 loadmacro("MUONSurveyUtil"); // Javier
323f18ec 112 loadmacro("MUONSurveyCh1"); // Javier
113 loadmacro("MUONSurveyCh2"); // Javier
114 loadmacro("MUONSurveyCh3"); // Javier
115 loadmacro("MUONSurveyCh4"); // Javier
116 loadmacro("MUONSurveyCh5"); // Javier
07a863ca 117 loadmacro("MUONSurveyCh8L"); // Javier
118 loadmacro("MUONTimeRawStreamTracker"); // Artur
119 loadmacro("MUONTimeRawStreamTrigger"); // Artur
120 loadmacro("MUONTrigger"); // Bogdan
121 loadmacro("MUONTriggerChamberEfficiency"); // Diego
122 loadmacro("MUONTriggerEfficiency"); // Bogdan
123 loadmacro("MUONTriggerEfficiencyPt"); // Bogdan
124 loadmacro("ReadRecoCocktail"); // Hermine, Alessandro
323f18ec 125 loadmacro("runDataReconstruction"); // Laurent
07a863ca 126 loadmacro("runReconstruction"); // Laurent
127 loadmacro("runSimulation"); // Laurent
128 loadmacro("TestMUONPreprocessor"); // Laurent
129 loadmacro("TestRecPoints"); // Diego
323f18ec 130 loadmacro("UpdateCDBCTPConfig"); // Bogdan
2095bb50 131}