23 const TString sPrimary(
"Is primary");
24 const TString sMVtxCut(
"MVTX hits = (");
25 const TString sNTpcCut(
"TPC hits = (");
26 const TString sVzCut(
"z-vertex = (");
27 const TString sDcaXyCut(
"DCA (XY) = (");
28 const TString sDcaZCut(
"DCA (Z) = (");
29 const TString sQualityCut(
"Quality = (");
30 const TString sVzUnits(
"cm");
31 const TString sDcaUnits(
"#mum");
34 TString sMVtxTxt = sMVtxCut;
35 TString sNTpcTxt = sNTpcCut;
36 TString sVzTxt = sVzCut;
37 TString sDcaXyTxt = sDcaXyCut;
38 TString sDcaZTxt = sDcaZCut;
39 TString sQualityTxt = sQualityCut;
40 sMVtxTxt += nMVtxCut.first;
41 sNTpcTxt += nTpcCut.first;
42 sVzTxt += vzCut.first;
43 sDcaXyTxt += dcaXyCut.first;
44 sDcaZTxt += dcaZCut.first;
45 sQualityTxt += qualityCut.first;
52 sMVtxTxt += nMVtxCut.second;
53 sNTpcTxt += nTpcCut.second;
54 sVzTxt += vzCut.second;
55 sDcaXyTxt += dcaXyCut.second;
56 sDcaZTxt += dcaZCut.second;
57 sQualityTxt += qualityCut.second;
64 sVzTxt += sVzUnits.Data();
65 sDcaXyTxt += sDcaUnits.Data();
66 sDcaZTxt += sDcaUnits.Data();
70 if (doPrimaryCut) nCut++;
71 if (doMVtxCut) nCut++;
74 if (doDcaXyCut) nCut++;
75 if (doDcaZCut) nCut++;
76 if (doQualityCut) nCut++;
79 const UInt_t fTxtC = 42;
80 const UInt_t fAlnC = 12;
81 const UInt_t fColC = 0;
82 const UInt_t fLinC = 1;
83 const UInt_t fFilC = 0;
84 const Float_t hCut = 0.05 * nCut;
85 const Float_t yCut = 0.1 + hCut;
86 const Float_t xyCut[
NVtx] = {0.5, 0.1, 0.7, yCut};
88 ptCut =
new TPaveText(xyCut[0], xyCut[1], xyCut[2], xyCut[3],
"NDC NB");
94 ptCut -> SetTextAlign(fAlnC);
95 if (doPrimaryCut) ptCut -> AddText(sPrimary.Data());
96 if (doMVtxCut) ptCut -> AddText(sMVtxTxt.Data());
97 if (doTpcCut) ptCut -> AddText(sNTpcTxt.Data());
98 if (doVzCut) ptCut -> AddText(sVzTxt.Data());
99 if (doDcaXyCut) ptCut -> AddText(sDcaXyTxt.Data());
100 if (doDcaZCut) ptCut -> AddText(sDcaZTxt.Data());
101 if (doQualityCut) ptCut -> AddText(sQualityTxt.Data());
103 cout <<
" Made text box for cuts." << endl;
113 Bool_t dirIsThere = fOut ->
cd(sDirToSaveTo.Data());
115 fOut -> mkdir(sDirToSaveTo.Data());
116 fOut ->
cd(sDirToSaveTo.Data());
120 const UInt_t fTxtL = 42;
121 const UInt_t fColL = 0;
122 const UInt_t fLinL = 1;
123 const UInt_t fFilL = 0;
124 const Float_t hLeg = 0.05 * nToDraw;
125 const Float_t yLeg = 0.1 + hLeg;
126 const Float_t xyLeg[
NVtx] = {0.1, 0.1, 0.3, yLeg};
128 TLegend *
leg =
new TLegend(xyLeg[0], xyLeg[1], xyLeg[2], xyLeg[3]);
134 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
135 leg ->
AddEntry(hTrkVar[typesToDraw[iToDraw]][0], sTrkLabels[typesToDraw[iToDraw]].
Data(),
"pf");
140 Bool_t hasPileup(
false);
141 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
142 if (isPileup[typesToDraw[iToDraw]]) {
155 const UInt_t fTxtT = 42;
156 const UInt_t fAlnT = 12;
157 const UInt_t fColT = 0;
158 const UInt_t fLinT = 1;
159 const UInt_t fFilT = 0;
160 const Float_t hTxt = 0.05 * nTxt;
161 const Float_t yTxt = 0.1 + hTxt;
162 const Float_t xyTxt[
NVtx] = {0.3, 0.1, 0.5, yTxt};
164 TPaveText *ptTxt =
new TPaveText(xyTxt[0], xyTxt[1], xyTxt[2], xyTxt[3],
"NDC NB");
170 ptTxt -> SetTextAlign(fAlnT);
171 for (Ssiz_t iTxt = 0; iTxt < nTxt; iTxt++) {
173 ptTxt -> AddText(sTxtPU[iTxt].
Data());
175 ptTxt -> AddText(sTxtEO[iTxt].
Data());
180 const UInt_t fWidth1P(750);
181 const UInt_t fWidth2P(1500);
182 const UInt_t fHeight1P(750);
183 const UInt_t fHeight2P(750);
184 const UInt_t fMode(0);
185 const UInt_t fBord(2);
186 const UInt_t fGrid(0);
187 const UInt_t fTick(1);
188 const UInt_t fLogX(0);
189 const UInt_t fLogY(0);
190 const UInt_t fLogZ(1);
191 const UInt_t fFrame(0);
192 const Float_t fMarginL(0.12);
193 const Float_t fMarginR1(0.02);
194 const Float_t fMarginR2(0.12);
195 const Float_t fMarginT(0.02);
196 const Float_t fMarginB(0.12);
197 const Float_t padXY[
NPanel][
NVtx] = {{0., 0., 0.5, 1.}, {0.5, 0., 1., 1.}};
198 const TString sOneVsTwoDimPanels[
NPanel] = {
"pOneDim",
"pTwoDim"};
201 const TString sDiffSuffix(
"Diff");
202 const TString sFracSuffix(
"Frac");
203 const TString sVsNTpcSuffix(
"VsNTpc");
204 const TString sVsDcaXySuffix(
"VsDcaXY");
205 const TString sVsDcaZSuffix(
"VsDcaZ");
206 const TString sVsPtRecoSuffix(
"VsPtReco");
207 const TString sVsPtTrueSuffix(
"VsPtTrue");
208 const TString sVsPtFracSuffix(
"VsPtFrac");
214 TString sTrkVarVsNTpc[
NTrkVar];
215 TString sTrkVarVsDcaXY[
NTrkVar];
216 TString sTrkVarVsDcaZ[
NTrkVar];
217 TString sTrkVarVsPtReco[
NTrkVar];
218 TString sTrkVarVsPtTrue[
NTrkVar];
219 TString sTrkVarVsPtFrac[
NTrkVar];
235 for (
size_t iTrkVar = 0; iTrkVar <
NTrkVar; iTrkVar++) {
236 sTrkVarName[iTrkVar] =
"c";
237 sTrkVarName[iTrkVar].Append(sTrkVars[iTrkVar].
Data());
239 for (
size_t iPhysVar = 0; iPhysVar <
NPhysVar; iPhysVar++) {
240 sPhysVarName[iPhysVar] =
"c";
241 sPhysVarName[iPhysVar].Append(sPhysVars[iPhysVar].
Data());
244 for (
size_t iTrkVar = 0; iTrkVar <
NTrkVar; iTrkVar++) {
245 sTrkVar[iTrkVar] = sTrkVarName[iTrkVar].Data();
246 sTrkVarDiff[iTrkVar] = sTrkVarName[iTrkVar].Data();
247 sTrkVarFrac[iTrkVar] = sTrkVarName[iTrkVar].Data();
248 sTrkVarVsNTpc[iTrkVar] = sTrkVarName[iTrkVar].Data();
249 sTrkVarVsDcaXY[iTrkVar] = sTrkVarName[iTrkVar].Data();
250 sTrkVarVsDcaZ[iTrkVar] = sTrkVarName[iTrkVar].Data();
251 sTrkVarVsPtReco[iTrkVar] = sTrkVarName[iTrkVar].Data();
252 sTrkVarVsPtTrue[iTrkVar] = sTrkVarName[iTrkVar].Data();
253 sTrkVarVsPtFrac[iTrkVar] = sTrkVarName[iTrkVar].Data();
254 sTrkVarDiff[iTrkVar].Append(sDiffSuffix.Data());
255 sTrkVarFrac[iTrkVar].Append(sFracSuffix.Data());
256 sTrkVarVsNTpc[iTrkVar].Append(sVsNTpcSuffix.Data());
257 sTrkVarVsDcaXY[iTrkVar].Append(sVsDcaXySuffix.Data());
258 sTrkVarVsDcaZ[iTrkVar].Append(sVsDcaZSuffix.Data());
259 sTrkVarVsPtReco[iTrkVar].Append(sVsPtRecoSuffix.Data());
260 sTrkVarVsPtTrue[iTrkVar].Append(sVsPtTrueSuffix.Data());
261 sTrkVarVsPtFrac[iTrkVar].Append(sVsPtFracSuffix.Data());
262 sTrkVar[iTrkVar].Append(
"_");
263 sTrkVarDiff[iTrkVar].Append(
"_");
264 sTrkVarFrac[iTrkVar].Append(
"_");
265 sTrkVarVsNTpc[iTrkVar].Append(
"_");
266 sTrkVarVsDcaXY[iTrkVar].Append(
"_");
267 sTrkVarVsDcaZ[iTrkVar].Append(
"_");
268 sTrkVarVsPtReco[iTrkVar].Append(
"_");
269 sTrkVarVsPtTrue[iTrkVar].Append(
"_");
270 sTrkVarVsPtFrac[iTrkVar].Append(
"_");
271 sTrkVar[iTrkVar].Append(sPlotLabel.Data());
272 sTrkVarDiff[iTrkVar].Append(sPlotLabel.Data());
273 sTrkVarFrac[iTrkVar].Append(sPlotLabel.Data());
274 sTrkVarVsNTpc[iTrkVar].Append(sPlotLabel.Data());
275 sTrkVarVsDcaXY[iTrkVar].Append(sPlotLabel.Data());
276 sTrkVarVsDcaZ[iTrkVar].Append(sPlotLabel.Data());
277 sTrkVarVsPtReco[iTrkVar].Append(sPlotLabel.Data());
278 sTrkVarVsPtTrue[iTrkVar].Append(sPlotLabel.Data());
279 sTrkVarVsPtFrac[iTrkVar].Append(sPlotLabel.Data());
281 for (
size_t iPhysVar = 0; iPhysVar <
NPhysVar; iPhysVar++) {
282 sPhysVar[iPhysVar] = sPhysVarName[iPhysVar].Data();
283 sPhysVarDiff[iPhysVar] = sPhysVarName[iPhysVar].Data();
284 sPhysVarFrac[iPhysVar] = sPhysVarName[iPhysVar].Data();
285 sPhysVarVsNTpc[iPhysVar] = sPhysVarName[iPhysVar].Data();
286 sPhysVarVsDcaXY[iPhysVar] = sPhysVarName[iPhysVar].Data();
287 sPhysVarVsDcaZ[iPhysVar] = sPhysVarName[iPhysVar].Data();
288 sPhysVarVsPtReco[iPhysVar] = sPhysVarName[iPhysVar].Data();
289 sPhysVarVsPtTrue[iPhysVar] = sPhysVarName[iPhysVar].Data();
290 sPhysVarVsPtFrac[iPhysVar] = sPhysVarName[iPhysVar].Data();
291 sPhysVarDiff[iPhysVar].Append(sDiffSuffix.Data());
292 sPhysVarFrac[iPhysVar].Append(sFracSuffix.Data());
293 sPhysVarVsNTpc[iPhysVar].Append(sVsNTpcSuffix.Data());
294 sPhysVarVsDcaXY[iPhysVar].Append(sVsDcaXySuffix.Data());
295 sPhysVarVsDcaZ[iPhysVar].Append(sVsDcaZSuffix.Data());
296 sPhysVarVsPtReco[iPhysVar].Append(sVsPtRecoSuffix.Data());
297 sPhysVarVsPtTrue[iPhysVar].Append(sVsPtTrueSuffix.Data());
298 sPhysVarVsPtFrac[iPhysVar].Append(sVsPtFracSuffix.Data());
299 sPhysVar[iPhysVar].Append(
"_");
300 sPhysVarDiff[iPhysVar].Append(
"_");
301 sPhysVarFrac[iPhysVar].Append(
"_");
302 sPhysVarVsNTpc[iPhysVar].Append(
"_");
303 sPhysVarVsDcaXY[iPhysVar].Append(
"_");
304 sPhysVarVsDcaZ[iPhysVar].Append(
"_");
305 sPhysVarVsPtReco[iPhysVar].Append(
"_");
306 sPhysVarVsPtTrue[iPhysVar].Append(
"_");
307 sPhysVarVsPtFrac[iPhysVar].Append(
"_");
308 sPhysVar[iPhysVar].Append(sPlotLabel.Data());
309 sPhysVarDiff[iPhysVar].Append(sPlotLabel.Data());
310 sPhysVarFrac[iPhysVar].Append(sPlotLabel.Data());
311 sPhysVarVsNTpc[iPhysVar].Append(sPlotLabel.Data());
312 sPhysVarVsDcaXY[iPhysVar].Append(sPlotLabel.Data());
313 sPhysVarVsDcaZ[iPhysVar].Append(sPlotLabel.Data());
314 sPhysVarVsPtReco[iPhysVar].Append(sPlotLabel.Data());
315 sPhysVarVsPtTrue[iPhysVar].Append(sPlotLabel.Data());
316 sPhysVarVsPtFrac[iPhysVar].Append(sPlotLabel.Data());
323 TCanvas *cTrkVarVsNTpc[
NTrkVar];
324 TCanvas *cTrkVarVsDcaXY[
NTrkVar];
325 TCanvas *cTrkVarVsDcaZ[
NTrkVar];
326 TCanvas *cTrkVarVsPtReco[
NTrkVar];
327 TCanvas *cTrkVarVsPtTrue[
NTrkVar];
328 TCanvas *cTrkVarVsPtFrac[
NTrkVar];
335 for (
size_t iTrkVar = 0; iTrkVar <
NTrkVar; iTrkVar++) {
338 cTrkVar[iTrkVar] =
new TCanvas(sTrkVar[iTrkVar].
Data(),
"", fWidth1P, fHeight1P);
339 cTrkVar[iTrkVar] -> SetGrid(fGrid, fGrid);
340 cTrkVar[iTrkVar] -> SetTicks(fTick, fTick);
341 cTrkVar[iTrkVar] -> SetLogx(fLogX);
342 cTrkVar[iTrkVar] ->
SetLogy(fLogY);
343 cTrkVar[iTrkVar] -> SetLogz(fLogZ);
351 cTrkVar[iTrkVar] ->
cd();
352 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
354 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
356 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
362 cTrkVar[iTrkVar] ->
Write();
363 cTrkVar[iTrkVar] ->
Close();
366 cTrkVarDiff[iTrkVar] =
new TCanvas(sTrkVarDiff[iTrkVar].
Data(),
"", fWidth1P, fHeight1P);
367 cTrkVarDiff[iTrkVar] -> SetGrid(fGrid, fGrid);
368 cTrkVarDiff[iTrkVar] -> SetTicks(fTick, fTick);
369 cTrkVarDiff[iTrkVar] -> SetLogx(fLogX);
370 cTrkVarDiff[iTrkVar] ->
SetLogy(fLogY);
371 cTrkVarDiff[iTrkVar] -> SetLogz(fLogZ);
379 cTrkVarDiff[iTrkVar] ->
cd();
380 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
382 hTrkVarDiff[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
384 hTrkVarDiff[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
390 cTrkVarDiff[iTrkVar] ->
Write();
391 cTrkVarDiff[iTrkVar] ->
Close();
394 cTrkVarFrac[iTrkVar] =
new TCanvas(sTrkVarFrac[iTrkVar].
Data(),
"", fWidth1P, fHeight1P);
395 cTrkVarFrac[iTrkVar] -> SetGrid(fGrid, fGrid);
396 cTrkVarFrac[iTrkVar] -> SetTicks(fTick, fTick);
397 cTrkVarFrac[iTrkVar] -> SetLogx(fLogX);
398 cTrkVarFrac[iTrkVar] ->
SetLogy(fLogY);
399 cTrkVarFrac[iTrkVar] -> SetLogz(fLogZ);
407 cTrkVarFrac[iTrkVar] ->
cd();
408 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
410 hTrkVarFrac[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
412 hTrkVarFrac[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
418 cTrkVarFrac[iTrkVar] ->
Write();
419 cTrkVarFrac[iTrkVar] ->
Close();
422 cTrkVarVsNTpc[iTrkVar] =
new TCanvas(sTrkVarVsNTpc[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
423 pTrkVarVsNTpc[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
424 pTrkVarVsNTpc[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
425 cTrkVarVsNTpc[iTrkVar] -> SetGrid(fGrid, fGrid);
426 cTrkVarVsNTpc[iTrkVar] -> SetTicks(fTick, fTick);
429 pTrkVarVsNTpc[iTrkVar][0] -> SetGrid(fGrid, fGrid);
430 pTrkVarVsNTpc[iTrkVar][0] -> SetTicks(fTick, fTick);
431 pTrkVarVsNTpc[iTrkVar][0] -> SetLogx(fLogX);
432 pTrkVarVsNTpc[iTrkVar][0] ->
SetLogy(fLogY);
433 pTrkVarVsNTpc[iTrkVar][0] -> SetLogz(fLogZ);
441 pTrkVarVsNTpc[iTrkVar][1] -> SetGrid(fGrid, fGrid);
442 pTrkVarVsNTpc[iTrkVar][1] -> SetTicks(fTick, fTick);
443 pTrkVarVsNTpc[iTrkVar][1] -> SetLogx(fLogX);
444 pTrkVarVsNTpc[iTrkVar][1] ->
SetLogy(fLogY);
445 pTrkVarVsNTpc[iTrkVar][1] -> SetLogz(fLogZ);
453 cTrkVarVsNTpc[iTrkVar] ->
cd();
454 pTrkVarVsNTpc[iTrkVar][0] ->
Draw();
455 pTrkVarVsNTpc[iTrkVar][1] ->
Draw();
456 pTrkVarVsNTpc[iTrkVar][0] ->
cd();
457 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
459 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
461 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
467 pTrkVarVsNTpc[iTrkVar][1] ->
cd();
468 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
470 hTrkVarVsNTpc[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
472 hTrkVarVsNTpc[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
475 cTrkVarVsNTpc[iTrkVar] ->
Write();
476 cTrkVarVsNTpc[iTrkVar] ->
Close();
479 cTrkVarVsDcaXY[iTrkVar] =
new TCanvas(sTrkVarVsDcaXY[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
480 pTrkVarVsDcaXY[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
481 pTrkVarVsDcaXY[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
482 cTrkVarVsDcaXY[iTrkVar] -> SetGrid(fGrid, fGrid);
483 cTrkVarVsDcaXY[iTrkVar] -> SetTicks(fTick, fTick);
486 pTrkVarVsDcaXY[iTrkVar][0] -> SetGrid(fGrid, fGrid);
487 pTrkVarVsDcaXY[iTrkVar][0] -> SetTicks(fTick, fTick);
488 pTrkVarVsDcaXY[iTrkVar][0] -> SetLogx(fLogX);
489 pTrkVarVsDcaXY[iTrkVar][0] ->
SetLogy(fLogY);
490 pTrkVarVsDcaXY[iTrkVar][0] -> SetLogz(fLogZ);
498 pTrkVarVsDcaXY[iTrkVar][1] -> SetGrid(fGrid, fGrid);
499 pTrkVarVsDcaXY[iTrkVar][1] -> SetTicks(fTick, fTick);
500 pTrkVarVsDcaXY[iTrkVar][1] -> SetLogx(fLogX);
501 pTrkVarVsDcaXY[iTrkVar][1] ->
SetLogy(fLogY);
502 pTrkVarVsDcaXY[iTrkVar][1] -> SetLogz(fLogZ);
510 cTrkVarVsDcaXY[iTrkVar] ->
cd();
511 pTrkVarVsDcaXY[iTrkVar][0] ->
Draw();
512 pTrkVarVsDcaXY[iTrkVar][1] ->
Draw();
513 pTrkVarVsDcaXY[iTrkVar][0] ->
cd();
514 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
516 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
518 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
524 pTrkVarVsDcaXY[iTrkVar][1] ->
cd();
525 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
527 hTrkVarVsDcaXY[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
529 hTrkVarVsDcaXY[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
532 cTrkVarVsDcaXY[iTrkVar] ->
Write();
533 cTrkVarVsDcaXY[iTrkVar] ->
Close();
536 cTrkVarVsDcaZ[iTrkVar] =
new TCanvas(sTrkVarVsDcaZ[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
537 pTrkVarVsDcaZ[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
538 pTrkVarVsDcaZ[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
539 cTrkVarVsDcaZ[iTrkVar] -> SetGrid(fGrid, fGrid);
540 cTrkVarVsDcaZ[iTrkVar] -> SetTicks(fTick, fTick);
543 pTrkVarVsDcaZ[iTrkVar][0] -> SetGrid(fGrid, fGrid);
544 pTrkVarVsDcaZ[iTrkVar][0] -> SetTicks(fTick, fTick);
545 pTrkVarVsDcaZ[iTrkVar][0] -> SetLogx(fLogX);
546 pTrkVarVsDcaZ[iTrkVar][0] ->
SetLogy(fLogY);
547 pTrkVarVsDcaZ[iTrkVar][0] -> SetLogz(fLogZ);
555 pTrkVarVsDcaZ[iTrkVar][1] -> SetGrid(fGrid, fGrid);
556 pTrkVarVsDcaZ[iTrkVar][1] -> SetTicks(fTick, fTick);
557 pTrkVarVsDcaZ[iTrkVar][1] -> SetLogx(fLogX);
558 pTrkVarVsDcaZ[iTrkVar][1] ->
SetLogy(fLogY);
559 pTrkVarVsDcaZ[iTrkVar][1] -> SetLogz(fLogZ);
567 cTrkVarVsDcaZ[iTrkVar] ->
cd();
568 pTrkVarVsDcaZ[iTrkVar][0] ->
Draw();
569 pTrkVarVsDcaZ[iTrkVar][1] ->
Draw();
570 pTrkVarVsDcaZ[iTrkVar][0] ->
cd();
571 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
573 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
575 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
581 pTrkVarVsDcaZ[iTrkVar][1] ->
cd();
582 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
584 hTrkVarVsDcaZ[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
586 hTrkVarVsDcaZ[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
589 cTrkVarVsDcaZ[iTrkVar] ->
Write();
590 cTrkVarVsDcaZ[iTrkVar] ->
Close();
593 cTrkVarVsPtReco[iTrkVar] =
new TCanvas(sTrkVarVsPtReco[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
594 pTrkVarVsPtReco[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
595 pTrkVarVsPtReco[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
596 cTrkVarVsPtReco[iTrkVar] -> SetGrid(fGrid, fGrid);
597 cTrkVarVsPtReco[iTrkVar] -> SetTicks(fTick, fTick);
600 pTrkVarVsPtReco[iTrkVar][0] -> SetGrid(fGrid, fGrid);
601 pTrkVarVsPtReco[iTrkVar][0] -> SetTicks(fTick, fTick);
602 pTrkVarVsPtReco[iTrkVar][0] -> SetLogx(fLogX);
603 pTrkVarVsPtReco[iTrkVar][0] ->
SetLogy(fLogY);
604 pTrkVarVsPtReco[iTrkVar][0] -> SetLogz(fLogZ);
612 pTrkVarVsPtReco[iTrkVar][1] -> SetGrid(fGrid, fGrid);
613 pTrkVarVsPtReco[iTrkVar][1] -> SetTicks(fTick, fTick);
614 pTrkVarVsPtReco[iTrkVar][1] -> SetLogx(fLogX);
615 pTrkVarVsPtReco[iTrkVar][1] ->
SetLogy(fLogY);
616 pTrkVarVsPtReco[iTrkVar][1] -> SetLogz(fLogZ);
624 cTrkVarVsPtReco[iTrkVar] ->
cd();
625 pTrkVarVsPtReco[iTrkVar][0] ->
Draw();
626 pTrkVarVsPtReco[iTrkVar][1] ->
Draw();
627 pTrkVarVsPtReco[iTrkVar][0] ->
cd();
628 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
630 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
632 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
638 pTrkVarVsPtReco[iTrkVar][1] ->
cd();
639 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
641 hTrkVarVsPtReco[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
643 hTrkVarVsPtReco[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
646 cTrkVarVsPtReco[iTrkVar] ->
Write();
647 cTrkVarVsPtReco[iTrkVar] ->
Close();
650 cTrkVarVsPtTrue[iTrkVar] =
new TCanvas(sTrkVarVsPtTrue[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
651 pTrkVarVsPtTrue[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
652 pTrkVarVsPtTrue[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
653 cTrkVarVsPtTrue[iTrkVar] -> SetGrid(fGrid, fGrid);
654 cTrkVarVsPtTrue[iTrkVar] -> SetTicks(fTick, fTick);
657 pTrkVarVsPtTrue[iTrkVar][0] -> SetGrid(fGrid, fGrid);
658 pTrkVarVsPtTrue[iTrkVar][0] -> SetTicks(fTick, fTick);
659 pTrkVarVsPtTrue[iTrkVar][0] -> SetLogx(fLogX);
660 pTrkVarVsPtTrue[iTrkVar][0] ->
SetLogy(fLogY);
661 pTrkVarVsPtTrue[iTrkVar][0] -> SetLogz(fLogZ);
669 pTrkVarVsPtTrue[iTrkVar][1] -> SetGrid(fGrid, fGrid);
670 pTrkVarVsPtTrue[iTrkVar][1] -> SetTicks(fTick, fTick);
671 pTrkVarVsPtTrue[iTrkVar][1] -> SetLogx(fLogX);
672 pTrkVarVsPtTrue[iTrkVar][1] ->
SetLogy(fLogY);
673 pTrkVarVsPtTrue[iTrkVar][1] -> SetLogz(fLogZ);
681 cTrkVarVsPtTrue[iTrkVar] ->
cd();
682 pTrkVarVsPtTrue[iTrkVar][0] ->
Draw();
683 pTrkVarVsPtTrue[iTrkVar][1] ->
Draw();
684 pTrkVarVsPtTrue[iTrkVar][0] ->
cd();
685 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
687 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
689 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
695 pTrkVarVsPtTrue[iTrkVar][1] ->
cd();
696 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
698 hTrkVarVsPtTrue[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
700 hTrkVarVsPtTrue[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
703 cTrkVarVsPtTrue[iTrkVar] ->
Write();
704 cTrkVarVsPtTrue[iTrkVar] ->
Close();
707 cTrkVarVsPtFrac[iTrkVar] =
new TCanvas(sTrkVarVsPtFrac[iTrkVar].
Data(),
"", fWidth2P, fHeight2P);
708 pTrkVarVsPtFrac[iTrkVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
709 pTrkVarVsPtFrac[iTrkVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
710 cTrkVarVsPtFrac[iTrkVar] -> SetGrid(fGrid, fGrid);
711 cTrkVarVsPtFrac[iTrkVar] -> SetTicks(fTick, fTick);
714 pTrkVarVsPtFrac[iTrkVar][0] -> SetGrid(fGrid, fGrid);
715 pTrkVarVsPtFrac[iTrkVar][0] -> SetTicks(fTick, fTick);
716 pTrkVarVsPtFrac[iTrkVar][0] -> SetLogx(fLogX);
717 pTrkVarVsPtFrac[iTrkVar][0] ->
SetLogy(fLogY);
718 pTrkVarVsPtFrac[iTrkVar][0] -> SetLogz(fLogZ);
726 pTrkVarVsPtFrac[iTrkVar][1] -> SetGrid(fGrid, fGrid);
727 pTrkVarVsPtFrac[iTrkVar][1] -> SetTicks(fTick, fTick);
728 pTrkVarVsPtFrac[iTrkVar][1] -> SetLogx(fLogX);
729 pTrkVarVsPtFrac[iTrkVar][1] ->
SetLogy(fLogY);
730 pTrkVarVsPtFrac[iTrkVar][1] -> SetLogz(fLogZ);
738 cTrkVarVsPtFrac[iTrkVar] ->
cd();
739 pTrkVarVsPtFrac[iTrkVar][0] ->
Draw();
740 pTrkVarVsPtFrac[iTrkVar][1] ->
Draw();
741 pTrkVarVsPtFrac[iTrkVar][0] ->
cd();
742 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
744 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw();
746 hTrkVar[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"same");
752 pTrkVarVsPtFrac[iTrkVar][1] ->
cd();
753 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
755 hTrkVarVsPtFrac[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"colz");
757 hTrkVarVsPtFrac[typesToDraw[iToDraw]][iTrkVar] ->
Draw(
"scat same");
760 cTrkVarVsPtFrac[iTrkVar] ->
Write();
761 cTrkVarVsPtFrac[iTrkVar] ->
Close();
771 TCanvas *cPhysVarVsPtReco[
NPhysVar];
772 TCanvas *cPhysVarVsPtTrue[
NPhysVar];
773 TCanvas *cPhysVarVsPtFrac[
NPhysVar];
780 for (
size_t iPhysVar = 0; iPhysVar <
NPhysVar; iPhysVar++) {
783 cPhysVar[iPhysVar] =
new TCanvas(sPhysVar[iPhysVar].
Data(),
"", fWidth1P, fHeight1P);
784 cPhysVar[iPhysVar] -> SetGrid(fGrid, fGrid);
785 cPhysVar[iPhysVar] -> SetTicks(fTick, fTick);
786 cPhysVar[iPhysVar] -> SetLogx(fLogX);
787 cPhysVar[iPhysVar] ->
SetLogy(fLogY);
788 cPhysVar[iPhysVar] -> SetLogz(fLogZ);
796 cPhysVar[iPhysVar] ->
cd();
797 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
799 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
801 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
807 cPhysVar[iPhysVar] ->
Write();
808 cPhysVar[iPhysVar] ->
Close();
811 cPhysVarDiff[iPhysVar] =
new TCanvas(sPhysVarDiff[iPhysVar].
Data(),
"", fWidth1P, fHeight1P);
812 cPhysVarDiff[iPhysVar] -> SetGrid(fGrid, fGrid);
813 cPhysVarDiff[iPhysVar] -> SetTicks(fTick, fTick);
814 cPhysVarDiff[iPhysVar] -> SetLogx(fLogX);
815 cPhysVarDiff[iPhysVar] ->
SetLogy(fLogY);
816 cPhysVarDiff[iPhysVar] -> SetLogz(fLogZ);
824 cPhysVarDiff[iPhysVar] ->
cd();
825 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
827 hPhysVarDiff[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
829 hPhysVarDiff[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
835 cPhysVarDiff[iPhysVar] ->
Write();
836 cPhysVarDiff[iPhysVar] ->
Close();
839 cPhysVarFrac[iPhysVar] =
new TCanvas(sPhysVarFrac[iPhysVar].
Data(),
"", fWidth1P, fHeight1P);
840 cPhysVarFrac[iPhysVar] -> SetGrid(fGrid, fGrid);
841 cPhysVarFrac[iPhysVar] -> SetTicks(fTick, fTick);
842 cPhysVarFrac[iPhysVar] -> SetLogx(fLogX);
843 cPhysVarFrac[iPhysVar] ->
SetLogy(fLogY);
844 cPhysVarFrac[iPhysVar] -> SetLogz(fLogZ);
852 cPhysVarFrac[iPhysVar] ->
cd();
853 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
855 hPhysVarFrac[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
857 hPhysVarFrac[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
863 cPhysVarFrac[iPhysVar] ->
Write();
864 cPhysVarFrac[iPhysVar] ->
Close();
867 cPhysVarVsNTpc[iPhysVar] =
new TCanvas(sPhysVarVsNTpc[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
868 pPhysVarVsNTpc[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
869 pPhysVarVsNTpc[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
870 cPhysVarVsNTpc[iPhysVar] -> SetGrid(fGrid, fGrid);
871 cPhysVarVsNTpc[iPhysVar] -> SetTicks(fTick, fTick);
874 pPhysVarVsNTpc[iPhysVar][0] -> SetGrid(fGrid, fGrid);
875 pPhysVarVsNTpc[iPhysVar][0] -> SetTicks(fTick, fTick);
876 pPhysVarVsNTpc[iPhysVar][0] -> SetLogx(fLogX);
877 pPhysVarVsNTpc[iPhysVar][0] ->
SetLogy(fLogY);
878 pPhysVarVsNTpc[iPhysVar][0] -> SetLogz(fLogZ);
886 pPhysVarVsNTpc[iPhysVar][1] -> SetGrid(fGrid, fGrid);
887 pPhysVarVsNTpc[iPhysVar][1] -> SetTicks(fTick, fTick);
888 pPhysVarVsNTpc[iPhysVar][1] -> SetLogx(fLogX);
889 pPhysVarVsNTpc[iPhysVar][1] ->
SetLogy(fLogY);
890 pPhysVarVsNTpc[iPhysVar][1] -> SetLogz(fLogZ);
898 cPhysVarVsNTpc[iPhysVar] ->
cd();
899 pPhysVarVsNTpc[iPhysVar][0] ->
Draw();
900 pPhysVarVsNTpc[iPhysVar][1] ->
Draw();
901 pPhysVarVsNTpc[iPhysVar][0] ->
cd();
902 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
904 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
906 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
912 pPhysVarVsNTpc[iPhysVar][1] ->
cd();
913 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
915 hPhysVarVsNTpc[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
917 hPhysVarVsNTpc[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
920 cPhysVarVsNTpc[iPhysVar] ->
Write();
921 cPhysVarVsNTpc[iPhysVar] ->
Close();
924 cPhysVarVsDcaXY[iPhysVar] =
new TCanvas(sPhysVarVsDcaXY[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
925 pPhysVarVsDcaXY[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
926 pPhysVarVsDcaXY[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
927 cPhysVarVsDcaXY[iPhysVar] -> SetGrid(fGrid, fGrid);
928 cPhysVarVsDcaXY[iPhysVar] -> SetTicks(fTick, fTick);
931 pPhysVarVsDcaXY[iPhysVar][0] -> SetGrid(fGrid, fGrid);
932 pPhysVarVsDcaXY[iPhysVar][0] -> SetTicks(fTick, fTick);
933 pPhysVarVsDcaXY[iPhysVar][0] -> SetLogx(fLogX);
934 pPhysVarVsDcaXY[iPhysVar][0] ->
SetLogy(fLogY);
935 pPhysVarVsDcaXY[iPhysVar][0] -> SetLogz(fLogZ);
943 pPhysVarVsDcaXY[iPhysVar][1] -> SetGrid(fGrid, fGrid);
944 pPhysVarVsDcaXY[iPhysVar][1] -> SetTicks(fTick, fTick);
945 pPhysVarVsDcaXY[iPhysVar][1] -> SetLogx(fLogX);
946 pPhysVarVsDcaXY[iPhysVar][1] ->
SetLogy(fLogY);
947 pPhysVarVsDcaXY[iPhysVar][1] -> SetLogz(fLogZ);
955 cPhysVarVsDcaXY[iPhysVar] ->
cd();
956 pPhysVarVsDcaXY[iPhysVar][0] ->
Draw();
957 pPhysVarVsDcaXY[iPhysVar][1] ->
Draw();
958 pPhysVarVsDcaXY[iPhysVar][0] ->
cd();
959 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
961 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
963 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
969 pPhysVarVsDcaXY[iPhysVar][1] ->
cd();
970 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
972 hPhysVarVsDcaXY[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
974 hPhysVarVsDcaXY[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
977 cPhysVarVsDcaXY[iPhysVar] ->
Write();
978 cPhysVarVsDcaXY[iPhysVar] ->
Close();
981 cPhysVarVsDcaZ[iPhysVar] =
new TCanvas(sPhysVarVsDcaZ[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
982 pPhysVarVsDcaZ[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
983 pPhysVarVsDcaZ[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
984 cPhysVarVsDcaZ[iPhysVar] -> SetGrid(fGrid, fGrid);
985 cPhysVarVsDcaZ[iPhysVar] -> SetTicks(fTick, fTick);
988 pPhysVarVsDcaZ[iPhysVar][0] -> SetGrid(fGrid, fGrid);
989 pPhysVarVsDcaZ[iPhysVar][0] -> SetTicks(fTick, fTick);
990 pPhysVarVsDcaZ[iPhysVar][0] -> SetLogx(fLogX);
991 pPhysVarVsDcaZ[iPhysVar][0] ->
SetLogy(fLogY);
992 pPhysVarVsDcaZ[iPhysVar][0] -> SetLogz(fLogZ);
1000 pPhysVarVsDcaZ[iPhysVar][1] -> SetGrid(fGrid, fGrid);
1001 pPhysVarVsDcaZ[iPhysVar][1] -> SetTicks(fTick, fTick);
1002 pPhysVarVsDcaZ[iPhysVar][1] -> SetLogx(fLogX);
1003 pPhysVarVsDcaZ[iPhysVar][1] ->
SetLogy(fLogY);
1004 pPhysVarVsDcaZ[iPhysVar][1] -> SetLogz(fLogZ);
1012 cPhysVarVsDcaZ[iPhysVar] ->
cd();
1013 pPhysVarVsDcaZ[iPhysVar][0] ->
Draw();
1014 pPhysVarVsDcaZ[iPhysVar][1] ->
Draw();
1015 pPhysVarVsDcaZ[iPhysVar][0] ->
cd();
1016 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1018 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
1020 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
1026 pPhysVarVsDcaZ[iPhysVar][1] ->
cd();
1027 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1029 hPhysVarVsDcaZ[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
1031 hPhysVarVsDcaZ[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
1034 cPhysVarVsDcaZ[iPhysVar] ->
Write();
1035 cPhysVarVsDcaZ[iPhysVar] ->
Close();
1038 cPhysVarVsPtReco[iPhysVar] =
new TCanvas(sPhysVarVsPtReco[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
1039 pPhysVarVsPtReco[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
1040 pPhysVarVsPtReco[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
1041 cPhysVarVsPtReco[iPhysVar] -> SetGrid(fGrid, fGrid);
1042 cPhysVarVsPtReco[iPhysVar] -> SetTicks(fTick, fTick);
1045 pPhysVarVsPtReco[iPhysVar][0] -> SetGrid(fGrid, fGrid);
1046 pPhysVarVsPtReco[iPhysVar][0] -> SetTicks(fTick, fTick);
1047 pPhysVarVsPtReco[iPhysVar][0] -> SetLogx(fLogX);
1048 pPhysVarVsPtReco[iPhysVar][0] ->
SetLogy(fLogY);
1049 pPhysVarVsPtReco[iPhysVar][0] -> SetLogz(fLogZ);
1055 pPhysVarVsPtReco[iPhysVar][0] ->
SetTopMargin(fMarginT);
1057 pPhysVarVsPtReco[iPhysVar][1] -> SetGrid(fGrid, fGrid);
1058 pPhysVarVsPtReco[iPhysVar][1] -> SetTicks(fTick, fTick);
1059 pPhysVarVsPtReco[iPhysVar][1] -> SetLogx(fLogX);
1060 pPhysVarVsPtReco[iPhysVar][1] ->
SetLogy(fLogY);
1061 pPhysVarVsPtReco[iPhysVar][1] -> SetLogz(fLogZ);
1067 pPhysVarVsPtReco[iPhysVar][1] ->
SetTopMargin(fMarginT);
1069 cPhysVarVsPtReco[iPhysVar] ->
cd();
1070 pPhysVarVsPtReco[iPhysVar][0] ->
Draw();
1071 pPhysVarVsPtReco[iPhysVar][1] ->
Draw();
1072 pPhysVarVsPtReco[iPhysVar][0] ->
cd();
1073 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1075 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
1077 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
1083 pPhysVarVsPtReco[iPhysVar][1] ->
cd();
1084 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1086 hPhysVarVsPtReco[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
1088 hPhysVarVsPtReco[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
1091 cPhysVarVsPtReco[iPhysVar] ->
Write();
1092 cPhysVarVsPtReco[iPhysVar] ->
Close();
1095 cPhysVarVsPtTrue[iPhysVar] =
new TCanvas(sPhysVarVsPtTrue[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
1096 pPhysVarVsPtTrue[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
1097 pPhysVarVsPtTrue[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
1098 cPhysVarVsPtTrue[iPhysVar] -> SetGrid(fGrid, fGrid);
1099 cPhysVarVsPtTrue[iPhysVar] -> SetTicks(fTick, fTick);
1102 pPhysVarVsPtTrue[iPhysVar][0] -> SetGrid(fGrid, fGrid);
1103 pPhysVarVsPtTrue[iPhysVar][0] -> SetTicks(fTick, fTick);
1104 pPhysVarVsPtTrue[iPhysVar][0] -> SetLogx(fLogX);
1105 pPhysVarVsPtTrue[iPhysVar][0] ->
SetLogy(fLogY);
1106 pPhysVarVsPtTrue[iPhysVar][0] -> SetLogz(fLogZ);
1112 pPhysVarVsPtTrue[iPhysVar][0] ->
SetTopMargin(fMarginT);
1114 pPhysVarVsPtTrue[iPhysVar][1] -> SetGrid(fGrid, fGrid);
1115 pPhysVarVsPtTrue[iPhysVar][1] -> SetTicks(fTick, fTick);
1116 pPhysVarVsPtTrue[iPhysVar][1] -> SetLogx(fLogX);
1117 pPhysVarVsPtTrue[iPhysVar][1] ->
SetLogy(fLogY);
1118 pPhysVarVsPtTrue[iPhysVar][1] -> SetLogz(fLogZ);
1124 pPhysVarVsPtTrue[iPhysVar][1] ->
SetTopMargin(fMarginT);
1126 cPhysVarVsPtTrue[iPhysVar] ->
cd();
1127 pPhysVarVsPtTrue[iPhysVar][0] ->
Draw();
1128 pPhysVarVsPtTrue[iPhysVar][1] ->
Draw();
1129 pPhysVarVsPtTrue[iPhysVar][0] ->
cd();
1130 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1132 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
1134 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
1140 pPhysVarVsPtTrue[iPhysVar][1] ->
cd();
1141 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1143 hPhysVarVsPtTrue[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
1145 hPhysVarVsPtTrue[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
1148 cPhysVarVsPtTrue[iPhysVar] ->
Write();
1149 cPhysVarVsPtTrue[iPhysVar] ->
Close();
1152 cPhysVarVsPtFrac[iPhysVar] =
new TCanvas(sPhysVarVsPtFrac[iPhysVar].
Data(),
"", fWidth2P, fHeight2P);
1153 pPhysVarVsPtFrac[iPhysVar][0] =
new TPad(sOneVsTwoDimPanels[0].
Data(),
"", padXY[0][0], padXY[0][1], padXY[0][2], padXY[0][3]);
1154 pPhysVarVsPtFrac[iPhysVar][1] =
new TPad(sOneVsTwoDimPanels[1].
Data(),
"", padXY[1][0], padXY[1][1], padXY[1][2], padXY[1][3]);
1155 cPhysVarVsPtFrac[iPhysVar] -> SetGrid(fGrid, fGrid);
1156 cPhysVarVsPtFrac[iPhysVar] -> SetTicks(fTick, fTick);
1159 pPhysVarVsPtFrac[iPhysVar][0] -> SetGrid(fGrid, fGrid);
1160 pPhysVarVsPtFrac[iPhysVar][0] -> SetTicks(fTick, fTick);
1161 pPhysVarVsPtFrac[iPhysVar][0] -> SetLogx(fLogX);
1162 pPhysVarVsPtFrac[iPhysVar][0] ->
SetLogy(fLogY);
1163 pPhysVarVsPtFrac[iPhysVar][0] -> SetLogz(fLogZ);
1169 pPhysVarVsPtFrac[iPhysVar][0] ->
SetTopMargin(fMarginT);
1171 pPhysVarVsPtFrac[iPhysVar][1] -> SetGrid(fGrid, fGrid);
1172 pPhysVarVsPtFrac[iPhysVar][1] -> SetTicks(fTick, fTick);
1173 pPhysVarVsPtFrac[iPhysVar][1] -> SetLogx(fLogX);
1174 pPhysVarVsPtFrac[iPhysVar][1] ->
SetLogy(fLogY);
1175 pPhysVarVsPtFrac[iPhysVar][1] -> SetLogz(fLogZ);
1181 pPhysVarVsPtFrac[iPhysVar][1] ->
SetTopMargin(fMarginT);
1183 cPhysVarVsPtFrac[iPhysVar] ->
cd();
1184 pPhysVarVsPtFrac[iPhysVar][0] ->
Draw();
1185 pPhysVarVsPtFrac[iPhysVar][1] ->
Draw();
1186 pPhysVarVsPtFrac[iPhysVar][0] ->
cd();
1187 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1189 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw();
1191 hPhysVar[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"same");
1197 pPhysVarVsPtFrac[iPhysVar][1] ->
cd();
1198 for (Ssiz_t iToDraw = 0; iToDraw < nToDraw; iToDraw++) {
1200 hPhysVarVsPtFrac[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"colz");
1202 hPhysVarVsPtFrac[typesToDraw[iToDraw]][iPhysVar] ->
Draw(
"scat same");
1205 cPhysVarVsPtFrac[iPhysVar] ->
Write();
1206 cPhysVarVsPtFrac[iPhysVar] ->
Close();