]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/READMEmuon
Single muon analysis from ESD using for the production PDC08/LHC08t (Bogdan, Nicole)
[u/mrichter/AliRoot.git] / PWG3 / READMEmuon
CommitLineData
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 61) AnalysisTrainMuonLocal.C --> macro to run locally the AliAnalysisTaskESDMuonFilter
72) AliAnalysisTaskESDMuonFilter.h --> analysis task to produce the Muon AOD from ESD
83) AliAnalysisTaskESDMuonFilter.cxx --> analysis task to produce the Muon AOD from ESD
267d502e 94) libPWG3muon.pkg
105) PWG3muonLinkDef.h
28d9f4b3 11
267d502e 12===================================================
13 Calculation of the LUT
14 Bogdan VULPESCU, Clermont
28d9f4b3 15---------------------------------------------------------------
39280342 16Analysis task for the calculation of the Look-up-Tables used by the MUON
17trigger algorithm
18
19Purpose: extract from ESD files track information (ESD track parameters and
20matched local trigger decisions) and store in TNtuple; the ntuple is used
21for building 2D histograms (transverse momentum / local deviation) which
22afterwards enter calculation/optimization procedures for the selection of
23LUT cuts for individual local boards and several transverse momenta.
24
25This version is prepared for the use on the grid, see the JDL file.
26
27Files:
28
29AliAnalysisTaskLUT.cxx - source files of the analysis task
30AliAnalysisTaskLUT.h
31
32rootlutnt.sh - executable (script)
33
34runCreateLUTNT.C - macro for setting the libraries environment and
35 execution of the main macro
36
37analysisTaskLUTNT.C - main macro for the analysis
38
39createLUTNT.jdl - JDL file
39280342 40
267d502e 41===================================================
42 Analysis task for the calculation of the trigger chamber efficiency.
43 Diego STOCCO, Torino
44----------------------------------------------------------------
45
46Purpose: produce histograms for the trigger chamber efficiency determination
47from MUON track info. The task works either with input ESD or AOD (default is ESD).
48
49This version works either locally or on grid.
50
51Files:
52AliAnalysisTaskTrigChEff.cxx -source files of the analysis task
53AliAnalysisTaskTrigChEff.h
54
55AnalysisTrigChEff.C - main macro for analysis
56
57Test 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 65If the packages are not present, create them:
66cd $ALICE_ROOT
67make STEERBase.par
68make 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:
86The macro creates the file MUON.TriggerEfficiencyMap.root
87aliroot
88AliMUONTriggerEfficiencyCells effCells("MUON.TriggerEfficiencyMap.root")
89effCells.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
96Purpose:check the consistency between the ESDs and the AOD.
97
98The task works locally and on the grid, there are two macros depending where
99you want to run
100
101Files:
102AliAnalysisTaskAODvsESD.cxx -source files of the analysis task
103AliAnalysisTaskAODvsESD.h
104
105AnalysisTrainMuonComp.C - macro for analysis on the grid
106AnalysisTrainMuonCompLocal.C - macro for local analysis
107
108To run the check:
1091. 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
1172. 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
1243. 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
1314. Display results:
132The macro creates the file AODvsESDoutput.root
133It contains an Ntuple from the ESDs and Ntuple from the AODs and an inv. mass histo
134for 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
141Purpose: the output is an ntuple with single muon tracks selected variables; a
142histogram collects the number of events in different trigger classes.
143
144Files:
145
146AliAnalysisTaskSingleMuESD.cxx - source files of the analysis task
147AliAnalysisTaskSingleMuESD.h
148
149RunSingleMuonAnalysisFromESD.C - macro to run the analysis (with xml input
150 collection and grid connection)
151
152
153How to run:
154
1551. 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
1632. Run root
164
165gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunAnalysis.C");
166setupPar("STEERBase");
167setupPar("ESD");
168setupPar("AOD");
169setupPar("ANALYSIS");
170setupPar("ANALYSISalice");
171setupPar("PWG3muon");
172
1733. To analyse grid files, provide an XML collection file wn.xml and run
174
175gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunSingleMuonAnalysisFromESD.C");
176RunSingleMuonAnalysisFromESD()
177
1784. 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
186and run (notice the "1" argument)
187
188gROOT->LoadMacro("$ALICE_ROOT/PWG3/muon/RunSingleMuonAnalysisFromESD.C");
189RunSingleMuonAnalysisFromESD(1)
190
1915. Check the results in SingleMuESD.root
192
193Note: for some older runs (PDC08/LHC08t for instance) it is necessary to force
194the values of the trigger mask, because the function
195
196GetFiredTriggerClasses()
197
198from AliESDEvent does not return the proper names of the muon trigger classes.
199So one has to un-comment the line
200
201task->SetTriggerType("MUON");
202
203in the macro RunSingleMuonAnalysisFromESD.C, if the simulation was produced
204with SetMakeTrigger("MUON")
205
206This bug is fixed starting with the TRUNK from 14.11.2008
207
208
209