23 const TString sTitle =
"";
24 const TString sCounts =
"counts";
25 const TString sPtTrueAxis =
"p_{T}^{true} [GeV/c]";
26 const TString sPtRecoAxis =
"p_{T}^{reco} [GeV/c]";
27 const TString sPtFracAxis =
"p_{T}^{reco} / p_{T}^{true}";
28 const TString sPtDeltaAxis =
"#Deltap_{T} / p_{T}^{reco}";
29 const TString sDeltaCutAxis =
"max #Deltap_{T} / p_{T}^{reco}";
30 const TString sSigmaCutAxis =
"n #times #sigma(#Deltap_{T} / p_{T}^{reco})";
31 const TString sSigProjAxis =
"#sigma(#Deltap_{T} / p_{T}^{reco})";
32 const TString sMuProjAxis =
"#mu(#Deltap_{T} / p_{T}^{reco}) #pm (n #times #sigma(#Deltap_{T} / p_{T}^{reco}))";
33 const TString sRejectAxis =
"rejection factor";
34 const TString sEffAxis =
"#epsilon_{trk}";
50 grRejCut ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
52 grRejCut ->
GetXaxis() -> SetTitleFont(fTxt);
53 grRejCut ->
GetXaxis() -> SetTitleSize(fTit[1]);
54 grRejCut ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
55 grRejCut ->
GetXaxis() -> SetLabelFont(fTxt);
56 grRejCut ->
GetXaxis() -> SetLabelSize(fLab[1]);
57 grRejCut ->
GetXaxis() -> CenterTitle(fCnt);
59 grRejCut ->
GetYaxis() -> SetTitleFont(fTxt);
60 grRejCut ->
GetYaxis() -> SetTitleSize(fTit[1]);
61 grRejCut ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
62 grRejCut ->
GetYaxis() -> SetLabelFont(fTxt);
63 grRejCut ->
GetYaxis() -> SetLabelSize(fLab[1]);
64 grRejCut ->
GetYaxis() -> CenterTitle(fCnt);
73 grRejSig ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
75 grRejSig ->
GetXaxis() -> SetTitleFont(fTxt);
76 grRejSig ->
GetXaxis() -> SetTitleSize(fTit[1]);
77 grRejSig ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
78 grRejSig ->
GetXaxis() -> SetLabelFont(fTxt);
79 grRejSig ->
GetXaxis() -> SetLabelSize(fLab[1]);
80 grRejSig ->
GetXaxis() -> CenterTitle(fCnt);
82 grRejSig ->
GetYaxis() -> SetTitleFont(fTxt);
83 grRejSig ->
GetYaxis() -> SetTitleSize(fTit[1]);
84 grRejSig ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
85 grRejSig ->
GetYaxis() -> SetLabelFont(fTxt);
86 grRejSig ->
GetYaxis() -> SetLabelSize(fLab[1]);
87 grRejSig ->
GetYaxis() -> CenterTitle(fCnt);
96 hEff -> SetTitleFont(fTxt);
97 hEff ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
99 hEff ->
GetXaxis() -> SetTitleFont(fTxt);
100 hEff ->
GetXaxis() -> SetTitleSize(fTit[0]);
101 hEff ->
GetXaxis() -> SetTitleOffset(fOffX[0]);
102 hEff ->
GetXaxis() -> SetLabelFont(fTxt);
103 hEff ->
GetXaxis() -> SetLabelSize(fLab[0]);
104 hEff ->
GetXaxis() -> CenterTitle(fCnt);
106 hEff ->
GetYaxis() -> SetTitleFont(fTxt);
107 hEff ->
GetYaxis() -> SetTitleSize(fTit[0]);
108 hEff ->
GetYaxis() -> SetTitleOffset(fOffY[0]);
109 hEff ->
GetYaxis() -> SetLabelFont(fTxt);
110 hEff ->
GetYaxis() -> SetLabelSize(fLab[0]);
111 hEff ->
GetYaxis() -> CenterTitle(fCnt);
119 hPtTruth ->
SetTitle(sTitle.Data());
120 hPtTruth -> SetTitleFont(fTxt);
121 hPtTruth ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
123 hPtTruth ->
GetXaxis() -> SetTitleFont(fTxt);
124 hPtTruth ->
GetXaxis() -> SetTitleSize(fTit[1]);
125 hPtTruth ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
126 hPtTruth ->
GetXaxis() -> SetLabelFont(fTxt);
127 hPtTruth ->
GetXaxis() -> SetLabelSize(fLab[1]);
128 hPtTruth ->
GetXaxis() -> CenterTitle(fCnt);
130 hPtTruth ->
GetYaxis() -> SetTitleFont(fTxt);
131 hPtTruth ->
GetYaxis() -> SetTitleSize(fTit[1]);
132 hPtTruth ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
133 hPtTruth ->
GetYaxis() -> SetLabelFont(fTxt);
134 hPtTruth ->
GetYaxis() -> SetLabelSize(fLab[1]);
135 hPtTruth ->
GetYaxis() -> CenterTitle(fCnt);
143 hPtDelta ->
SetTitle(sTitle.Data());
144 hPtDelta -> SetTitleFont(fTxt);
145 hPtDelta ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
147 hPtDelta ->
GetXaxis() -> SetTitleFont(fTxt);
148 hPtDelta ->
GetXaxis() -> SetTitleSize(fTit[1]);
149 hPtDelta ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
150 hPtDelta ->
GetXaxis() -> SetLabelFont(fTxt);
151 hPtDelta ->
GetXaxis() -> SetLabelSize(fLab[1]);
152 hPtDelta ->
GetXaxis() -> CenterTitle(fCnt);
154 hPtDelta ->
GetYaxis() -> SetTitleFont(fTxt);
155 hPtDelta ->
GetYaxis() -> SetTitleSize(fTit[1]);
156 hPtDelta ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
157 hPtDelta ->
GetYaxis() -> SetLabelFont(fTxt);
158 hPtDelta ->
GetYaxis() -> SetLabelSize(fLab[1]);
159 hPtDelta ->
GetYaxis() -> CenterTitle(fCnt);
167 hPtTrack ->
SetTitle(sTitle.Data());
168 hPtTrack -> SetTitleFont(fTxt);
169 hPtTrack ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
171 hPtTrack ->
GetXaxis() -> SetTitleFont(fTxt);
172 hPtTrack ->
GetXaxis() -> SetTitleSize(fTit[1]);
173 hPtTrack ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
174 hPtTrack ->
GetXaxis() -> SetLabelFont(fTxt);
175 hPtTrack ->
GetXaxis() -> SetLabelSize(fLab[1]);
176 hPtTrack ->
GetXaxis() -> CenterTitle(fCnt);
178 hPtTrack ->
GetYaxis() -> SetTitleFont(fTxt);
179 hPtTrack ->
GetYaxis() -> SetTitleSize(fTit[1]);
180 hPtTrack ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
181 hPtTrack ->
GetYaxis() -> SetLabelFont(fTxt);
182 hPtTrack ->
GetYaxis() -> SetLabelSize(fLab[1]);
183 hPtTrack ->
GetYaxis() -> CenterTitle(fCnt);
192 hPtFrac -> SetTitleFont(fTxt);
193 hPtFrac ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
195 hPtFrac ->
GetXaxis() -> SetTitleFont(fTxt);
196 hPtFrac ->
GetXaxis() -> SetTitleSize(fTit[1]);
197 hPtFrac ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
198 hPtFrac ->
GetXaxis() -> SetLabelFont(fTxt);
199 hPtFrac ->
GetXaxis() -> SetLabelSize(fLab[1]);
200 hPtFrac ->
GetXaxis() -> CenterTitle(fCnt);
202 hPtFrac ->
GetYaxis() -> SetTitleFont(fTxt);
203 hPtFrac ->
GetYaxis() -> SetTitleSize(fTit[1]);
204 hPtFrac ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
205 hPtFrac ->
GetYaxis() -> SetLabelFont(fTxt);
206 hPtFrac ->
GetYaxis() -> SetLabelSize(fLab[1]);
207 hPtFrac ->
GetYaxis() -> CenterTitle(fCnt);
215 hPtTrkTru ->
SetTitle(sTitle.Data());
216 hPtTrkTru -> SetTitleFont(fTxt);
217 hPtTrkTru ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
219 hPtTrkTru ->
GetXaxis() -> SetTitleFont(fTxt);
220 hPtTrkTru ->
GetXaxis() -> SetTitleSize(fTit[1]);
221 hPtTrkTru ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
222 hPtTrkTru ->
GetXaxis() -> SetLabelFont(fTxt);
223 hPtTrkTru ->
GetXaxis() -> SetLabelSize(fLab[1]);
224 hPtTrkTru ->
GetXaxis() -> CenterTitle(fCnt);
226 hPtTrkTru ->
GetYaxis() -> SetTitleFont(fTxt);
227 hPtTrkTru ->
GetYaxis() -> SetTitleSize(fTit[1]);
228 hPtTrkTru ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
229 hPtTrkTru ->
GetYaxis() -> SetLabelFont(fTxt);
230 hPtTrkTru ->
GetYaxis() -> SetLabelSize(fLab[1]);
231 hPtTrkTru ->
GetYaxis() -> CenterTitle(fCnt);
239 hPtDeltaVsFrac ->
SetTitle(sTitle.Data());
240 hPtDeltaVsFrac -> SetTitleFont(fTxt);
241 hPtDeltaVsFrac ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
243 hPtDeltaVsFrac ->
GetXaxis() -> SetTitleFont(fTxt);
244 hPtDeltaVsFrac ->
GetXaxis() -> SetTitleSize(fTit[1]);
245 hPtDeltaVsFrac ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
246 hPtDeltaVsFrac ->
GetXaxis() -> SetLabelFont(fTxt);
247 hPtDeltaVsFrac ->
GetXaxis() -> SetLabelSize(fLab[1]);
248 hPtDeltaVsFrac ->
GetXaxis() -> CenterTitle(fCnt);
249 hPtDeltaVsFrac ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
251 hPtDeltaVsFrac ->
GetYaxis() -> SetTitleFont(fTxt);
252 hPtDeltaVsFrac ->
GetYaxis() -> SetTitleSize(fTit[1]);
253 hPtDeltaVsFrac ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
254 hPtDeltaVsFrac ->
GetYaxis() -> SetLabelFont(fTxt);
255 hPtDeltaVsFrac ->
GetYaxis() -> SetLabelSize(fLab[1]);
256 hPtDeltaVsFrac ->
GetYaxis() -> CenterTitle(fCnt);
258 hPtDeltaVsFrac ->
GetZaxis() -> SetTitleFont(fTxt);
259 hPtDeltaVsFrac ->
GetZaxis() -> SetTitleSize(fTit[1]);
260 hPtDeltaVsFrac ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
261 hPtDeltaVsFrac ->
GetZaxis() -> SetLabelFont(fTxt);
262 hPtDeltaVsFrac ->
GetZaxis() -> SetLabelSize(fLab[1]);
263 hPtDeltaVsFrac ->
GetZaxis() -> CenterTitle(fCnt);
271 hPtDeltaVsTrue ->
SetTitle(sTitle.Data());
272 hPtDeltaVsTrue -> SetTitleFont(fTxt);
273 hPtDeltaVsTrue ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
275 hPtDeltaVsTrue ->
GetXaxis() -> SetTitleFont(fTxt);
276 hPtDeltaVsTrue ->
GetXaxis() -> SetTitleSize(fTit[1]);
277 hPtDeltaVsTrue ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
278 hPtDeltaVsTrue ->
GetXaxis() -> SetLabelFont(fTxt);
279 hPtDeltaVsTrue ->
GetXaxis() -> SetLabelSize(fLab[1]);
280 hPtDeltaVsTrue ->
GetXaxis() -> CenterTitle(fCnt);
281 hPtDeltaVsTrue ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
283 hPtDeltaVsTrue ->
GetYaxis() -> SetTitleFont(fTxt);
284 hPtDeltaVsTrue ->
GetYaxis() -> SetTitleSize(fTit[1]);
285 hPtDeltaVsTrue ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
286 hPtDeltaVsTrue ->
GetYaxis() -> SetLabelFont(fTxt);
287 hPtDeltaVsTrue ->
GetYaxis() -> SetLabelSize(fLab[1]);
288 hPtDeltaVsTrue ->
GetYaxis() -> CenterTitle(fCnt);
290 hPtDeltaVsTrue ->
GetZaxis() -> SetTitleFont(fTxt);
291 hPtDeltaVsTrue ->
GetZaxis() -> SetTitleSize(fTit[1]);
292 hPtDeltaVsTrue ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
293 hPtDeltaVsTrue ->
GetZaxis() -> SetLabelFont(fTxt);
294 hPtDeltaVsTrue ->
GetZaxis() -> SetLabelSize(fLab[1]);
295 hPtDeltaVsTrue ->
GetZaxis() -> CenterTitle(fCnt);
303 hPtDeltaVsTrack ->
SetTitle(sTitle.Data());
304 hPtDeltaVsTrack -> SetTitleFont(fTxt);
305 hPtDeltaVsTrack ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
307 hPtDeltaVsTrack ->
GetXaxis() -> SetTitleFont(fTxt);
308 hPtDeltaVsTrack ->
GetXaxis() -> SetTitleSize(fTit[1]);
309 hPtDeltaVsTrack ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
310 hPtDeltaVsTrack ->
GetXaxis() -> SetLabelFont(fTxt);
311 hPtDeltaVsTrack ->
GetXaxis() -> SetLabelSize(fLab[1]);
312 hPtDeltaVsTrack ->
GetXaxis() -> CenterTitle(fCnt);
313 hPtDeltaVsTrack ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
315 hPtDeltaVsTrack ->
GetYaxis() -> SetTitleFont(fTxt);
316 hPtDeltaVsTrack ->
GetYaxis() -> SetTitleSize(fTit[1]);
317 hPtDeltaVsTrack ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
318 hPtDeltaVsTrack ->
GetYaxis() -> SetLabelFont(fTxt);
319 hPtDeltaVsTrack ->
GetYaxis() -> SetLabelSize(fLab[1]);
320 hPtDeltaVsTrack ->
GetYaxis() -> CenterTitle(fCnt);
322 hPtDeltaVsTrack ->
GetZaxis() -> SetTitleFont(fTxt);
323 hPtDeltaVsTrack ->
GetZaxis() -> SetTitleSize(fTit[1]);
324 hPtDeltaVsTrack ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
325 hPtDeltaVsTrack ->
GetZaxis() -> SetLabelFont(fTxt);
326 hPtDeltaVsTrack ->
GetZaxis() -> SetLabelSize(fLab[1]);
327 hPtDeltaVsTrack ->
GetZaxis() -> CenterTitle(fCnt);
335 hPtTrueVsTrack ->
SetTitle(sTitle.Data());
336 hPtTrueVsTrack -> SetTitleFont(fTxt);
337 hPtTrueVsTrack ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
339 hPtTrueVsTrack ->
GetXaxis() -> SetTitleFont(fTxt);
340 hPtTrueVsTrack ->
GetXaxis() -> SetTitleSize(fTit[1]);
341 hPtTrueVsTrack ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
342 hPtTrueVsTrack ->
GetXaxis() -> SetLabelFont(fTxt);
343 hPtTrueVsTrack ->
GetXaxis() -> SetLabelSize(fLab[1]);
344 hPtTrueVsTrack ->
GetXaxis() -> CenterTitle(fCnt);
345 hPtTrueVsTrack ->
GetYaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
347 hPtTrueVsTrack ->
GetYaxis() -> SetTitleFont(fTxt);
348 hPtTrueVsTrack ->
GetYaxis() -> SetTitleSize(fTit[1]);
349 hPtTrueVsTrack ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
350 hPtTrueVsTrack ->
GetYaxis() -> SetLabelFont(fTxt);
351 hPtTrueVsTrack ->
GetYaxis() -> SetLabelSize(fLab[1]);
352 hPtTrueVsTrack ->
GetYaxis() -> CenterTitle(fCnt);
354 hPtTrueVsTrack ->
GetZaxis() -> SetTitleFont(fTxt);
355 hPtTrueVsTrack ->
GetZaxis() -> SetTitleSize(fTit[1]);
356 hPtTrueVsTrack ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
357 hPtTrueVsTrack ->
GetZaxis() -> SetLabelFont(fTxt);
358 hPtTrueVsTrack ->
GetZaxis() -> SetLabelSize(fLab[1]);
359 hPtTrueVsTrack ->
GetZaxis() -> CenterTitle(fCnt);
369 grMuProj ->
SetTitle(sTitle.Data());
370 grMuProj ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
372 grMuProj ->
GetXaxis() -> SetTitleFont(fTxt);
373 grMuProj ->
GetXaxis() -> SetTitleSize(fTit[1]);
374 grMuProj ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
375 grMuProj ->
GetXaxis() -> SetLabelFont(fTxt);
376 grMuProj ->
GetXaxis() -> SetLabelSize(fLab[1]);
377 grMuProj ->
GetXaxis() -> CenterTitle(fCnt);
379 grMuProj ->
GetYaxis() -> SetTitleFont(fTxt);
380 grMuProj ->
GetYaxis() -> SetTitleSize(fTit[1]);
381 grMuProj ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
382 grMuProj ->
GetYaxis() -> SetLabelFont(fTxt);
383 grMuProj ->
GetYaxis() -> SetLabelSize(fLab[1]);
384 grMuProj ->
GetYaxis() -> CenterTitle(fCnt);
392 grSigProj ->
SetTitle(sTitle.Data());
393 grSigProj ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
395 grSigProj ->
GetXaxis() -> SetTitleFont(fTxt);
396 grSigProj ->
GetXaxis() -> SetTitleSize(fTit[1]);
397 grSigProj ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
398 grSigProj ->
GetXaxis() -> SetLabelFont(fTxt);
399 grSigProj ->
GetXaxis() -> SetLabelSize(fLab[1]);
400 grSigProj ->
GetXaxis() -> CenterTitle(fCnt);
402 grSigProj ->
GetYaxis() -> SetTitleFont(fTxt);
403 grSigProj ->
GetYaxis() -> SetTitleSize(fTit[1]);
404 grSigProj ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
405 grSigProj ->
GetYaxis() -> SetLabelFont(fTxt);
406 grSigProj ->
GetYaxis() -> SetLabelSize(fLab[1]);
407 grSigProj ->
GetYaxis() -> CenterTitle(fCnt);
408 for (
size_t iProj = 0; iProj < nProj; iProj++) {
416 hPtDeltaProj[iProj] ->
SetTitle(sTitle.Data());
417 hPtDeltaProj[iProj] -> SetTitleFont(fTxt);
418 hPtDeltaProj[iProj] ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
420 hPtDeltaProj[iProj] ->
GetXaxis() -> SetTitleFont(fTxt);
421 hPtDeltaProj[iProj] ->
GetXaxis() -> SetTitleSize(fTit[1]);
422 hPtDeltaProj[iProj] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
423 hPtDeltaProj[iProj] ->
GetXaxis() -> SetLabelFont(fTxt);
424 hPtDeltaProj[iProj] ->
GetXaxis() -> SetLabelSize(fLab[1]);
425 hPtDeltaProj[iProj] ->
GetXaxis() -> CenterTitle(fCnt);
427 hPtDeltaProj[iProj] ->
GetYaxis() -> SetTitleFont(fTxt);
428 hPtDeltaProj[iProj] ->
GetYaxis() -> SetTitleSize(fTit[1]);
429 hPtDeltaProj[iProj] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
430 hPtDeltaProj[iProj] ->
GetYaxis() -> SetLabelFont(fTxt);
431 hPtDeltaProj[iProj] ->
GetYaxis() -> SetLabelSize(fLab[1]);
432 hPtDeltaProj[iProj] ->
GetYaxis() -> CenterTitle(fCnt);
434 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
442 grMuHiProj[iSig] ->
SetTitle(sTitle.Data());
443 grMuHiProj[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
445 grMuHiProj[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
446 grMuHiProj[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
447 grMuHiProj[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
448 grMuHiProj[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
449 grMuHiProj[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
450 grMuHiProj[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
452 grMuHiProj[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
453 grMuHiProj[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
454 grMuHiProj[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
455 grMuHiProj[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
456 grMuHiProj[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
457 grMuHiProj[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
465 grMuLoProj[iSig] ->
SetTitle(sTitle.Data());
466 grMuLoProj[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
468 grMuLoProj[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
469 grMuLoProj[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
470 grMuLoProj[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
471 grMuLoProj[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
472 grMuLoProj[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
473 grMuLoProj[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
475 grMuLoProj[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
476 grMuLoProj[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
477 grMuLoProj[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
478 grMuLoProj[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
479 grMuLoProj[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
480 grMuLoProj[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
484 for (
size_t iCut = 0; iCut < nDPtCuts; iCut++) {
492 hEffCut[iCut] ->
SetTitle(sTitle.Data());
493 hEffCut[iCut] -> SetTitleFont(fTxt);
494 hEffCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
496 hEffCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
497 hEffCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[0]);
498 hEffCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[0]);
499 hEffCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
500 hEffCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[0]);
501 hEffCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
503 hEffCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
504 hEffCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[0]);
505 hEffCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[0]);
506 hEffCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
507 hEffCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[0]);
508 hEffCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
516 hPtDeltaCut[iCut] ->
SetTitle(sTitle.Data());
517 hPtDeltaCut[iCut] -> SetTitleFont(fTxt);
518 hPtDeltaCut[iCut] ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
520 hPtDeltaCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
521 hPtDeltaCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
522 hPtDeltaCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
523 hPtDeltaCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
524 hPtDeltaCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
525 hPtDeltaCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
527 hPtDeltaCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
528 hPtDeltaCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
529 hPtDeltaCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
530 hPtDeltaCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
531 hPtDeltaCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
532 hPtDeltaCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
540 hPtTrackCut[iCut] ->
SetTitle(sTitle.Data());
541 hPtTrackCut[iCut] -> SetTitleFont(fTxt);
542 hPtTrackCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
544 hPtTrackCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
545 hPtTrackCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
546 hPtTrackCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
547 hPtTrackCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
548 hPtTrackCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
549 hPtTrackCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
551 hPtTrackCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
552 hPtTrackCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
553 hPtTrackCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
554 hPtTrackCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
555 hPtTrackCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
556 hPtTrackCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
564 hPtFracCut[iCut] ->
SetTitle(sTitle.Data());
565 hPtFracCut[iCut] -> SetTitleFont(fTxt);
566 hPtFracCut[iCut] ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
568 hPtFracCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
569 hPtFracCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
570 hPtFracCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
571 hPtFracCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
572 hPtFracCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
573 hPtFracCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
575 hPtFracCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
576 hPtFracCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
577 hPtFracCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
578 hPtFracCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
579 hPtFracCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
580 hPtFracCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
588 hPtTrkTruCut[iCut] ->
SetTitle(sTitle.Data());
589 hPtTrkTruCut[iCut] -> SetTitleFont(fTxt);
590 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
592 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
593 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
594 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
595 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
596 hPtTrkTruCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
597 hPtTrkTruCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
599 hPtTrkTruCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
600 hPtTrkTruCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
601 hPtTrkTruCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
602 hPtTrkTruCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
603 hPtTrkTruCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
604 hPtTrkTruCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
612 hPtDeltaVsFracCut[iCut] ->
SetTitle(sTitle.Data());
613 hPtDeltaVsFracCut[iCut] -> SetTitleFont(fTxt);
614 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
616 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
617 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
618 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
619 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
620 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
621 hPtDeltaVsFracCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
622 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
624 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
625 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
626 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
627 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
628 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
629 hPtDeltaVsFracCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
631 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> SetTitleFont(fTxt);
632 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> SetTitleSize(fTit[1]);
633 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
634 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> SetLabelFont(fTxt);
635 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> SetLabelSize(fLab[1]);
636 hPtDeltaVsFracCut[iCut] ->
GetZaxis() -> CenterTitle(fCnt);
644 hPtDeltaVsTrueCut[iCut] ->
SetTitle(sTitle.Data());
645 hPtDeltaVsTrueCut[iCut] -> SetTitleFont(fTxt);
646 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
648 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
649 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
650 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
651 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
652 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
653 hPtDeltaVsTrueCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
654 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
656 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
657 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
658 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
659 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
660 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
661 hPtDeltaVsTrueCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
663 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> SetTitleFont(fTxt);
664 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> SetTitleSize(fTit[1]);
665 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
666 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> SetLabelFont(fTxt);
667 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> SetLabelSize(fLab[1]);
668 hPtDeltaVsTrueCut[iCut] ->
GetZaxis() -> CenterTitle(fCnt);
676 hPtDeltaVsTrackCut[iCut] ->
SetTitle(sTitle.Data());
677 hPtDeltaVsTrackCut[iCut] -> SetTitleFont(fTxt);
678 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
680 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
681 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
682 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
683 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
684 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
685 hPtDeltaVsTrackCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
686 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
688 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
689 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
690 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
691 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
692 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
693 hPtDeltaVsTrackCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
695 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> SetTitleFont(fTxt);
696 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> SetTitleSize(fTit[1]);
697 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
698 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> SetLabelFont(fTxt);
699 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> SetLabelSize(fLab[1]);
700 hPtDeltaVsTrackCut[iCut] ->
GetZaxis() -> CenterTitle(fCnt);
708 hPtTrueVsTrackCut[iCut] ->
SetTitle(sTitle.Data());
709 hPtTrueVsTrackCut[iCut] -> SetTitleFont(fTxt);
710 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
712 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetTitleFont(fTxt);
713 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetTitleSize(fTit[1]);
714 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
715 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetLabelFont(fTxt);
716 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> SetLabelSize(fLab[1]);
717 hPtTrueVsTrackCut[iCut] ->
GetXaxis() -> CenterTitle(fCnt);
718 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
720 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetTitleFont(fTxt);
721 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetTitleSize(fTit[1]);
722 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
723 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetLabelFont(fTxt);
724 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> SetLabelSize(fLab[1]);
725 hPtTrueVsTrackCut[iCut] ->
GetYaxis() -> CenterTitle(fCnt);
727 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> SetTitleFont(fTxt);
728 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> SetTitleSize(fTit[1]);
729 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
730 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> SetLabelFont(fTxt);
731 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> SetLabelSize(fLab[1]);
732 hPtTrueVsTrackCut[iCut] ->
GetZaxis() -> CenterTitle(fCnt);
736 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
744 hEffSig[iSig] ->
SetTitle(sTitle.Data());
745 hEffSig[iSig] -> SetTitleFont(fTxt);
746 hEffSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
748 hEffSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
749 hEffSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[0]);
750 hEffSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[0]);
751 hEffSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
752 hEffSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[0]);
753 hEffSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
755 hEffSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
756 hEffSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[0]);
757 hEffSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[0]);
758 hEffSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
759 hEffSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[0]);
760 hEffSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
768 hPtDeltaSig[iSig] ->
SetTitle(sTitle.Data());
769 hPtDeltaSig[iSig] -> SetTitleFont(fTxt);
770 hPtDeltaSig[iSig] ->
GetXaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
772 hPtDeltaSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
773 hPtDeltaSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
774 hPtDeltaSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
775 hPtDeltaSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
776 hPtDeltaSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
777 hPtDeltaSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
779 hPtDeltaSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
780 hPtDeltaSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
781 hPtDeltaSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
782 hPtDeltaSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
783 hPtDeltaSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
784 hPtDeltaSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
792 hPtTrackSig[iSig] ->
SetTitle(sTitle.Data());
793 hPtTrackSig[iSig] -> SetTitleFont(fTxt);
794 hPtTrackSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
796 hPtTrackSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
797 hPtTrackSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
798 hPtTrackSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
799 hPtTrackSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
800 hPtTrackSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
801 hPtTrackSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
803 hPtTrackSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
804 hPtTrackSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
805 hPtTrackSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
806 hPtTrackSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
807 hPtTrackSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
808 hPtTrackSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
816 hPtFracSig[iSig] ->
SetTitle(sTitle.Data());
817 hPtFracSig[iSig] -> SetTitleFont(fTxt);
818 hPtFracSig[iSig] ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
820 hPtFracSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
821 hPtFracSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
822 hPtFracSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
823 hPtFracSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
824 hPtFracSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
825 hPtFracSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
827 hPtFracSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
828 hPtFracSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
829 hPtFracSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
830 hPtFracSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
831 hPtFracSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
832 hPtFracSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
840 hPtTrkTruSig[iSig] ->
SetTitle(sTitle.Data());
841 hPtTrkTruSig[iSig] -> SetTitleFont(fTxt);
842 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
844 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
845 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
846 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
847 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
848 hPtTrkTruSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
849 hPtTrkTruSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
851 hPtTrkTruSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
852 hPtTrkTruSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
853 hPtTrkTruSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
854 hPtTrkTruSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
855 hPtTrkTruSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
856 hPtTrkTruSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
864 hPtDeltaVsFracSig[iSig] ->
SetTitle(sTitle.Data());
865 hPtDeltaVsFracSig[iSig] -> SetTitleFont(fTxt);
866 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetRangeUser(rFracRange[0], rFracRange[1]);
868 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
869 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
870 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
871 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
872 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
873 hPtDeltaVsFracSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
874 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
876 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
877 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
878 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
879 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
880 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
881 hPtDeltaVsFracSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
883 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> SetTitleFont(fTxt);
884 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> SetTitleSize(fTit[1]);
885 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
886 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> SetLabelFont(fTxt);
887 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> SetLabelSize(fLab[1]);
888 hPtDeltaVsFracSig[iSig] ->
GetZaxis() -> CenterTitle(fCnt);
896 hPtDeltaVsTrueSig[iSig] ->
SetTitle(sTitle.Data());
897 hPtDeltaVsTrueSig[iSig] -> SetTitleFont(fTxt);
898 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
900 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
901 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
902 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
903 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
904 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
905 hPtDeltaVsTrueSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
906 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
908 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
909 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
910 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
911 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
912 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
913 hPtDeltaVsTrueSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
915 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> SetTitleFont(fTxt);
916 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> SetTitleSize(fTit[1]);
917 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
918 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> SetLabelFont(fTxt);
919 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> SetLabelSize(fLab[1]);
920 hPtDeltaVsTrueSig[iSig] ->
GetZaxis() -> CenterTitle(fCnt);
928 hPtDeltaVsTrackSig[iSig] ->
SetTitle(sTitle.Data());
929 hPtDeltaVsTrackSig[iSig] -> SetTitleFont(fTxt);
930 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
932 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
933 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
934 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
935 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
936 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
937 hPtDeltaVsTrackSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
938 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetRangeUser(rDeltaRange[0], rDeltaRange[1]);
940 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
941 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
942 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
943 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
944 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
945 hPtDeltaVsTrackSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
947 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> SetTitleFont(fTxt);
948 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> SetTitleSize(fTit[1]);
949 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
950 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> SetLabelFont(fTxt);
951 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> SetLabelSize(fLab[1]);
952 hPtDeltaVsTrackSig[iSig] ->
GetZaxis() -> CenterTitle(fCnt);
960 hPtTrueVsTrackSig[iSig] ->
SetTitle(sTitle.Data());
961 hPtTrueVsTrackSig[iSig] -> SetTitleFont(fTxt);
962 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
964 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetTitleFont(fTxt);
965 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetTitleSize(fTit[1]);
966 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetTitleOffset(fOffX[1]);
967 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetLabelFont(fTxt);
968 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> SetLabelSize(fLab[1]);
969 hPtTrueVsTrackSig[iSig] ->
GetXaxis() -> CenterTitle(fCnt);
970 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetRangeUser(rPtRange[0], rPtRange[1]);
972 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetTitleFont(fTxt);
973 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetTitleSize(fTit[1]);
974 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetTitleOffset(fOffY[1]);
975 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetLabelFont(fTxt);
976 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> SetLabelSize(fLab[1]);
977 hPtTrueVsTrackSig[iSig] ->
GetYaxis() -> CenterTitle(fCnt);
979 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> SetTitleFont(fTxt);
980 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> SetTitleSize(fTit[1]);
981 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> SetTitleOffset(fOffZ[1]);
982 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> SetLabelFont(fTxt);
983 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> SetLabelSize(fLab[1]);
984 hPtTrueVsTrackSig[iSig] ->
GetZaxis() -> CenterTitle(fCnt);
987 cout <<
" Set styles." << endl;
997 const TString sBeforeTitle =
"Before #Deltap_{T}/p_{T} cuts";
998 const TString sAfterCutTitle =
"After #Deltap_{T}/p_{T} < 0.03 cut";
999 const TString sAfterSigTitle =
"After 2 #times #sigma(#Deltap_{T}/p_{T}) cut";
1002 const TString sLegTrue(
"truth");
1003 const TString sLegTrack(
"tracks (w/ cuts)");
1004 const TString sLegMu(
"Mean #Deltap_{T} / p_{T}^{reco} (n = 0)");
1005 const TString sLegProjBase(
"p_{T}^{reco} = ");
1006 const TString sLegProjSigBase(
"n = ");
1007 const TString sLegCutBase(
"#Deltap_{T} / p_{T}^{reco} < ");
1008 const TString sLegSigBase(
"#Deltap_{T} / p_{T}^{reco} #in ");
1011 TString sLegProjTxt;
1012 vector<TString> sLegProj;
1013 for (
const double proj : ptProj) {
1014 sLegProjTxt = sLegProjBase;
1015 sLegProjTxt += (float)
proj;
1016 sLegProjTxt +=
" GeV/c";
1017 sLegProj.push_back(sLegProjTxt);
1022 vector<TString> sLegCut;
1023 for (
const double cut : ptDeltaMax) {
1024 sLegCutTxt = sLegCutBase;
1025 sLegCutTxt += (float) cut;
1026 sLegCut.push_back(sLegCutTxt);
1031 TString sLegDeltaTxt;
1032 TString sLegProjSigTxt;
1033 vector<TString> sLegSig;
1034 vector<TString> sLegDelta;
1035 vector<TString> sLegProjSig;
1036 for (
const double sig : ptDeltaSig) {
1039 sLegSigTxt = sLegSigBase;
1040 sLegSigTxt += (float) sig;
1041 sLegSigTxt +=
" #times sigma(#Deltap_{T} / p_{T}^{reco})";
1042 sLegSig.push_back(sLegSigTxt);
1046 sLegDeltaTxt += (float) sig;
1047 sLegDeltaTxt +=
" #times #sigma(#Deltap_{T} / p_{T}^{reco})";
1048 sLegDelta.push_back(sLegDeltaTxt);
1051 sLegProjSigTxt = sLegProjSigBase;
1052 sLegProjSigTxt += (float) sig;
1053 sLegProjSig.push_back(sLegProjSigTxt);
1057 array<TString, Const::NTrkCuts> sTrkCuts;
1058 sTrkCuts[0] =
"|v_{z}| < ";
1059 sTrkCuts[0] += vzTrkMax;
1060 sTrkCuts[0] +=
" cm";
1061 sTrkCuts[1] =
"N_{hit}^{intt} #geq ";
1062 sTrkCuts[1] += nInttTrkMin;
1063 sTrkCuts[2] =
"N_{hit}^{mvtx} > ";
1064 sTrkCuts[2] += nMVtxTrkMin;
1065 sTrkCuts[3] =
"N_{hit}^{tpc} > ";
1066 sTrkCuts[3] += nTpcTrkMin;
1067 sTrkCuts[4] =
"p_{T}^{reco} > ";
1068 sTrkCuts[4] += (float) ptTrkMin;
1069 sTrkCuts[4] +=
" GeV/c";
1070 sTrkCuts[5] =
"quality < ";
1071 sTrkCuts[5] += qualTrkMax;
1074 const uint32_t fColLe = 0;
1075 const uint32_t fFilLe = 0;
1076 const uint32_t fLinLe = 0;
1077 const float yObjLe = 0.1 + ((nDPtCuts + 2) * 0.05);
1078 const float yObjMu = 0.1 + ((nSigCuts + 1) * 0.05);
1079 const float yObjDel = 0.1 + (nSigCuts * 0.05);
1080 const float yObjPro = 0.1 + (nProj * 0.05);
1081 const float yObjSig = 0.1 + ((nSigCuts + 2) * 0.05);
1082 const float fLegXY[
Const::NVtx] = {0.1, 0.1, 0.3, yObjLe};
1083 const float fLegMuXY[
Const::NVtx] = {0.1, 0.1, 0.3, yObjMu};
1084 const float fLegDelXY[
Const::NVtx] = {0.1, 0.1, 0.3, yObjDel};
1085 const float fLegProXY[
Const::NVtx] = {0.1, 0.1, 0.3, yObjPro};
1086 const float fLegSigXY[
Const::NVtx] = {0.1, 0.1, 0.3, yObjSig};
1088 TLegend *
leg =
new TLegend(fLegXY[0], fLegXY[1], fLegXY[2], fLegXY[3]);
1094 leg -> SetTextAlign(fAln);
1095 leg ->
AddEntry(hPtTruth, sLegTrue.Data(),
"pf");
1096 leg ->
AddEntry(hPtTrkTru, sLegTrack.Data(),
"pf");
1097 for (
size_t iCut = 0; iCut < nDPtCuts; iCut++) {
1098 leg ->
AddEntry(hPtTrkTruCut[iCut], sLegCut[iCut].
Data(),
"pf");
1101 TLegend *legMu =
new TLegend(fLegMuXY[0], fLegMuXY[1], fLegMuXY[2], fLegMuXY[3]);
1107 legMu -> SetTextAlign(fAln);
1108 legMu ->
AddEntry(grMuProj, sLegMu.Data(),
"p");
1109 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1110 legMu ->
AddEntry(grMuHiProj[iSig], sLegProjSig[iSig].
Data(),
"p");
1113 TLegend *legDel =
new TLegend(fLegDelXY[0], fLegDelXY[1], fLegDelXY[2], fLegDelXY[3]);
1119 legDel -> SetTextAlign(fAln);
1120 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1121 legDel ->
AddEntry(fMuHiProj[iSig], sLegDelta[iSig].
Data(),
"l");
1124 TLegend *legPro =
new TLegend(fLegProXY[0], fLegProXY[1], fLegProXY[2], fLegProXY[3]);
1130 legPro -> SetTextAlign(fAln);
1131 for (
size_t iProj = 0; iProj < nProj; iProj++) {
1132 legPro ->
AddEntry(hPtDeltaProj[iProj], sLegProj[iProj].
Data(),
"pf");
1135 TLegend *legSig =
new TLegend(fLegSigXY[0], fLegSigXY[1], fLegSigXY[2], fLegSigXY[3]);
1141 legSig -> SetTextAlign(fAln);
1142 legSig ->
AddEntry(hPtTruth, sLegTrue.Data(),
"pf");
1143 legSig ->
AddEntry(hPtTrkTru, sLegTrack.Data(),
"pf");
1144 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1145 legSig ->
AddEntry(hPtTrkTruSig[iSig], sLegSig[iSig].
Data(),
"pf");
1147 cout <<
" Made legends." << endl;
1150 const uint32_t fColInf = 0;
1151 const uint32_t fFilInf = 0;
1152 const uint32_t fLinInf = 0;
1153 const float yObjInf = 0.1 + (nTxt * 0.05);
1155 const float fInfXY[
Const::NVtx] = {0.3, 0.1, 0.5, yObjInf};
1156 const float fCutXY[
Const::NVtx] = {0.5, 0.1, 0.7, yObjCut};
1158 TPaveText *info =
new TPaveText(fInfXY[0], fInfXY[1], fInfXY[2], fInfXY[3],
"NDC NB");
1164 info -> SetTextAlign(fAln);
1165 for (
size_t iTxt = 0; iTxt < nTxt; iTxt++) {
1166 info -> AddText(sInfo[iTxt].
Data());
1169 TPaveText *
cuts =
new TPaveText(fCutXY[0], fCutXY[1], fCutXY[2], fCutXY[3],
"NDC NB");
1175 cuts -> SetTextAlign(fAln);
1177 cuts -> AddText(sTrkCuts[iTrkCut].
Data());
1179 cout <<
" Made text." << endl;
1182 const uint32_t fColLi = 1;
1183 const uint32_t fLinLi = 9;
1184 const uint32_t fWidLi = 1;
1185 const float fLinXY[
Const::NVtx] = {rPtRange[0], 1., rPtRange[1], 1.};
1187 TLine *
line =
new TLine(fLinXY[0], fLinXY[1], fLinXY[2], fLinXY[3]);
1191 cout <<
" Made line." << endl;
1194 const uint32_t
width(750);
1195 const uint32_t width2D(1500);
1196 const uint32_t height(950);
1197 const uint32_t heightNR(750);
1198 const uint32_t fMode(0);
1199 const uint32_t fBord(2);
1200 const uint32_t fGrid(0);
1201 const uint32_t fTick(1);
1202 const uint32_t fLogX(0);
1203 const uint32_t fLogY1(1);
1204 const uint32_t fLogY2(1);
1205 const uint32_t fLogYNR(0);
1206 const uint32_t fFrame(0);
1207 const float fMarginL(0.15);
1208 const float fMarginR(0.02);
1209 const float fMarginR2D(0.15);
1210 const float fMarginT1(0.005);
1211 const float fMarginT2(0.02);
1212 const float fMarginTNR(0.02);
1213 const float fMarginB1(0.25);
1214 const float fMarginB2(0.005);
1215 const float fMarginBNR(0.15);
1216 const float fEffXY[
Const::NVtx] = {0., 0., 1., 0.35};
1217 const float fTrksXY[
Const::NVtx] = {0., 0.35, 1., 1.};
1218 const float fTwoDimXY[
Const::NVtx] = {0., 0., 0.5, 1.};
1219 const float fProjectXY[
Const::NVtx] = {0.5, 0., 1., 1.};
1220 const float fBeforeDPtXY[
Const::NVtx] = {0., 0., 0.5, 1.};
1221 const float fAfterDPtXY[
Const::NVtx] = {0.5, 0., 1., 1.};
1223 TCanvas *cEffCut =
new TCanvas(
"cEfficiency_FlatCut",
"", width, height);
1224 TPad *pEffCut =
new TPad(
"pEffCut",
"", fEffXY[0], fEffXY[1], fEffXY[2], fEffXY[3]);
1225 TPad *pTrkCut =
new TPad(
"pTrkCut",
"", fTrksXY[0], fTrksXY[1], fTrksXY[2], fTrksXY[3]);
1226 cEffCut -> SetGrid(fGrid, fGrid);
1227 cEffCut -> SetTicks(fTick, fTick);
1230 pEffCut -> SetGrid(fGrid, fGrid);
1231 pEffCut -> SetTicks(fTick, fTick);
1232 pEffCut -> SetLogx(fLogX);
1241 pTrkCut -> SetGrid(fGrid, fGrid);
1242 pTrkCut -> SetTicks(fTick, fTick);
1243 pTrkCut -> SetLogx(fLogX);
1257 for (
size_t iCut = 0; iCut < nDPtCuts; iCut++) {
1258 hEffCut[iCut] ->
Draw(
"SAME");
1263 hPtTrkTru ->
Draw(
"SAME");
1264 for (
size_t iCut = 0; iCut < nDPtCuts; iCut++) {
1265 hPtTrkTruCut[iCut] ->
Draw(
"SAME");
1274 TCanvas *cEffSig =
new TCanvas(
"cEfficiency_SigmaCut",
"", width, height);
1275 TPad *pEffSig =
new TPad(
"pEffSig",
"", fEffXY[0], fEffXY[1], fEffXY[2], fEffXY[3]);
1276 TPad *pTrkSig =
new TPad(
"pTrkSig",
"", fTrksXY[0], fTrksXY[1], fTrksXY[2], fTrksXY[3]);
1277 cEffSig -> SetGrid(fGrid, fGrid);
1278 cEffSig -> SetTicks(fTick, fTick);
1281 pEffSig -> SetGrid(fGrid, fGrid);
1282 pEffSig -> SetTicks(fTick, fTick);
1283 pEffSig -> SetLogx(fLogX);
1292 pTrkSig -> SetGrid(fGrid, fGrid);
1293 pTrkSig -> SetTicks(fTick, fTick);
1294 pTrkSig -> SetLogx(fLogX);
1308 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1309 hEffSig[iSig] ->
Draw(
"SAME");
1314 hPtTrkTru ->
Draw(
"SAME");
1315 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1316 hPtTrkTruSig[iSig] ->
Draw(
"SAME");
1325 TCanvas *cRejCut =
new TCanvas(
"cReject_FlatCut",
"", width, heightNR);
1326 cRejCut -> SetGrid(fGrid, fGrid);
1327 cRejCut -> SetTicks(fTick, fTick);
1335 cRejCut -> SetLogx(fLogX);
1338 grRejCut ->
Draw(
"ALP");
1345 TCanvas *cRejSig =
new TCanvas(
"cReject_SigmaCut",
"", width, heightNR);
1346 cRejSig -> SetGrid(fGrid, fGrid);
1347 cRejSig -> SetTicks(fTick, fTick);
1355 cRejSig -> SetLogx(fLogX);
1358 grRejSig ->
Draw(
"ALP");
1365 TCanvas *cPtTruVsTrkCut =
new TCanvas(
"cPtTruthVsReco_FlatCut",
"", width2D, heightNR);
1366 TPad *pBeforeCut =
new TPad(
"pBeforeCut",
"", fBeforeDPtXY[0], fBeforeDPtXY[1], fBeforeDPtXY[2], fBeforeDPtXY[3]);
1367 TPad *pAfterCut =
new TPad(
"pAfterCut",
"", fAfterDPtXY[0], fAfterDPtXY[1], fAfterDPtXY[2], fAfterDPtXY[3]);
1368 cPtTruVsTrkCut -> SetGrid(fGrid, fGrid);
1369 cPtTruVsTrkCut -> SetTicks(fTick, fTick);
1372 pBeforeCut -> SetGrid(fGrid, fGrid);
1373 pBeforeCut -> SetTicks(fTick, fTick);
1374 pBeforeCut -> SetLogx(fLogX);
1375 pBeforeCut ->
SetLogy(fLogYNR);
1382 pAfterCut -> SetGrid(fGrid, fGrid);
1383 pAfterCut -> SetTicks(fTick, fTick);
1384 pAfterCut -> SetLogx(fLogX);
1385 pAfterCut ->
SetLogy(fLogYNR);
1392 cPtTruVsTrkCut ->
cd();
1393 pBeforeCut ->
Draw();
1394 pAfterCut ->
Draw();
1396 hPtTrueVsTrack ->
SetTitle(sBeforeTitle.Data());
1397 hPtTrueVsTrack ->
Draw(
"colz");
1400 hPtTrueVsTrackCut[iCutToDraw] ->
SetTitle(sAfterCutTitle.Data());
1401 hPtTrueVsTrackCut[iCutToDraw] ->
Draw(
"colz");
1404 cPtTruVsTrkCut ->
Write();
1405 cPtTruVsTrkCut ->
Close();
1407 TCanvas *cPtTruVsTrkSig =
new TCanvas(
"cPtTruthVsReco_SigmaCut",
"", width2D, heightNR);
1408 TPad *pBeforeSig =
new TPad(
"pBeforeSig",
"", fBeforeDPtXY[0], fBeforeDPtXY[1], fBeforeDPtXY[2], fBeforeDPtXY[3]);
1409 TPad *pAfterSig =
new TPad(
"pAfterSig",
"", fAfterDPtXY[0], fAfterDPtXY[1], fAfterDPtXY[2], fAfterDPtXY[3]);
1410 cPtTruVsTrkSig -> SetGrid(fGrid, fGrid);
1411 cPtTruVsTrkSig -> SetTicks(fTick, fTick);
1414 pBeforeSig -> SetGrid(fGrid, fGrid);
1415 pBeforeSig -> SetTicks(fTick, fTick);
1416 pBeforeSig -> SetLogx(fLogX);
1417 pBeforeSig ->
SetLogy(fLogYNR);
1424 pAfterSig -> SetGrid(fGrid, fGrid);
1425 pAfterSig -> SetTicks(fTick, fTick);
1426 pAfterSig -> SetLogx(fLogX);
1427 pAfterSig ->
SetLogy(fLogYNR);
1434 cPtTruVsTrkSig ->
cd();
1435 pBeforeSig ->
Draw();
1436 pAfterSig ->
Draw();
1438 hPtTrueVsTrack ->
Draw(
"colz");
1441 hPtTrueVsTrackSig[iSigToDraw] ->
SetTitle(sAfterSigTitle.Data());
1442 hPtTrueVsTrackSig[iSigToDraw] ->
Draw(
"colz");
1445 cPtTruVsTrkSig ->
Write();
1446 cPtTruVsTrkSig ->
Close();
1448 TCanvas *cPtDelVsTrk =
new TCanvas(
"cPtDeltaVsTrack",
"", width2D, heightNR);
1449 TPad *pTwoDim =
new TPad(
"pTwoDim",
"", fTwoDimXY[0], fTwoDimXY[1], fTwoDimXY[2], fTwoDimXY[3]);
1450 TPad *pProject =
new TPad(
"pProjections",
"", fProjectXY[0], fProjectXY[1], fProjectXY[2], fProjectXY[3]);
1451 cPtDelVsTrk -> SetGrid(fGrid, fGrid);
1452 cPtDelVsTrk -> SetTicks(fTick, fTick);
1455 pTwoDim -> SetGrid(fGrid, fGrid);
1456 pTwoDim -> SetTicks(fTick, fTick);
1457 pTwoDim -> SetLogx(fLogX);
1466 pProject -> SetGrid(fGrid, fGrid);
1467 pProject -> SetTicks(fTick, fTick);
1468 pProject -> SetLogx(fLogX);
1477 cPtDelVsTrk ->
cd();
1481 hPtDeltaVsTrack ->
Draw(
"colz");
1482 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1483 fMuHiProj[iSig] ->
Draw(
"same");
1484 fMuLoProj[iSig] ->
Draw(
"same");
1489 hPtDeltaProj[0] ->
Draw();
1490 fPtDeltaProj[0] ->
Draw(
"same");
1491 for (
size_t iProj = 1; iProj < nProj; iProj++) {
1492 hPtDeltaProj[iProj] ->
Draw(
"same");
1493 fPtDeltaProj[iProj] ->
Draw(
"same");
1498 cPtDelVsTrk ->
Write();
1499 cPtDelVsTrk ->
Close();
1501 TCanvas *cDeltaPt =
new TCanvas(
"cDeltaPt",
"", width, heightNR);
1502 cDeltaPt -> SetGrid(fGrid, fGrid);
1503 cDeltaPt -> SetTicks(fTick, fTick);
1511 cDeltaPt -> SetLogx(fLogX);
1518 cDeltaPt ->
Write();
1519 cDeltaPt ->
Close();
1521 TCanvas *cMuProj =
new TCanvas(
"cMuDeltaPt",
"", width, heightNR);
1522 cMuProj -> SetGrid(fGrid, fGrid);
1523 cMuProj -> SetTicks(fTick, fTick);
1531 cMuProj -> SetLogx(fLogX);
1534 grMuProj ->
Draw(
"ALP");
1535 for (
size_t iSig = 0; iSig < nSigCuts; iSig++) {
1536 grMuHiProj[iSig] ->
Draw(
"LP");
1537 grMuLoProj[iSig] ->
Draw(
"LP");
1546 TCanvas *cSigProj =
new TCanvas(
"cSigmaDeltaPt",
"", width, heightNR);
1547 cSigProj -> SetGrid(fGrid, fGrid);
1548 cSigProj -> SetTicks(fTick, fTick);
1556 cSigProj -> SetLogx(fLogX);
1559 grSigProj ->
Draw(
"ALP");
1563 cSigProj ->
Write();
1564 cSigProj ->
Close();
1566 cout <<
" Made plots." << endl;