]>
Commit | Line | Data |
---|---|---|
b2a297fa | 1 | /************************************************************************* |
2 | * Copyright(c) 1998-2009, 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 | /////////////////////////////////////////////////////////////////////////// | |
17 | // Dielectron Variables Manager class // | |
18 | // // | |
19 | /* | |
20 | ||
21 | */ | |
22 | // // | |
23 | /////////////////////////////////////////////////////////////////////////// | |
24 | ||
25 | #include "AliDielectronVarManager.h" | |
26 | ||
27 | ClassImp(AliDielectronVarManager) | |
28 | ||
90c1ae2d | 29 | const char* AliDielectronVarManager::fgkParticleNames[AliDielectronVarManager::kNMaxValues][3] = { |
31b0e8c5 | 30 | {"Px", "#it{p}_{x}", "(GeV/#it{c})"}, |
31 | {"Py", "#it{p}_{y}", "(GeV/#it{c})"}, | |
32 | {"Pz", "#it{p}_{z}", "(GeV/#it{c})"}, | |
33 | {"Pt", "#it{p}_{T}", "(GeV/#it{c})"}, | |
34 | {"P", "#it{p}", "(GeV/#it{c})"}, | |
35 | {"Xv", "x_{vtx}", "(cm)"}, | |
36 | {"Yv", "y_{vtx}", "(cm)"}, | |
37 | {"Zv", "z_{vtx}", "(cm)"}, | |
38 | {"OneOverPt", "1/^{}#it{p}_{T}", "(GeV/#it{c})^{-1}"}, | |
39 | {"Phi", "#phi", "(rad.)"}, | |
40 | {"Theta", "#theta", "(rad.)"}, | |
41 | {"Eta", "#eta", ""}, | |
42 | {"Y", "#it{y}", ""}, | |
43 | {"E", "E", "(GeV)"}, | |
44 | {"M", "m_{inv}", "(GeV/#it{c^{2}})"}, | |
45 | {"Charge", "q", "(e)"}, | |
46 | {"NclsITS", "N_{cls}^{ITS}", ""}, | |
47 | {"ITSchi2PerCluster", "#chi^{2}/^{}N_{cls}^{ITS}", ""}, | |
48 | {"NclsTPC", "N_{cls}^{TPC}", ""}, | |
49 | {"NclsSTPC", "N_{shar.cls}^{TPC}", ""}, | |
50 | {"NclsSFracTPC", "N_{shar.cls}^{TPC}/^{}N_{cls}^{TPC}", ""}, | |
51 | {"NclsTPCiter1", "N_{1st.iter.cls}^{TPC}", ""}, | |
52 | {"NFclsTPC", "N_{find.cls}^{TPC}", ""}, | |
53 | {"NFclsTPCrobust", "N_{cross.rows}^{TPC}", ""}, | |
54 | {"NFclsTPCrobustFraction", "N_{cls}^{TPC}/^{}N_{find.cls}^{TPC}", ""},//TODO: check | |
55 | {"NFclsTPCfracCrossedRows","N_{cross.rows}^{TPC}/^{}N_{find.cls}^{TPC}", ""}, | |
56 | {"TPCsignalN", "N_{d#it{E}/d#it{x} points}^{TPC}", ""}, | |
57 | {"TPCsignalNfrac", "N_{d#it{E}/d#it{x} points}^{TPC}/^{}N_{cls}^{TPC}", ""}, | |
58 | {"TPCchi2PerCluster", "#chi^{2}/^{}N_{cls}^{TPC}", ""}, | |
59 | {"TPCclsDiff", "N_{d#it{E}/d#it{x} points}^{TPC} - N_{cls}^{TPC}", ""}, | |
60 | {"TPCclsSegments", "N_{segments}^{TPC}", ""}, | |
61 | {"TrackStatus", "TrackStatus", ""}, | |
62 | {"FilterBit", "AOD filter bit", ""}, | |
61d106d3 | 63 | |
31b0e8c5 | 64 | {"NclsTRD", "N_{cls}^{TRD}", ""}, |
65 | {"TRDntracklets", "N_{trkl}^{TRD}", ""}, | |
66 | {"TRDpidQuality", "N_{PID.trkl}^{TRD}", ""}, | |
67 | {"TRDchi2", "#chi^{2}/^{}N_{cls}^{TRD}", ""},//TODO: check denominator | |
68 | {"TRDpidProb_Electrons", "P(PID_{e}^{TRD})", ""}, | |
69 | {"TRDpidProb_Pions", "P(PID_{#pi}^{TRD})", ""}, | |
70 | {"TRDpidProb2D_Electrons", "P(2dim. PID_{e}^{TRD})", ""}, | |
71 | {"TRDpidProb2D_Pions", "P(2dim. PID_{#pi}^{TRD})", ""}, | |
72 | {"TRDphi", "#phi^{TRD}", ""}, | |
73 | {"TRDpidEffLeg", "#epsilon^{TRD legs}(PID)", ""}, | |
35363fb9 | 74 | {"TRD_signal", "TRD d#it{E}/d#it{x} + TR", "(a.u.)"}, |
5720c765 | 75 | |
31b0e8c5 | 76 | {"ImpactParXY", "#it{dca}_{xy}", "(cm)"}, |
77 | {"ImpactParZ", "#it{dca}_{z}", "(cm)"}, | |
78 | {"TrackLength", "#it{l}_{track}", "(cm)"}, | |
b2ad74d0 | 79 | |
31b0e8c5 | 80 | {"PdgCode", "PDG code", ""}, |
81 | {"PdgCodeMother", "mothers PDG code", ""}, | |
82 | {"PdgCodeGrandMother", "grand mothers PDG code", ""}, | |
83 | {"HasCocktailMother", "mother from AliGenCocktail", ""}, | |
84 | {"HasCocktailGrandMother", "grand mother from AliGenCocktail", ""}, | |
1bb1fef1 | 85 | |
31b0e8c5 | 86 | {"NumberOfDaughters", "N_{daughters}", ""}, |
87 | {"HaveSameMother", "HaveSameMother", ""}, | |
88 | {"IsJpsiPrimary", "IsJpsiPrimary", ""}, | |
89 | {"NumberOfJPsisIncl", "N_{incl. J/^{}#psi}", ""}, | |
90 | {"NumberOfJPsisPrompt", "N_{prompt J/^{}#psi}", ""}, | |
91 | {"NumberOfJPsisNPrompt", "N_{non prompt J/^{}#psi}", ""}, | |
5720c765 | 92 | |
31b0e8c5 | 93 | {"ITS_signal", "ITS d#it{E}/d#it{x}", "(keV/^{}300#mum)"},//TODO: check units |
94 | {"SSD1_signal", "SSD 1st layer d#it{E}/d#it{x}", "(keV/^{}300#mum)"}, | |
95 | {"SSD2_signal", "SSD 2nd layer d#it{E}/d#it{x}", "(keV/^{}300#mum)"}, | |
96 | {"SDD1_signal", "SDD 1st layer d#it{E}/d#it{x}", "(keV/^{}300#mum)"}, | |
97 | {"SDD2_signal", "SDD 2nd layer d#it{E}/d#it{x}", "(keV/^{}300#mum)"}, | |
98 | {"ITS_clusterMap", "ITS_clusterMap", ""}, | |
99 | {"ITSLayerFirstCls", "1st ITS cluster", "(layer)"}, | |
100 | {"ITS_nSigma_Electrons", "n#sigma_{e}^{ITS}", ""}, | |
101 | {"ITS_nSigma_Pions", "n#sigma_{#pi}^{ITS}", ""}, | |
102 | {"ITS_nSigma_Muons", "n#sigma_{#mu}^{ITS}", ""}, | |
103 | {"ITS_nSigma_Kaons", "n#sigma_{K}^{ITS}", ""}, | |
104 | {"ITS_nSigma_Protons", "n#sigma_{p}^{ITS}", ""}, | |
8df8e382 | 105 | |
31b0e8c5 | 106 | {"P_InnerParam", "#it{p}_{inner wall}^{TPC}", "(GeV/#it{c})"}, |
107 | {"P_OuterParam", "#it{p}_{outer wall}^{TPC}", "(GeV/#it{c})"}, | |
108 | {"Y_signed_InnerParam", "sign. y_{inner wall}^{TPC}", "(GeV/#it{c})"}, | |
109 | {"TPC_signal", "TPC d#it{E}/d#it{x}", "(a.u.)"}, | |
110 | {"TOF_signal", "TOF signal", "(ps)"}, | |
111 | {"TOF_beta", "TOF #beta", "(#it{c})"}, | |
112 | {"TOF_PIDbit", "TOF PID bit", ""}, | |
b2ad74d0 | 113 | {"TOF_mismProb", "TOF mismatch probability", ""}, |
ba15fdfb | 114 | |
31b0e8c5 | 115 | {"TPC_nSigma_Electrons", "n#sigma_{e}^{TPC}", ""}, |
116 | {"TPC_nSigma_Pions", "n#sigma_{#pi}^{TPC}", ""}, | |
117 | {"TPC_nSigma_Muons", "n#sigma_{#mu}^{TPC}", ""}, | |
118 | {"TPC_nSigma_Kaons", "n#sigma_{K}^{TPC}", ""}, | |
119 | {"TPC_nSigma_Protons", "n#sigma_{p}^{TPC}", ""}, | |
9143d69f | 120 | |
31b0e8c5 | 121 | {"TOF_nSigma_Electrons", "n#sigma_{e}^{TOF}", ""}, |
122 | {"TOF_nSigma_Pions", "n#sigma_{#pi}^{TOF}", ""}, | |
123 | {"TOF_nSigma_Muons", "n#sigma_{#mu}^{TOF}", ""}, | |
124 | {"TOF_nSigma_Kaons", "n#sigma_{K}^{TOF}", ""}, | |
125 | {"TOF_nSigma_Protons", "n#sigma_{p}^{TOF}", ""}, | |
ffbede40 | 126 | |
31b0e8c5 | 127 | {"EMCAL_nSigma_Electrons", "n#sigma_{e}^{EMCAL}", ""}, |
128 | {"EMCAL_EoverP", "E^{EMCAL}/^{}#it{p}", "(#it{c})"}, | |
129 | {"EMCAL_E", "E^{EMCAL}", "(GeV)"}, | |
130 | {"EMCAL_NCells", "N_{cell}^{EMCAL}", ""}, | |
131 | {"EMCAL_M02", "M02 EMCAL showershape param.", ""}, | |
132 | {"EMCAL_M20", "M20 EMCAL showershape param.", ""}, | |
133 | {"EMCAL_Dispersion", "EMCAL dispersion param.", ""}, | |
5720c765 | 134 | |
31b0e8c5 | 135 | {"V0Index0", "V0Index0", ""}, |
136 | {"KinkIndex0", "KinkIndex0", ""}, | |
b2a297fa | 137 | // |
31b0e8c5 | 138 | {"Chi2NDF", "#chi^{2}/^{}ndf", ""}, |
139 | {"DecayLength", "l_{decay}", "(cm)"}, | |
140 | {"R", "d(#vec{x}_{vtx},#vec{x}_{part.})", "(cm)"}, | |
141 | {"OpeningAngle", "#varphi", "(rad.)"}, | |
142 | {"CosPointingAngle", "cos(#theta)", "(rad.)"}, | |
99345a64 | 143 | {"ArmAlpha", "#alpha^{arm}", ""}, |
144 | {"ArmPt", "#it{p}_{T}^{arm}", "(GeV/#it{c})"}, | |
1750c463 | 145 | {"ThetaHE", "cos(#theta_{HE})", ""}, |
31b0e8c5 | 146 | {"PhiHE", "#phi_{HE}", "(rad.)"}, |
1750c463 | 147 | {"ThetaSqHE", "cos^{2}(#theta_{HE})", ""}, |
31b0e8c5 | 148 | {"Cos2PhiHE", "cos(2#phi_{HE})", ""}, |
149 | {"CosTilPhiHE", "cos(#phi_{HE})", ""}, | |
1750c463 | 150 | {"ThetaCS", "cos(#theta_{CS})", ""}, |
31b0e8c5 | 151 | {"PhiCS", "#phi_{CS}", "(rad.)"}, |
1750c463 | 152 | {"ThetaSqCS", "cos^{2}(#theta_{CS})", ""}, |
31b0e8c5 | 153 | {"PsiPair", "#Psi^{pair}", "(rad.)"}, |
154 | {"PhivPair", "#Phi_{v}^{pair}", "(rad.)"}, | |
151ddcbc | 155 | {"PairPlaneAngle", "PairPlaneAngle", "(rad.)"}, |
156 | {"kRotPairx", "kRotPairx", "(rad.)"}, | |
157 | {"kRotPairy", "kRotPairy", "(rad.)"}, | |
158 | {"kRotPairz", "kRotPairz", "(rad.)"}, | |
31b0e8c5 | 159 | {"Cos2PhiCS", "cos(2#phi_{CS})", ""}, |
160 | {"CosTilPhiCS", "cos(#phi_{CS})", ""}, | |
161 | {"DeltaPhiV0ArpH2", "#phi^{pair}-#Psi^{V0A}", ""}, | |
162 | {"DeltaPhiV0CrpH2", "#phi^{pair}-#Psi^{V0C}", ""}, | |
163 | {"DeltaPhiV0ACrpH2", "#phi^{pair}-#Psi^{V0AC}", ""}, | |
164 | {"V0ArpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0A}))", ""}, | |
165 | {"V0CrpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0C}))", ""}, | |
166 | {"V0ACrpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0AC}))", ""}, | |
c315310a | 167 | {"DeltaPhiv0ArpH2", "#phi^{pair}-#Psi^{V0A}", ""}, |
168 | {"DeltaPhiv0CrpH2", "#phi^{pair}-#Psi^{V0C}", ""}, | |
169 | {"DeltaPhiv0ACrpH2", "#phi^{pair}-#Psi^{V0AC}", ""}, | |
07bc5543 | 170 | {"DeltaPhiTPCrpH2", "#phi^{pair}-#Psi^{TPC}", ""}, |
c315310a | 171 | {"v0ArpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0A}))", ""}, |
172 | {"v0CrpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0C}))", ""}, | |
173 | {"v0ACrpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{V0AC}))", ""}, | |
07bc5543 | 174 | {"TPCrpH2FlowV2", "cos(2(#phi^{pair}-#Psi^{TPC}))", ""}, |
31b0e8c5 | 175 | {"LegDistance", "d^{legs}", "(cm)"}, |
176 | {"LegDistanceXY", "d^{legs}_{xy}", "(cm)"}, | |
177 | {"DeltaEta", "#Delta #eta", ""}, | |
178 | {"DeltaPhi", "#Delta #phi", ""}, | |
179 | {"Merr", "m_{inv} error", "(GeV/#it{c}^{2})"}, | |
180 | {"DCA", "#it{dca}", "(cm)"}, | |
181 | {"PairType", "PairType", ""}, | |
182 | {"PseudoProperTime", "#tau", "(#mus)"}, //TODO: check unit | |
183 | {"PseudoProperTimeErr", "#tau error", "(#mus)"}, | |
184 | {"PseudoProperTimeResolution", "(#tau-#tau^{MC truth})", "(#mus)"}, | |
185 | {"PseudoProperTimePull", "#frac{(#tau-#tau^{MC truth})}{#tau error}", ""}, | |
186 | {"TRDpidEffPair", "#epsilon^{TRD pair}(PID)", ""}, | |
36d19280 | 187 | {"MomAsymDau1", "#it{p}^{leg1}/#it{p}^{pair}", ""}, |
188 | {"MomAsymDau2", "#it{p}^{leg2}/#it{p}^{pair}", ""}, | |
b2a297fa | 189 | // |
31b0e8c5 | 190 | {"X", "x_{prim.vtx}", "(cm)"}, |
191 | {"Y", "y_{prim.vtx}", "(cm)"}, | |
192 | {"Z", "z_{prim.vtx}", "(cm)"}, | |
193 | {"XRes", "#Delta x_{prim.vtx}", "(cm)"}, | |
194 | {"YRes", "#Delta y_{prim.vtx}", "(cm)"}, | |
195 | {"ZRes", "#Delta z_{prim.vtx}", "(cm)"}, | |
20b6b7d4 | 196 | {"PhiMaxPt", "#phi(#it{p}_{T}^{lead})", "(rad.)"}, |
197 | {"MaxPt", "#it{p}_{T}^{lead}", "(GeV/#it{c})"}, | |
fd6ebd85 | 198 | |
31b0e8c5 | 199 | {"v0ArpH2", "#Psi^{V0A}", ""}, |
200 | {"v0CrpH2", "#Psi^{V0C}", ""}, | |
201 | {"v0ACrpH2", "#Psi^{V0AC}", ""}, | |
202 | {"v0AxH2", "Q_{x}^{V0A}", ""}, | |
203 | {"v0AyH2", "Q_{y}^{V0A}", ""}, | |
204 | {"v0CxH2", "Q_{x}^{V0C}", ""}, | |
205 | {"v0CyH2", "Q_{y}^{V0C}", ""}, | |
206 | {"v0ACxH2", "Q_{x}^{V0AC}", ""}, | |
207 | {"v0ACyH2", "Q_{y}^{V0AC}", ""}, | |
20b6b7d4 | 208 | {"v0AmagH2", "|#vec{Q}^{V0A}|", ""}, |
209 | {"v0CmagH2", "|#vec{Q}^{V0C}|", ""}, | |
210 | {"v0ACmagH2", "|#vec{Q}^{V0AC}|", ""}, | |
31b0e8c5 | 211 | {"v0A0rpH2", "#Psi^{V0A}_{ring 0}", ""}, |
212 | {"v0A3rpH2", "#Psi^{V0A}_{ring 3}", ""}, | |
213 | {"v0C0rpH2", "#Psi^{V0C}_{ring 0}", ""}, | |
214 | {"v0C3rpH2", "#Psi^{V0C}_{ring 3}", ""}, | |
31b0e8c5 | 215 | {"v0ATPCDiffH2", "cos(2(#Psi^{V0A}-#Psi^{TPC}))", ""}, |
216 | {"v0CTPCDiffH2", "cos(2(#Psi^{V0C}-#Psi^{TPC}))", ""}, | |
217 | {"v0Av0CDiffH2", "cos(2(#Psi^{V0A}-#Psi^{V0C}))", ""}, | |
1d2d723c | 218 | {"v0Av0C0DiffH2", "cos(2(#Psi^{V0A}-#Psi^{V0C}_{ring 0}))", ""}, |
219 | {"v0Av0C3DiffH2", "cos(2(#Psi^{V0A}-#Psi^{V0C}_{ring 3}))", ""}, | |
220 | {"v0Cv0A0DiffH2", "cos(2(#Psi^{V0C}-#Psi^{V0A}_{ring 0}))", ""}, | |
221 | {"v0Cv0A3DiffH2", "cos(2(#Psi^{V0C}-#Psi^{V0A}_{ring 3}))", ""}, | |
222 | {"v0A0v0A3DiffH2", "cos(2(#Psi^{V0A}_{ring 0}-#Psi^{V0A}_{ring 3}))", ""}, | |
223 | {"v0C0v0C3DiffH2", "cos(2(#Psi^{V0C}_{ring 0}-#Psi^{V0C}_{ring 3}))", ""}, | |
5720c765 | 224 | |
31b0e8c5 | 225 | {"MultV0A", "multiplicity V0A", ""}, |
226 | {"MultV0C", "multiplicity V0C", ""}, | |
227 | {"MultV0", "multiplicity V0", ""}, | |
228 | {"AdcV0A", "AdcV0A", ""}, | |
229 | {"AdcV0C", "AdcV0C", ""}, | |
230 | {"AdcV0", "AdcV0", ""}, | |
231 | {"VZERO_ch0", "VZERO_ch0", ""}, | |
232 | {"VZERO_ch1", "VZERO_ch1", ""}, | |
233 | {"VZERO_ch2", "VZERO_ch2", ""}, | |
234 | {"VZERO_ch3", "VZERO_ch3", ""}, | |
235 | {"VZERO_ch4", "VZERO_ch4", ""}, | |
236 | {"VZERO_ch5", "VZERO_ch5", ""}, | |
237 | {"VZERO_ch6", "VZERO_ch6", ""}, | |
238 | {"VZERO_ch7", "VZERO_ch7", ""}, | |
239 | {"VZERO_ch8", "VZERO_ch8", ""}, | |
240 | {"VZERO_ch9", "VZERO_ch9", ""}, | |
241 | {"VZERO_ch10", "VZERO_ch10", ""}, | |
242 | {"VZERO_ch11", "VZERO_ch11", ""}, | |
243 | {"VZERO_ch12", "VZERO_ch12", ""}, | |
244 | {"VZERO_ch13", "VZERO_ch13", ""}, | |
245 | {"VZERO_ch14", "VZERO_ch14", ""}, | |
246 | {"VZERO_ch15", "VZERO_ch15", ""}, | |
247 | {"VZERO_ch16", "VZERO_ch16", ""}, | |
248 | {"VZERO_ch17", "VZERO_ch17", ""}, | |
249 | {"VZERO_ch18", "VZERO_ch18", ""}, | |
250 | {"VZERO_ch19", "VZERO_ch19", ""}, | |
251 | {"VZERO_ch20", "VZERO_ch20", ""}, | |
252 | {"VZERO_ch21", "VZERO_ch21", ""}, | |
253 | {"VZERO_ch22", "VZERO_ch22", ""}, | |
254 | {"VZERO_ch23", "VZERO_ch23", ""}, | |
255 | {"VZERO_ch24", "VZERO_ch24", ""}, | |
256 | {"VZERO_ch25", "VZERO_ch25", ""}, | |
257 | {"VZERO_ch26", "VZERO_ch26", ""}, | |
258 | {"VZERO_ch27", "VZERO_ch27", ""}, | |
259 | {"VZERO_ch28", "VZERO_ch28", ""}, | |
260 | {"VZERO_ch29", "VZERO_ch29", ""}, | |
261 | {"VZERO_ch30", "VZERO_ch30", ""}, | |
262 | {"VZERO_ch31", "VZERO_ch31", ""}, | |
263 | {"VZERO_ch32", "VZERO_ch32", ""}, | |
264 | {"VZERO_ch33", "VZERO_ch33", ""}, | |
265 | {"VZERO_ch34", "VZERO_ch34", ""}, | |
266 | {"VZERO_ch35", "VZERO_ch35", ""}, | |
267 | {"VZERO_ch36", "VZERO_ch36", ""}, | |
268 | {"VZERO_ch37", "VZERO_ch37", ""}, | |
269 | {"VZERO_ch38", "VZERO_ch38", ""}, | |
270 | {"VZERO_ch39", "VZERO_ch39", ""}, | |
271 | {"VZERO_ch40", "VZERO_ch40", ""}, | |
272 | {"VZERO_ch41", "VZERO_ch41", ""}, | |
273 | {"VZERO_ch42", "VZERO_ch42", ""}, | |
274 | {"VZERO_ch43", "VZERO_ch43", ""}, | |
275 | {"VZERO_ch44", "VZERO_ch44", ""}, | |
276 | {"VZERO_ch45", "VZERO_ch45", ""}, | |
277 | {"VZERO_ch46", "VZERO_ch46", ""}, | |
278 | {"VZERO_ch47", "VZERO_ch47", ""}, | |
279 | {"VZERO_ch48", "VZERO_ch48", ""}, | |
280 | {"VZERO_ch49", "VZERO_ch49", ""}, | |
281 | {"VZERO_ch50", "VZERO_ch50", ""}, | |
282 | {"VZERO_ch51", "VZERO_ch51", ""}, | |
283 | {"VZERO_ch52", "VZERO_ch52", ""}, | |
284 | {"VZERO_ch53", "VZERO_ch53", ""}, | |
285 | {"VZERO_ch54", "VZERO_ch54", ""}, | |
286 | {"VZERO_ch55", "VZERO_ch55", ""}, | |
287 | {"VZERO_ch56", "VZERO_ch56", ""}, | |
288 | {"VZERO_ch57", "VZERO_ch57", ""}, | |
289 | {"VZERO_ch58", "VZERO_ch58", ""}, | |
290 | {"VZERO_ch59", "VZERO_ch59", ""}, | |
291 | {"VZERO_ch60", "VZERO_ch60", ""}, | |
292 | {"VZERO_ch61", "VZERO_ch61", ""}, | |
293 | {"VZERO_ch62", "VZERO_ch62", ""}, | |
294 | {"VZERO_ch63", "VZERO_ch63", ""}, | |
295 | {"V0AxH2", "Q_{x}^{V0A}", ""}, | |
296 | {"V0AyH2", "Q_{y}^{V0A}", ""}, | |
297 | {"V0ArpH2", "#Psi^{V0A}", ""}, | |
298 | {"V0CxH2", "Q_{x}^{V0C}", ""}, | |
299 | {"V0CyH2", "Q_{y}^{V0C}", ""}, | |
300 | {"V0CrpH2", "#Psi^{V0C}", ""}, | |
301 | {"V0ACxH2", "Q_{x}^{V0AC}", ""}, | |
302 | {"V0ACyH2", "Q_{y}^{V0AC}", ""}, | |
303 | {"V0ACrpH2", "#Psi^{V0AC}", ""}, | |
5720c765 | 304 | |
31b0e8c5 | 305 | {"V0ArpResH2", "V0ArpResH2", ""}, |
306 | {"V0CrpResH2", "V0CrpResH2", ""}, | |
307 | {"V0ACrpResH2", "V0ACrpResH2", ""}, | |
308 | {"V0XaXcH2", "Q_{x}^{V0A}#timesQ_{x}^{V0C}", ""}, | |
309 | {"V0XaYaH2", "Q_{x}^{V0A}#timesQ_{y}^{V0A}", ""}, | |
310 | {"V0XaYcH2", "Q_{x}^{V0A}#timesQ_{y}^{V0C}", ""}, | |
311 | {"V0YaXcH2", "Q_{y}^{V0A}#timesQ_{x}^{V0C}", ""}, | |
312 | {"V0YaYcH2", "Q_{y}^{V0A}#timesQ_{Y}^{V0C}", ""}, | |
313 | {"V0XcYcH2", "Q_{X}^{V0C}#timesQ_{Y}^{V0C}", ""}, | |
314 | {"V0ATPCDiffH2", "cos(2(#Psi^{V0A}-#Psi^{TPC}))", ""}, | |
315 | {"V0CTPCDiffH2", "cos(2(#Psi^{V0C}-#Psi^{TPC}))", ""}, | |
316 | {"V0AV0CDiffH2", "cos(2(#Psi^{V0A}-#Psi^{V0C}))", ""}, | |
317 | {"TPCxH2", "Q_{x}^{TPC}", ""}, | |
318 | {"TPCyH2", "Q_{y}^{TPC}", ""}, | |
20b6b7d4 | 319 | {"TPCmagH2", "|#vec{Q}^{TPC}|", ""}, |
31b0e8c5 | 320 | {"TPCrpH2", "#Psi^{TPC}", ""}, |
321 | {"TPCsub1xH2", "Q_{x}^{TPCsub1}", ""}, | |
322 | {"TPCsub1yH2", "Q_{y}^{TPCsub1}", ""}, | |
323 | {"TPCsub1rpH2", "#Psi^{TPCsub1}", ""}, | |
324 | {"TPCsub2xH2", "Q_{x}^{TPCsub2}", ""}, | |
325 | {"TPCsub2yH2", "Q_{y}^{TPCsub2}", ""}, | |
326 | {"TPCsub2rpH2", "#Psi^{TPCsub2}", ""}, | |
327 | {"TPCsub12DiffH2", "cos(2(#Psi^{TPCsub1}-#Psi^{TPCsub2}))", ""}, | |
328 | {"TPCsub12DiffH2Sin", "sin(2(#Psi^{TPCsub1}-#Psi^{TPCsub2}))", ""}, | |
90c1ae2d | 329 | |
31b0e8c5 | 330 | {"TPCxH2uc", "Q_{x}^{TPC} (uncorr.)", ""}, |
331 | {"TPCyH2uc", "Q_{y}^{TPC} (uncorr.)", ""}, | |
20b6b7d4 | 332 | {"TPCmagH2uc", "|#vec{Q}^{TPC}| (uncorr.)", ""}, |
31b0e8c5 | 333 | {"TPCrpH2uc", "#Psi^{TPC} (uncorr.)", ""}, |
334 | {"TPCsub1xH2uc", "Q_{x}^{TPCsub1} (uncorr.)", ""}, | |
335 | {"TPCsub1yH2uc", "Q_{y}^{TPCsub1} (uncorr.)", ""}, | |
336 | {"TPCsub1rpH2uc", "#Psi^{TPCsub1} (uncorr.)", ""}, | |
337 | {"TPCsub2xH2uc", "Q_{x}^{TPCsub2} (uncorr.)", ""}, | |
338 | {"TPCsub2yH2uc", "Q_{y}^{TPCsub2} (uncorr.)", ""}, | |
339 | {"TPCsub2rpH2uc", "#Psi^{TPCsub2} (uncorr.)", ""}, | |
340 | {"TPCsub12DiffH2uc", "cos(2(#Psi^{TPCsub1}-#Psi^{TPCsub2})) (uncorr.)", ""}, | |
90c1ae2d | 341 | |
31b0e8c5 | 342 | {"NTrk", "N_{trk}", ""}, |
343 | {"Tracks", "tracks", ""}, | |
344 | {"NVtxContrib", "N_{vtx. contrib.}", ""}, | |
6bd73568 | 345 | {"NVtxContribTPC", "N_{vtx. contrib.}^{TPC}", ""}, |
31b0e8c5 | 346 | {"Nacc", "N_{acc} #cbar_{#||{#eta}<0.9}", ""}, |
41a64bfb | 347 | {"MatchEffITSTPC", "N_{trk}^{TPC}/N_{trk}^{ITS} #cbar_{#||{#eta}<0.9}", ""}, |
31b0e8c5 | 348 | {"NaccTrcklts", "N_{acc. trkl} #cbar_{#||{#eta}<1.6}", ""}, |
349 | {"NaccTrcklts0916", "N_{acc. trkl} #cbar_{-1.6<#eta<-0.9}^{0.9<#eta<1.6}",""}, | |
5720c765 | 350 | |
31b0e8c5 | 351 | {"NaccTrckltsEsd05", "N_{acc. trkl} #cbar_{#||{#eta}<0.5} (SPD)", ""}, |
352 | {"NaccTrckltsEsd10", "N_{acc. trkl} #cbar_{#||{#eta}<1.0} (SPD)", ""}, | |
353 | {"NaccTrckltsEsd16", "N_{acc. trkl} #cbar_{#||{#eta}<1.6} (SPD)", ""}, | |
354 | {"NaccTrckltsEsd05Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<0.5} (SPD)", ""}, | |
355 | {"NaccTrckltsEsd10Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.0} (SPD)", ""}, | |
356 | {"NaccTrckltsEsd16Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.6} (SPD)", ""}, | |
357 | {"NaccItsTpcEsd05", "N_{acc. trkl} #cbar_{#||{#eta}<0.5} (ITS+TPC)", ""}, | |
358 | {"NaccItsTpcEsd10", "N_{acc. trkl} #cbar_{#||{#eta}<1.0} (ITS+TPC)", ""}, | |
359 | {"NaccItsTpcEsd16", "N_{acc. trkl} #cbar_{#||{#eta}<1.6} (ITS+TPC)", ""}, | |
360 | {"NaccItsTpcEsd05Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<0.5} (ITS+TPC)", ""}, | |
361 | {"NaccItsTpcEsd10Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.0} (ITS+TPC)", ""}, | |
362 | {"NaccItsTpcEsd16Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.6} (ITS+TPC)", ""}, | |
363 | {"NaccItsPureEsd05", "N_{acc. trkl} #cbar_{#||{#eta}<0.5} (ITS)", ""}, | |
364 | {"NaccItsPureEsd10", "N_{acc. trkl} #cbar_{#||{#eta}<1.0} (ITS)", ""}, | |
365 | {"NaccItsPureEsd16", "N_{acc. trkl} #cbar_{#||{#eta}<1.6} (ITS)", ""}, | |
366 | {"NaccItsPureEsd05Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<0.5} (ITS)", ""}, | |
367 | {"NaccItsPureEsd10Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.0} (ITS)", ""}, | |
368 | {"NaccItsPureEsd16Corr", "N_{acc. trkl}^{corr.} #cbar_{#||{#eta}<1.6} (ITS)", ""}, | |
90c1ae2d | 369 | |
7a1ddc4b | 370 | {"RefMult", "N_{trk}^{ref}", ""}, |
371 | {"RefMultTPConly", "N_{trk}^{TPConly}", ""}, | |
31b0e8c5 | 372 | {"Nch", "N_{ch} #cbar_{#||{#eta}<1.6}", ""}, |
373 | {"Nch05", "N_{ch} #cbar_{#||{#eta}<0.5}", ""}, | |
374 | {"Nch10", "N_{ch} #cbar_{#||{#eta}<1.0}", ""}, | |
375 | {"Centrality", "centrality", "(%)"}, | |
376 | {"CentralitySPD", "centrality_{SPD}", "(%)"}, | |
377 | {"Nevents", "N_{evt}", ""}, | |
378 | {"RunNumber", "run", ""}, | |
379 | {"MixingBin", "mixing bin", ""} | |
b2a297fa | 380 | }; |
381 | ||
5720c765 | 382 | AliPIDResponse* AliDielectronVarManager::fgPIDResponse = 0x0; |
383 | AliVEvent* AliDielectronVarManager::fgEvent = 0x0; | |
384 | AliEventplane* AliDielectronVarManager::fgTPCEventPlane = 0x0; | |
385 | AliKFVertex* AliDielectronVarManager::fgKFVertex = 0x0; | |
386 | TProfile* AliDielectronVarManager::fgMultEstimatorAvg[4][9] = {{0x0}}; | |
387 | TH3D* AliDielectronVarManager::fgTRDpidEff[10][4] = {{0x0}}; | |
388 | Double_t AliDielectronVarManager::fgTRDpidEffCentRanges[10][4] = {{0.0}}; | |
a823f01b | 389 | TString AliDielectronVarManager::fgVZEROCalibrationFile = ""; |
390 | TString AliDielectronVarManager::fgVZERORecenteringFile = ""; | |
391 | TProfile2D* AliDielectronVarManager::fgVZEROCalib[64] = {0x0}; | |
392 | TProfile2D* AliDielectronVarManager::fgVZERORecentering[2][2] = {{0x0,0x0},{0x0,0x0}}; | |
393 | Int_t AliDielectronVarManager::fgCurrentRun = -1; | |
394 | Double_t AliDielectronVarManager::fgData[AliDielectronVarManager::kNMaxValues] = {0.}; | |
b2a297fa | 395 | //________________________________________________________________ |
396 | AliDielectronVarManager::AliDielectronVarManager() : | |
397 | TNamed("AliDielectronVarManager","AliDielectronVarManager") | |
398 | { | |
399 | // | |
400 | // Default constructor | |
401 | // | |
5720c765 | 402 | for(Int_t i=0; i<4; ++i) |
403 | for(Int_t j=0; j<9; ++j) | |
404 | fgMultEstimatorAvg[i][j] = 0x0; | |
405 | for(Int_t i=0; i<10; ++i) | |
406 | for(Int_t j=0; j<4; ++j) | |
407 | fgTRDpidEff[i][j] = 0x0; | |
a823f01b | 408 | for(Int_t i=0; i<64; ++i) fgVZEROCalib[i] = 0x0; |
409 | for(Int_t i=0; i<2; ++i) { | |
410 | for(Int_t j=0; j<2; ++j) fgVZERORecentering[i][j] = 0x0; | |
411 | } | |
b2a297fa | 412 | } |
413 | ||
414 | //________________________________________________________________ | |
415 | AliDielectronVarManager::AliDielectronVarManager(const char* name, const char* title) : | |
416 | TNamed(name,title) | |
417 | { | |
418 | // | |
419 | // Named constructor | |
420 | // | |
5720c765 | 421 | for(Int_t i=0; i<4; ++i) |
422 | for(Int_t j=0; j<9; ++j) | |
423 | fgMultEstimatorAvg[i][j] = 0x0; | |
424 | for(Int_t i=0; i<10; ++i) | |
425 | for(Int_t j=0; j<4; ++j) | |
426 | fgTRDpidEff[i][j] = 0x0; | |
a823f01b | 427 | for(Int_t i=0; i<64; ++i) fgVZEROCalib[i] = 0x0; |
428 | for(Int_t i=0; i<2; ++i) | |
429 | for(Int_t j=0; j<2; ++j) | |
430 | fgVZERORecentering[i][j] = 0x0; | |
b2a297fa | 431 | } |
432 | ||
433 | //________________________________________________________________ | |
434 | AliDielectronVarManager::~AliDielectronVarManager() | |
435 | { | |
436 | // | |
437 | // Default destructor | |
438 | // | |
5720c765 | 439 | for(Int_t i=0; i<4; ++i) |
440 | for(Int_t j=0; j<9; ++j) | |
441 | if(fgMultEstimatorAvg[i][j]) delete fgMultEstimatorAvg[i][j]; | |
442 | for(Int_t i=0; i<10; ++i) | |
443 | for(Int_t j=0; j<4; ++j) | |
444 | if(fgTRDpidEff[i][j]) delete fgTRDpidEff[i][j]; | |
a823f01b | 445 | for(Int_t i=0; i<64; ++i) |
446 | if(fgVZEROCalib[i]) delete fgVZEROCalib[i]; | |
447 | for(Int_t i=0; i<2; ++i) | |
448 | for(Int_t j=0; j<2; ++j) | |
449 | if(fgVZERORecentering[i][j]) delete fgVZERORecentering[i][j]; | |
b2a297fa | 450 | } |
5720c765 | 451 | |
07480df6 | 452 | //________________________________________________________________ |
453 | UInt_t AliDielectronVarManager::GetValueType(const char* valname) { | |
454 | // | |
455 | // Get value type by value name | |
456 | // | |
457 | ||
458 | TString name(valname); | |
459 | for(UInt_t i=0; i<AliDielectronVarManager::kNMaxValues; i++) { | |
90c1ae2d | 460 | if(!name.CompareTo(fgkParticleNames[i][0])) return i; |
07480df6 | 461 | } |
462 | return -1; | |
463 | } |