1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
19 /// \file loadmacros.C
20 /// \brief Macro which loads and compiles the MUON macros
22 /// \author I. Hrivnacova, IPN Orsay
24 #if !defined(__CINT__) || defined(__MAKECINT__)
34 /// Set include path and load libraries which are not
35 /// linked with aliroot
37 // Redefine include paths as some macros need
38 // to see more than what is define in rootlogon.C
40 TString includePath = "-I${ALICE_ROOT}/include ";
41 includePath += "-I${ALICE_ROOT}/RAW ";
42 includePath += "-I${ALICE_ROOT}/FASTSIM ";
43 includePath += "-I${ALICE_ROOT}/EVGEN ";
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());
50 // Load libraries not linked with aliroot
52 gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
53 gSystem->Load("libMUONshuttle.so");
54 gSystem->Load("libMUONevaluation.so");
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");
63 void loadmacro(const TString& macroName)
65 /// Load the macro with given name
67 TString path = "$ALICE_ROOT/MUON/";
70 gROOT->LoadMacro(path.Data());
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