]>
Commit | Line | Data |
---|---|---|
267d502e | 1 | =================================================== |
fe9005e3 | 2 | ESDMuonFilter task for filling the muon information in the AOD from the ESD |
3 | Roberta ARNALDI, Torino | |
28d9f4b3 | 4 | --------------------------------------------------------------- |
5 | ||
fe9005e3 | 6 | 1) AnalysisTrainMuonLocal.C --> macro to run locally the AliAnalysisTaskESDMuonFilter |
7 | 2) AliAnalysisTaskESDMuonFilter.h --> analysis task to produce the Muon AOD from ESD | |
8 | 3) AliAnalysisTaskESDMuonFilter.cxx --> analysis task to produce the Muon AOD from ESD | |
267d502e | 9 | 4) libPWG3muon.pkg |
10 | 5) PWG3muonLinkDef.h | |
28d9f4b3 | 11 | |
267d502e | 12 | =================================================== |
13 | Calculation of the LUT | |
14 | Bogdan VULPESCU, Clermont | |
28d9f4b3 | 15 | --------------------------------------------------------------- |
39280342 | 16 | Analysis task for the calculation of the Look-up-Tables used by the MUON |
17 | trigger algorithm | |
18 | ||
19 | Purpose: extract from ESD files track information (ESD track parameters and | |
20 | matched local trigger decisions) and store in TNtuple; the ntuple is used | |
21 | for building 2D histograms (transverse momentum / local deviation) which | |
22 | afterwards enter calculation/optimization procedures for the selection of | |
23 | LUT cuts for individual local boards and several transverse momenta. | |
24 | ||
25 | This version is prepared for the use on the grid, see the JDL file. | |
26 | ||
27 | Files: | |
28 | ||
29 | AliAnalysisTaskLUT.cxx - source files of the analysis task | |
30 | AliAnalysisTaskLUT.h | |
31 | ||
32 | rootlutnt.sh - executable (script) | |
33 | ||
34 | runCreateLUTNT.C - macro for setting the libraries environment and | |
35 | execution of the main macro | |
36 | ||
37 | analysisTaskLUTNT.C - main macro for the analysis | |
38 | ||
39 | createLUTNT.jdl - JDL file | |
39280342 | 40 | |
267d502e | 41 | =================================================== |
42 | Analysis task for the calculation of the trigger chamber efficiency. | |
43 | Diego STOCCO, Torino | |
44 | ---------------------------------------------------------------- | |
45 | ||
46 | Purpose: produce histograms for the trigger chamber efficiency determination | |
47 | from MUON track info. The task works either with input ESD or AOD (default is ESD). | |
48 | ||
49 | This version works either locally or on grid. | |
50 | ||
51 | Files: | |
52 | AliAnalysisTaskTrigChEff.cxx -source files of the analysis task | |
53 | AliAnalysisTaskTrigChEff.h | |
54 | ||
55 | AnalysisTrigChEff.C - main macro for analysis | |
56 | ||
57 | Test analysis: | |
58 | - Preliminary: copy the following packages in the current working directory | |
59 | - STEERBase.par | |
60 | - ESD.par | |
61 | - AOD.par | |
62 | - ANALYSIS.par | |
63 | - ANALYSISalice.par | |
76b2028b | 64 | - PWG3muon.par |
267d502e | 65 | If the packages are not present, create them: |
66 | cd $ALICE_ROOT | |
67 | make STEERBase.par | |
68 | make ESD.par | |
69 | ... | |
70 | ||
71 | - Local test: | |
72 | root | |
73 | .x AnalysisTrigChEff.C(kMlocal) | |
74 | ||
75 | by default the macro searches for ESD in $ALICE_ROOT/MUON/test_out.100 | |
76 | The directory is generated by MUON/AlirootRun_MUONtest.sh (see README in MUON). | |
77 | ||
78 | - Grid test (interactive): | |
79 | root | |
80 | .x AnalysisTrigChEff.C(kMlocalGrid) | |
81 | ||
82 | by default the macro searches for a wn.xml in the current directory, with the list | |
83 | of grid files to analyse. | |
84 | ||
85 | - Display results: | |
86 | The macro creates the file MUON.TriggerEfficiencyMap.root | |
87 | aliroot | |
88 | AliMUONTriggerEfficiencyCells effCells("MUON.TriggerEfficiencyMap.root") | |
89 | effCells.DisplayEfficiency() | |
fe9005e3 | 90 | |
91 | =================================================== | |
92 | Analysis task for checking the consistency of ESD and AOD filling and contents. | |
93 | Mercedes LOPEZ NORIEGA, Orsay | |
94 | ---------------------------------------------------------------- | |
95 | ||
96 | Purpose:check the consistency between the ESDs and the AOD. | |
97 | ||
98 | The task works locally and on the grid, there are two macros depending where | |
99 | you want to run | |
100 | ||
101 | Files: | |
102 | AliAnalysisTaskAODvsESD.cxx -source files of the analysis task | |
103 | AliAnalysisTaskAODvsESD.h | |
104 | ||
105 | AnalysisTrainMuonComp.C - macro for analysis on the grid | |
106 | AnalysisTrainMuonCompLocal.C - macro for local analysis | |
107 | ||
108 | To run the check: | |
109 | 1. Copy the following packages in the current working directory | |
110 | - STEERBase.par | |
111 | - ESD.par | |
112 | - AOD.par | |
113 | - ANALYSIS.par | |
114 | - ANALYSISalice.par | |
115 | - PWG3muon.par | |
116 | ||
117 | 2. To run locally: | |
118 | root | |
119 | .x AnalysisTrainMuonCompLocal.C | |
120 | ||
121 | by default the macro searches for a tag file of ESDs in the | |
122 | working directory | |
123 | ||
124 | 3. To run on the grid: | |
125 | root | |
126 | .x AnalysisTrainMuonComp.C | |
127 | ||
128 | by default the macro searches for a wn.xml in the current directory, with the list | |
129 | of grid files to analyse. | |
130 | ||
131 | 4. Display results: | |
132 | The macro creates the file AODvsESDoutput.root | |
133 | It contains an Ntuple from the ESDs and Ntuple from the AODs and an inv. mass histo | |
134 | for each case | |
509204ee | 135 | |
136 | =================================================== | |
137 | Analysis task for extracting variables from the ESD for single muons | |
138 | Nicole BASTID and Bogdan VULPESCU, Clermont-Ferrand | |
139 | ---------------------------------------------------------------- | |
140 | ||
141 | Purpose: the output is an ntuple with single muon tracks selected variables; a | |
142 | histogram collects the number of events in different trigger classes. | |
143 | ||
144 | Files: | |
145 | ||
146 | AliAnalysisTaskSingleMuESD.cxx - source files of the analysis task | |
147 | AliAnalysisTaskSingleMuESD.h | |
148 | ||
149 | RunSingleMuonAnalysisFromESD.C - macro to run the analysis (with xml input | |
150 | collection and grid connection) | |
151 | ||
152 | ||
153 | How to run: | |
154 | ||
155 | 1. Copy the following packages in the current working directory | |
156 | - STEERBase.par | |
157 | - ESD.par | |
158 | - AOD.par | |
159 | - ANALYSIS.par | |
160 | - ANALYSISalice.par | |
161 | - PWG3muon.par | |
162 | ||
163 | 2. Run root | |
164 | ||
165 | gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunAnalysis.C"); | |
166 | setupPar("STEERBase"); | |
167 | setupPar("ESD"); | |
168 | setupPar("AOD"); | |
169 | setupPar("ANALYSIS"); | |
170 | setupPar("ANALYSISalice"); | |
171 | setupPar("PWG3muon"); | |
172 | ||
173 | 3. To analyse grid files, provide an XML collection file wn.xml and run | |
174 | ||
175 | gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunSingleMuonAnalysisFromESD.C"); | |
176 | RunSingleMuonAnalysisFromESD() | |
177 | ||
178 | 4. To analyse local files, modify RunSingleMuonAnalysisFromESD.C | |
179 | ||
180 | } else { | |
181 | chain->Add("/path_1_to/AliESDs.root"); | |
182 | chain->Add("/path_2_to/AliESDs.root"); | |
183 | chain->Add("/path_3_to/AliESDs.root"); | |
184 | } | |
185 | ||
186 | and run (notice the "1" argument) | |
187 | ||
188 | gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunSingleMuonAnalysisFromESD.C"); | |
189 | RunSingleMuonAnalysisFromESD(1) | |
190 | ||
191 | 5. Check the results in SingleMuESD.root | |
192 | ||
193 | Note: for some older runs (PDC08/LHC08t for instance) it is necessary to force | |
194 | the values of the trigger mask, because the function | |
195 | ||
196 | GetFiredTriggerClasses() | |
197 | ||
198 | from AliESDEvent does not return the proper names of the muon trigger classes. | |
199 | So one has to un-comment the line | |
200 | ||
201 | task->SetTriggerType("MUON"); | |
202 | ||
203 | in the macro RunSingleMuonAnalysisFromESD.C, if the simulation was produced | |
204 | with SetMakeTrigger("MUON") | |
205 | ||
206 | This bug is fixed starting with the TRUNK from 14.11.2008 | |
207 | ||
208 | ||
209 |