]>
Commit | Line | Data |
---|---|---|
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 | 32 | void 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 | 63 | void 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 | ||
73 | void loadmacros () | |
74 | { | |
75 | init(); | |
76 | ||
77 | loadmacro("DecodeRecoCocktail"); // Hermine, Alessandro | |
78 | loadmacro("fastMUONGen"); // Hermine, Alessandro | |
79 | loadmacro("fastMUONSim"); // Hermine, Alessandro | |
80 | loadmacro("MakeMUONFullMisAlignment"); // Javier, Ivana | |
81 | loadmacro("MakeMUONResMisAlignment"); // Javier, Ivana | |
82 | loadmacro("MakeMUONZeroMisAlignment"); // Javier, Ivana | |
83 | loadmacro("MergeMuonLight"); // Hermine, Alessandro | |
84 | loadmacro("MUONAlignment"); // Javier | |
85 | loadmacro("MUONCheck"); // Frederic | |
86 | loadmacro("MUONCheckDI"); // Artur | |
87 | loadmacro("MUONCheckMisAligner"); // Javier | |
88 | loadmacro("MUONClusterInfo"); // Philippe P. | |
89 | loadmacro("MUONefficiency"); // Christophe | |
90 | loadmacro("MUONGenerateBusPatch"); // Christian | |
91 | loadmacro("MUONGenerateGeometryData"); // Ivana | |
92 | loadmacro("MUONGenerateTestGMS"); // Ivana | |
93 | loadmacro("MUONGeometryViewingHelper"); // Ivana | |
94 | loadmacro("MUONmassPlot_ESD"); // Christian | |
95 | loadmacro("MUONOfflineShift"); // Laurent | |
96 | loadmacro("MUONplotefficiency"); // Christian | |
97 | loadmacro("MUONRawStreamTracker"); // Christian | |
98 | loadmacro("MUONRawStreamTrigger"); // Christian | |
99 | loadmacro("MUONReCalcGlobalTrigger"); // Bogdan | |
100 | loadmacro("MUONRecoCheck"); // Hermine, Alessandro | |
101 | loadmacro("MUONRefit"); // Philippe P. | |
102 | // loadmacro("MUONResoEffChamber"); // Nicolas | |
103 | loadmacro("MUONStatusMap"); // Laurent | |
104 | loadmacro("MUONSurveyUtil"); // Javier | |
105 | loadmacro("MUONSurveyCh8L"); // Javier | |
106 | loadmacro("MUONTimeRawStreamTracker"); // Artur | |
107 | loadmacro("MUONTimeRawStreamTrigger"); // Artur | |
108 | loadmacro("MUONTrigger"); // Bogdan | |
109 | loadmacro("MUONTriggerChamberEfficiency"); // Diego | |
110 | loadmacro("MUONTriggerEfficiency"); // Bogdan | |
111 | loadmacro("MUONTriggerEfficiencyPt"); // Bogdan | |
112 | loadmacro("ReadRecoCocktail"); // Hermine, Alessandro | |
113 | loadmacro("runReconstruction"); // Laurent | |
114 | loadmacro("runSimulation"); // Laurent | |
115 | loadmacro("TestMUONPreprocessor"); // Laurent | |
116 | loadmacro("TestRecPoints"); // Diego | |
2095bb50 | 117 | } |