]>
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 | ||
18 | // Macro which loads and compiles the MUON macros: | |
19 | // | |
334d976e | 20 | // fastMuonGen.C - ok, comp, x; Hermine, Alessandro |
21 | // fastMuonSim.C - ok, comp, x; Hermine, Alessandro | |
2095bb50 | 22 | // DecodeRecoCocktail.C - ok, comp, README; Hermine, Alessandro |
3c226639 | 23 | // ReadRecoCocktail.C - ok, comp, README; Hermine, Alessandro |
24 | // MergeMuonLight.C - x, comp, README; Hermine, Alessandro | |
2095bb50 | 25 | // MakeMUONFullMisAlignment.C - ok, comp, README; Javier, Ivana |
26 | // MakeMUONResMisAlignment.C - ok, comp, README; Javier, Ivana | |
27 | // MakeMUONZeroMisAlignment.C - ok, comp, README; Javier, Ivana | |
28 | // MUONAlignment.C - ok, comp, README; Javier | |
29 | // MUONCheck.C - ok, comp, x, Frederic, in test | |
30 | // MUONCheckDI.C - x, !comp, x Artur | |
31 | // MUONCheckMisAligner.C - ok, comp, x, Javier | |
32 | // MUONdisplay.C - ok, comp, deprecated | |
33 | // MUONefficiency.C - ok, comp, README; Christophe, in test | |
34 | // MUONGenerateBusPatch.C - ok, comp, x, Christian | |
35 | // MUONGenerateGeometryData.C - ok, comp, README; Ivana | |
b3fc7b19 | 36 | // MUONGenerateTestGMS.C - ok, comp, READMEshuttle; Ivana |
37 | // MUONmassPlot_ESD.C - ok, comp, README, Christian | |
cb877735 | 38 | // MUONplotefficiency.C - ok, comp, README; Christophe |
2095bb50 | 39 | // MUONRawStreamTracker.C - x, comp, README; Christian |
40 | // MUONRawStreamTrigger.C - x, comp, README; Christian | |
41 | // MUONRecoCheck.C - ok, comp, README; Hermine, Alessandro | |
42 | // MUONResoEffChamber.C - ok, comp, x, Nicolas | |
c8a38b17 | 43 | // MUONStatusMap.C - ok, comp, x, Laurent |
2095bb50 | 44 | // MUONTrigger.C - ok, comp, README, Philippe C. |
45 | // MUONTriggerEfficiency.C - ok, comp, x, Philippe C., in test | |
46 | // MUONTriggerEfficiencyPt.C - x, comp, README, Philippe C. | |
47 | // TestMUONPreprocessor.C - ok, comp, READMEshuttle; Laurent | |
48 | // | |
49 | // 1st item: | |
50 | // ok/fails/x - if the macro runs; x means that it was not tried either for lack | |
51 | // of documentation, or expertise | |
52 | // | |
53 | // 2nd item: | |
54 | // comp/x - if the macro can be compiled | |
55 | // | |
56 | // 3rd item: | |
57 | // README*/x - if it is documented in README, x means no doxumentation outside the | |
58 | // macro itself | |
59 | // | |
60 | // 4th item: - author(s), responsible for macro maintenance | |
61 | // | |
62 | // eventually | |
63 | // 5th item: - if the macro is run within test scripts | |
64 | // | |
65 | // I. Hrivnacova | |
66 | ||
67 | #if !defined(__CINT__) || defined(__MAKECINT__) | |
68 | ||
69 | #include <TROOT.h> | |
70 | #include <TSystem.h> | |
71 | #include <TString.h> | |
72 | ||
73 | #endif | |
74 | ||
75 | void loadmacros () | |
76 | { | |
77 | // Redefine include paths as some macros need | |
78 | // to see more than what is define in rootlogon.C | |
79 | // | |
80 | TString includePath = "-I${ALICE_ROOT}/include "; | |
81 | includePath += "-I${ALICE_ROOT}/RAW "; | |
334d976e | 82 | includePath += "-I${ALICE_ROOT}/FASTSIM "; |
83 | includePath += "-I${ALICE_ROOT}/EVGEN "; | |
2095bb50 | 84 | includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle "; |
85 | includePath += "-I${ALICE_ROOT}/ITS "; | |
86 | includePath += "-I${ALICE_ROOT}/MUON "; | |
87 | includePath += "-I${ALICE_ROOT}/MUON/mapping"; | |
88 | gSystem->SetIncludePath(includePath.Data()); | |
89 | ||
90 | // Load libraries not linked with aliroot | |
91 | // | |
4f24373f | 92 | gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so"); |
2095bb50 | 93 | gSystem->Load("libMUONshuttle.so"); |
94 | gSystem->Load("libMUONevaluation.so"); | |
95 | ||
96 | // Load macros | |
97 | // | |
334d976e | 98 | gROOT->LoadMacro("$ALICE_ROOT/MUON/fastMUONGen.C++"); |
99 | gROOT->LoadMacro("$ALICE_ROOT/MUON/fastMUONSim.C++"); | |
100 | /* | |
4f24373f | 101 | gROOT->LoadMacro("$ALICE_ROOT/MUON/DecodeRecoCocktail.C++"); |
3c226639 | 102 | gROOT->LoadMacro("$ALICE_ROOT/MUON/ReadRecoCocktail.C++"); |
103 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MergeMuonLight.C++"); | |
4f24373f | 104 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONFullMisAlignment.C++"); |
105 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONResMisAlignment.C++"); | |
106 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONZeroMisAlignment.C++"); | |
107 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONAlignment.C++"); | |
108 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheck.C++"); | |
109 | // gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckDI.C++"); | |
110 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckMisAligner.C++"); | |
111 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONdisplay.C++"); | |
112 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONefficiency.C++"); | |
113 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateBusPatch.C++"); | |
114 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateGeometryData.C++"); | |
115 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateTestGMS.C++"); | |
116 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONmassPlot_ESD.C++"); | |
117 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONplotefficiency.C++"); | |
118 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTracker.C++"); | |
119 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTrigger.C++"); | |
120 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRecoCheck.C++"); | |
2b3b97a0 | 121 | // gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONResoEffChamber.C++"); |
4f24373f | 122 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONStatusMap.C++"); |
2b3b97a0 | 123 | // gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTrigger.C++"); |
4f24373f | 124 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiency.C++"); |
125 | gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiencyPt.C++"); | |
126 | gROOT->LoadMacro("$ALICE_ROOT/MUON/TestMUONPreprocessor.C++"); | |
334d976e | 127 | */ |
2095bb50 | 128 | } |