43 {
"MEL",
"m_{e}",
"(GeV/#it{c}^{2})"},
44 {
"MMU",
"m_{#mu}",
"(GeV/#it{c}^{2})"},
45 {
"MPI",
"m_{#pi}",
"(GeV/#it{c}^{2})"},
46 {
"MKA",
"m_{K}",
"(GeV/#it{c}^{2})"},
47 {
"MPR",
"m_{p}",
"(GeV/#it{c}^{2})"},
48 {
"MK0",
"m_{K^{0}_{s}}",
"(GeV/#it{c}^{2})"},
49 {
"MLA",
"m_{#Lambda}",
"(GeV/#it{c}^{2})"},
50 {
"MPair",
"m_{pair}",
"(GeV/#it{c}^{2})"},
51 {
"Ebeam",
"#it{E}_{beam}",
"(#it{A}GeV)"},
52 {
"ThermalScaling",
"scaling-factor",
""},
54 {
"PosX",
"x_{hit}",
"(cm)"},
55 {
"PosY",
"y_{hit}",
"(cm)"},
56 {
"PosZ",
"z_{hit}",
"(cm)"},
57 {
"LinksMC",
"N_{links}^{MC}",
""},
58 {
"TRDLayer",
"layer^{TRD}",
""},
59 {
"TRDPads",
"N_{pads}^{TRD}",
""},
60 {
"TRDCols",
"N_{cols}^{TRD}",
""},
61 {
"TRDRows",
"N_{rows}^{TRD}",
""},
62 {
"Eloss",
"d#it{E}/d#it{x} + TR",
"(keV#upointcm^{2}/g)"},
65 {
"NPhotons",
"N_{photons}^{RICH}",
"(a.u.)"},
66 {
"PmtId",
"ID_{Pmt}^{RICH}",
"(a.u.)"},
67 {
"Beta",
"#beta^{TOF}",
""},
68 {
"TOFPidDeltaBetaEL",
"#beta^{TOF}-#beta^{TOF}_{e}",
""},
69 {
"TOFPidDeltaBetaMU",
"#beta^{TOF}-#beta^{TOF}_{#mu}",
""},
70 {
"TOFPidDeltaBetaPI",
"#beta^{TOF}-#beta^{TOF}_{#pi}",
""},
71 {
"TOFPidDeltaBetaKA",
"#beta^{TOF}-#beta^{TOF}_{K}",
""},
72 {
"TOFPidDeltaBetaPR",
"#beta^{TOF}-#beta^{TOF}_{p}",
""},
73 {
"MassSq",
"TOF m^{2}",
"(GeV/#it{c}^{2})^{2}"},
75 {
"Px",
"#it{p}_{x}",
"(GeV/#it{c})"},
76 {
"Py",
"#it{p}_{y}",
"(GeV/#it{c})"},
77 {
"Pz",
"#it{p}_{z}",
"(GeV/#it{c})"},
78 {
"Pt",
"#it{p}_{T}",
"(GeV/#it{c})"},
79 {
"PtSq",
"#it{p}_{T}^{2}",
"((GeV/#it{c})^{2})"},
80 {
"P",
"#it{p}",
"(GeV/#it{c})"},
81 {
"Xv",
"x_{vtx}",
"(cm)"},
82 {
"Yv",
"y_{vtx}",
"(cm)"},
83 {
"Zv",
"z_{vtx}",
"(cm)"},
84 {
"OneOverPt",
"1/^{}#it{p}_{T}",
"(GeV/#it{c})^{-1}"},
85 {
"Phi",
"#phi",
"(rad.)"},
86 {
"Theta",
"#theta",
"(rad.)"},
89 {
"Ylab",
"#it{y}_{lab}",
""},
91 {
"M",
"m_{inv}",
"(GeV/#it{c}^{2})"},
92 {
"Charge",
"q",
"(e)"},
93 {
"Mt",
"#it{m}_{T}",
"(GeV/#it{c}^{2})"},
94 {
"Chi2NDFtoVtx",
"#chi^{2}/^{}N_{df}^{track#leftrightarrowvtx}",
"(#sigma)"},
95 {
"ImpactParXY",
"#it{dca}_{xy}",
"(cm)"},
96 {
"ImpactParZ",
"#it{dca}_{z}",
"(cm)"},
97 {
"InclAngle",
"#alpha_{incl}",
"(rad.)"},
100 {
"TrackLength",
"#it{l}_{track}",
"(cm)"},
101 {
"TrackChi2NDF",
"#chi^{2}/^{}N_{df}^{glbl}",
""},
102 {
"Pin",
"#it{p}^{in}",
"(GeV/#it{c})"},
103 {
"Ptin",
"#it{p}_{T}^{in}",
"(GeV/#it{c})"},
104 {
"Pout",
"#it{p}^{out}",
"(GeV/#it{c})"},
105 {
"Ptout",
"#it{p}_{T}^{out}",
"(GeV/#it{c})"},
107 {
"TRDSignal",
"#LTTRD d#it{E}/d#it{x} + TR#GT",
"(keV#upointcm^{2}/g)"},
108 {
"TRDPidWkn",
"PID_{e}^{TRD} (Wkn)",
""},
109 {
"TRDPidANN",
"PID_{e}^{TRD} (ANN)",
""},
110 {
"TRDPidLikeEL",
"P(PID_{e}^{TRD})",
""},
111 {
"TRDPidLikePI",
"P(PID_{#pi}^{TRD})",
""},
112 {
"TRDPidLikeKA",
"P(PID_{K}^{TRD})",
""},
113 {
"TRDPidLikePR",
"P(PID_{p}^{TRD})",
""},
114 {
"TRDPidLikeMU",
"P(PID_{#muon}^{TRD})",
""},
115 {
"TRDHits",
"N_{hit}^{TRD}",
""},
116 {
"TRDChi2NDF",
"#chi^{2}/^{}N_{df}^{TRD}",
""},
117 {
"TRDPin",
"#it{p}^{TRDin}",
"(GeV/#it{c})"},
118 {
"TRDPtin",
"#it{p}_{T}^{TRDin}",
"(GeV/#it{c})"},
119 {
"TRDPhiin",
"#phi^{TRDin}",
"(rad.)"},
120 {
"TRDThetain",
"#theta^{TRDin}",
"(rad.)"},
121 {
"TRDPout",
"#it{p}^{TRDout}",
"(GeV/#it{c})"},
122 {
"TRDPtout",
"#it{p}_{T}^{TRDout}",
"(GeV/#it{c})"},
123 {
"TRDPhiCorr",
"#phi_{corr}^{TRD}",
""},
124 {
"TRDThetaCorr",
"#theta_{corr}^{TRD}",
""},
127 {
"MVDhasEntr",
"station^{MVD}_{first} entrance status",
""},
128 {
"MVDHits",
"N_{hit}^{MVD}",
""},
129 {
"MVDHitClosest",
"dist_{MVD}^{d1+closest-Hit}",
"(cm)"},
130 {
"STSHitClosest",
"dist_{STS}^{d1+closest-Hit}",
"(cm)"},
131 {
"MVDHitClosestOpeningAngle",
"#phi_{MVD}^{d1+closest}",
"(rad.)"},
132 {
"STSHitClosestOpeningAngle",
"#phi_{STS}^{d1+closest}",
"(rad.)"},
133 {
"MVDHitClosestMom",
"sqrt{p_{d1} * p_{closest}}",
"(GeV/c)"},
134 {
"STSHitClosestMom",
"sqrt{p_{d1} * p_{closest}}",
"(GeV/c)"},
135 {
"MVDFirstHitPosZ",
"z_{first hit}^{MVD}",
"(cm)"},
136 {
"MVDFirstExtX",
"x_{first station}^{MVD}",
"(cm)"},
137 {
"MVDFirstExtY",
"y_{first station}^{MVD}",
"(cm)"},
139 {
"STSHits",
"N_{hit}^{STS}",
""},
140 {
"STSMVDHits",
"N_{hit}^{STS}+MVD",
""},
141 {
"STSChi2NDF",
"#chi^{2}/^{}N_{df}^{STS}",
""},
142 {
"STSPin",
"#it{p}^{STSin}",
"(GeV/#it{c})"},
143 {
"STSPtin",
"#it{p}_{T}^{STSin}",
"(GeV/#it{c})"},
144 {
"STSPout",
"#it{p}^{STSout}",
"(GeV/#it{c})"},
145 {
"STSPtout",
"#it{p}_{T}^{STSout}",
"(GeV/#it{c})"},
146 {
"STSXv",
"x_{STS}",
"(cm)"},
147 {
"STSYv",
"y_{STS}",
"(cm)"},
148 {
"STSZv",
"z_{STS}",
"(cm)"},
149 {
"STSFirstHitPosZ",
"z_{first hit}^{STS}",
"(cm)"},
151 {
"RICHhasProj",
"projection status RICH",
""},
152 {
"RICHPidANN",
"PID_{e}^{RICH} (ANN)",
""},
153 {
"RICHHitsOnRing",
"N_{hit on Ring}^{RICH}",
""},
154 {
"RICHHits",
"N_{hit}^{RICH}",
""},
155 {
"RICHChi2NDF",
"#chi^{2}/^{}N_{df}^{RICH}",
""},
156 {
"RICHRadius",
"r_{}^{RICH}",
"(cm)"},
157 {
"RICHAxisA",
"a_{}^{RICH}",
"(cm)"},
158 {
"RICHAxisB",
"b_{}^{RICH}",
"(cm)"},
159 {
"RICHCenterX",
"x_{}^{RICH}",
"(cm)"},
160 {
"RICHCenterY",
"y_{}^{RICH}",
"(cm)"},
161 {
"RICHDistance",
"d_{ring#leftrightarrowtrack}^{RICH}",
"(cm)"},
162 {
"RICHRadialPos",
"pos_{rad.}^{RICH}",
"(cm)"},
163 {
"RICHRadialAngle",
"#phi_{rad.}^{RICH}",
"(rad.)"},
164 {
"RICHPhi",
"#phi_{rot.}^{RICH}",
"(rad.)"},
166 {
"TOFHits",
"N_{hit}^{TOF}",
""},
168 {
"MUCHHits",
"N_{hit}^{MUCH}",
""},
169 {
"MUCHHitsPixel",
"N_{pixel hit}^{MUCH}",
""},
171 {
"MUCHChi2NDF",
"#chi^{2}/^{}N_{df}^{MUCH}",
""},
173 {
"RndmTrack",
"P",
""},
174 {
"PRes",
"Res(#it{p})",
""},
177 {
"Chi2NDF",
"#chi^{2}/^{}ndf",
""},
178 {
"DecayLength",
"l_{decay}",
"(cm)"},
179 {
"R",
"d_{xy}(origin,pair)",
"(cm)"},
180 {
"OpeningAngle",
"#varphi",
"(rad.)"},
181 {
"CosPointingAngle",
"cos(#theta)",
"(rad.)"},
182 {
"ArmAlpha",
"#alpha^{arm}",
""},
183 {
"ArmPt",
"#it{p}_{T}^{arm}",
"(GeV/#it{c})"},
184 {
"ThetaHE",
"cos(#theta_{HE})",
""},
185 {
"PhiHE",
"#phi_{HE}",
"(rad.)"},
186 {
"ThetaSqHE",
"cos^{2}(#theta_{HE})",
""},
187 {
"Cos2PhiHE",
"cos(2#phi_{HE})",
""},
188 {
"CosTilPhiHE",
"cos(#phi_{HE})",
""},
189 {
"ThetaCS",
"cos(#theta_{CS})",
""},
190 {
"PhiCS",
"#phi_{CS}",
"(rad.)"},
191 {
"ThetaSqCS",
"cos^{2}(#theta_{CS})",
""},
192 {
"Cos2PhiCS",
"cos(2#phi_{CS})",
""},
193 {
"CosTilPhiCS",
"cos(#phi_{CS})",
""},
194 {
"PsiPair",
"#Psi^{pair}",
"(rad.)"},
195 {
"StsMvdFirstDaughter",
"Hits_{STS+MVD}^{d1}",
""},
196 {
"StsMvdSecondDaughter",
"Hits_{STS+MVD}^{d2}",
""},
197 {
"StsMvdTrdFirstDaughter",
"Hits_{STS+MVD+TRD}^{d1}",
""},
198 {
"StsMvdTrdSecondDaughter",
"Hits_{STS+MVD+TRD}^{d2}",
""},
199 {
"StsMvdRichFirstDaughter",
"Hits_{STS+MVD+RICH}^{d1}",
""},
200 {
"StsMvdRichSecondDaughter",
"Hits_{STS+MVD+RICH}^{d2}",
""},
201 {
"StsFirstDaughter",
"Hits_{STS}^{d1}",
""},
202 {
"StsSecondDaughter",
"Hits_{STS}^{d2}",
""},
203 {
"MvdFirstDaughter",
"Hits_{MVD}^{d1}",
""},
204 {
"MvdSecondDaughter",
"Hits_{MVD}^{d2}",
""},
205 {
"TrdFirstDaughter",
"Hits_{TRD}^{d1}",
""},
206 {
"TrdSecondDaughter",
"Hits_{TRD}^{d2}",
""},
207 {
"RichFirstDaughter",
"Hits_{RICH}^{d1}",
""},
208 {
"RichSecondDaughter",
"Hits_{RICH}^{d2}",
""},
209 {
"StsHitDist",
"dist_{STS}^{d1&d2}",
"(cm)"},
210 {
"MvdHitDist",
"dist_{MVD}^{d1&d2}",
"(cm)"},
211 {
"PhivPair",
"#Phi_{v}^{pair}",
"(rad.)"},
213 {
"LegDistance",
"d^{legs}",
"(cm)"},
214 {
"LegDistanceXY",
"d^{legs}_{xy}",
"(cm)"},
215 {
"DeltaEta",
"#Delta #eta",
""},
216 {
"DeltaPhi",
"#Delta #phi",
""},
217 {
"LegsP",
"#sqrt{#it{p}^{leg1}#upoint#it{p}^{leg2}}",
"(GeV/#it{c})"},
218 {
"Merr",
"m_{inv} error",
"(GeV/#it{c}^{2})"},
219 {
"DCA",
"#it{dca}",
"(cm)"},
220 {
"PairType",
"PairType",
""},
221 {
"MomAsymDau1",
"#it{p}^{leg1}/#it{p}^{pair}",
""},
222 {
"MomAsymDau2",
"#it{p}^{leg2}/#it{p}^{pair}",
""},
223 {
"EffPair",
"A#times#varepsilon",
""},
224 {
"OneOverEffPair",
"(A#times#varepsilon)^{-1}",
""},
225 {
"OneOverEffPairSq",
"(A#times#varepsilon)^{-2}",
""},
226 {
"RndmPair",
"P",
""},
227 {
"Pairs",
"pairs/event",
""},
230 {
"XvPrim",
"x_{prim.vtx}",
"(cm)"},
231 {
"YvPrim",
"y_{prim.vtx}",
"(cm)"},
232 {
"ZvPrim",
"z_{prim.vtx}",
"(cm)"},
233 {
"VtxChi",
"#chi^{2}_{prim.vtx}",
""},
234 {
"VtxNDF",
"ndf",
""},
235 {
"XRes",
"#Delta x_{prim.vtx}",
"(cm)"},
236 {
"YRes",
"#Delta y_{prim.vtx}",
"(cm)"},
237 {
"ZRes",
"#Delta z_{prim.vtx}",
"(cm)"},
238 {
"MaxPt",
"#it{p}_{T}^{lead}",
"(GeV/#it{c})"},
239 {
"RndmRej",
"P(rejection)",
""},
240 {
"NTrk",
"N_{trk}",
""},
241 {
"Tracks",
"tracks/per event",
""},
242 {
"NVtxContrib",
"N_{vtx. contrib.}",
""},
244 {
"Centrality",
"centrality_{V0M}",
"(%)"},
245 {
"Nevents",
"N_{evt}",
""},
246 {
"EventStartTime",
"t_{start}",
"(ns)"},
247 {
"RunNumber",
"run",
""},
248 {
"Ybeam",
"#it{y}_{beam}",
""},
249 {
"MixingBin",
"mixing bin",
""},
250 {
"TotalTRDHits",
"N_{tot.hit}^{TRD}",
""},
255 {
"PosXMC",
"x_{hit}^{MC}",
"(cm)"},
256 {
"PosYMC",
"y_{hit}^{MC}",
"(cm)"},
257 {
"PosZMC",
"z_{hit}^{MC}",
"(cm)"},
258 {
"ElossMC",
"d#it{E}/d#it{x}^{MC}",
"(keV#upointcm^{2}/g})"},
260 {
"PxMC",
"#it{p}_{x}^{MC}",
"(GeV/#it{c})"},
261 {
"PyMC",
"#it{p}_{y}^{MC}",
"(GeV/#it{c})"},
262 {
"PzMC",
"#it{p}_{z}^{MC}",
"(GeV/#it{c})"},
263 {
"PtMC",
"#it{p}_{T}^{MC}",
"(GeV/#it{c})"},
264 {
"PtSqMC",
"#it{p}_{T}^{2} (MC)",
"((GeV/#it{c})^{2})"},
265 {
"PMC",
"#it{p}^{MC}",
"(GeV/#it{c})"},
266 {
"XvMC",
"x_{vtx}^{MC}",
"(cm)"},
267 {
"YvMC",
"y_{vtx}^{MC}",
"(cm)"},
268 {
"RvMC",
"Sqrt(x_{vtx}^{2}_{MC}+y_{vtx}^{2}_{MC})",
"(cm)"},
269 {
"ZvMC",
"z_{vtx}^{MC}",
"(cm)"},
270 {
"PhivMC",
"#phi_{vtx}^{MC}",
"(rad.)"},
271 {
"ThetavMC",
"#theta_{vtx}^{MC}"
273 {
"OneOverPtMC",
"1/^{}#it{p}_{T}^{MC}",
"(GeV/#it{c})^{-1}"},
274 {
"PhiMC",
"#phi^{MC}",
"(rad.)"},
275 {
"ThetaMC",
"#theta^{MC}",
"(rad.)"},
276 {
"EtaMC",
"#eta^{MC}",
""},
277 {
"YMC",
"#it{y}^{MC}",
""},
278 {
"YlabMC",
"#it{y}_{lab}^{MC}",
""},
279 {
"BetaGammaMC",
"#beta#gamma^{MC}",
""},
280 {
"EMC",
"E^{MC}",
"(GeV)"},
281 {
"EMotherMC",
"E^{MC}_{mother}",
"(GeV)"},
282 {
"MMC",
"m_{inv}^{MC}",
"(GeV/#it{c}^{2})"},
283 {
"ChargeMC",
"q^{MC}",
"(e)"},
284 {
"PdgCode",
"PDG code",
""},
285 {
"PdgCodeMother",
"mothers PDG code",
""},
286 {
"PdgCodeGrandMother",
"grand mothers PDG code",
""},
287 {
"GeantId",
"Geant process",
""},
288 {
"Weight",
"N#times#it{BR}",
""},
292 {
"TRDHitsMC",
"N_{hit}^{TRD} (MC)",
""},
293 {
"MVDHitsMC",
"N_{hit}^{MVD} (MC)",
""},
294 {
"STSHitsMC",
"N_{hit}^{STS} (MC)",
""},
295 {
"STSMVDHitsMC",
"N_{hit}^{STS} (MC)",
""},
296 {
"TOFHitsMC",
"N_{hit}^{TOF} (MC)",
""},
297 {
"MUCHHitsMC",
"N_{hit}^{MUCH} (MC)",
""},
298 {
"RICHHitsMC",
"N_{hit}^{RICH} (MC)",
""},
299 {
"TRDMCPoints",
"N_{diff.MCtrk}^{TRD}",
""},
300 {
"RICHMCPoints",
"N_{MC,pts}^{RICH}",
""},
301 {
"TRDTrueHits",
"N_{true,hit}^{TRD}",
""},
302 {
"TRDDistHits",
"N_{distorted,hit}^{TRD}",
""},
303 {
"TRDFakeHits",
"N_{fake,hit}^{TRD}",
""},
304 {
"TRDDistortion",
"distortion^{TRD}",
""},
305 {
"STSTrueHits",
"N_{true,hit}^{STS}",
""},
306 {
"STSDistHits",
"N_{distorted,hit}^{STS}",
""},
307 {
"STSFakeHits",
"N_{fake,hit}^{STS}",
""},
308 {
"TRDisMC",
"MC status TRD",
""},
309 {
"MVDisMC",
"MC status MVD",
""},
310 {
"STSisMC",
"MC status STS",
""},
311 {
"MUCHisMC",
"MC status MUCH",
""},
312 {
"RICHisMC",
"MC status RICH",
""},
313 {
"TOFisMC",
"MC status TOF",
""},
316 {
"OpeningAngleMC",
"#varphi^{MC}",
"(rad.)"},
317 {
"CosPointingAngleMC",
"cos(#theta)^{MC}",
"(rad.)"},
318 {
"StsMvdFirstDaughterMC",
"",
""},
319 {
"StsMvdSecondDaughterMC",
"",
""},
323 {
"NTrkMC",
"N_{trk}^{MC}",
""},
324 {
"XvPrimMC",
"x_{prim.vtx}^{MC}",
"(cm)"},
325 {
"YvPrimMC",
"y_{prim.vtx}^{MC}",
"(cm)"},
326 {
"ZvPrimMC",
"z_{prim.vtx}^{MC}",
"(cm)"},
327 {
"STSMatches",
"N_{trk.matches}^{STS}",
""},
328 {
"TRDMatches",
"N_{trk.matches}^{TRD}",
""},
329 {
"VageMatches",
"N_{vage.matches}^{STS}",
""},
330 {
"TotalTRDHitsMC",
"N_{tot.hit}^{TRD} (MC)",
""},
331 {
"ImpactParam",
"#it{b}",
"(fm)"},
332 {
"NPrimMC",
"N_{prim}^{MC}",
""},
384 TString name(valname);
398 if (var == 997 || var == 998 || var == 999 || var == 1000000000)
return var;
401 TString name = valname +
"MC";
ClassImp(PairAnalysisVarManager) const char *PairAnalysisVarManager
static CbmKFVertex * fgKFVertex
virtual ~PairAnalysisVarManager()
static const char * fgkParticleNames[kNMaxValuesMC][3]
data
static TFormula * fgFormula[kNMaxValuesMC]
static Double_t fgData[kNMaxValuesMC]
static Int_t fgCurrentRun
static const char * GetValueName(Int_t i)
static UInt_t GetValueTypeMC(UInt_t var)
static CbmVertex * fgVertexMC
static UInt_t GetValueType(const char *valname)
static PairAnalysisEvent * fgEvent