225 iBooker.setCurrentFolder(simpath);
230 h_nSimConv_[0] = iBooker.book1D(histname,
"# of Sim conversions per event ", 20, -0.5, 19.5);
232 histname =
"h_AllSimConvEta";
234 histname =
"h_AllSimConvPhi";
236 histname =
"h_AllSimConvR";
238 histname =
"h_AllSimConvZ";
240 histname =
"h_AllSimConvEt";
243 histname =
"nOfVisSimConversions";
244 h_nSimConv_[1] = iBooker.book1D(histname,
"# of Sim conversions per event ", 20, -0.5, 19.5);
245 histname =
"h_VisSimConvEta";
247 histname =
"h_VisSimConvPhi";
249 histname =
"h_VisSimConvR";
251 histname =
"h_VisSimConvZ";
253 histname =
"h_VisSimConvEt";
257 histname =
"h_SimConvTwoMTracksEta";
259 histname,
" All vis conversions with 2 reco-matching tracks: simulated #eta",
etaBin2,
etaMin,
etaMax);
260 histname =
"h_SimConvTwoMTracksPhi";
262 histname,
" All vis conversions with 2 reco-matching tracks: simulated #phi",
phiBin,
phiMin,
phiMax);
263 histname =
"h_SimConvTwoMTracksR";
265 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated R",
rBin,
rMin,
rMax);
266 histname =
"h_SimConvTwoMTracksZ";
268 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated Z",
zBin,
zMin,
zMax);
269 histname =
"h_SimConvTwoMTracksEt";
271 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated Et",
etBin,
etMin,
etMax);
273 histname =
"h_SimConvTwoTracksEta";
275 iBooker.book1D(histname,
" All vis conversions with 2 reco tracks: simulated #eta",
etaBin2,
etaMin,
etaMax);
276 histname =
"h_SimConvTwoTracksPhi";
278 iBooker.book1D(histname,
" All vis conversions with 2 reco tracks: simulated #phi",
phiBin,
phiMin,
phiMax);
279 histname =
"h_SimConvTwoTracksR";
281 iBooker.book1D(histname,
" All vis conversions with 2 reco tracks: simulated R",
rBin,
rMin,
rMax);
282 histname =
"h_SimConvTwoTracksZ";
284 iBooker.book1D(histname,
" All vis conversions with 2 reco tracks: simulated Z",
zBin,
zMin,
zMax);
285 histname =
"h_SimConvTwoTracksEt";
287 iBooker.book1D(histname,
" All vis conversions with 2 reco tracks: simulated Et",
etBin,
etMin,
etMax);
289 histname =
"h_SimConvTwoMTracksEtaAndVtxPGT0";
291 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated #eta",
etaBin2,
etaMin,
etaMax);
292 histname =
"h_SimConvTwoMTracksPhiAndVtxPGT0";
294 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated #phi",
phiBin,
phiMin,
phiMax);
295 histname =
"h_SimConvTwoMTracksRAndVtxPGT0";
297 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated R",
rBin,
rMin,
rMax);
298 histname =
"h_SimConvTwoMTracksZAndVtxPGT0";
300 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated Z",
zBin,
zMin,
zMax);
301 histname =
"h_SimConvTwoMTracksEtAndVtxPGT0";
303 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated Et",
etBin,
etMin,
etMax);
306 histname =
"h_SimConvTwoMTracksEtaAndVtxPGT0005";
308 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated #eta",
etaBin2,
etaMin,
etaMax);
309 histname =
"h_SimConvTwoMTracksPhiAndVtxPGT0005";
311 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated #phi",
phiBin,
phiMin,
phiMax);
312 histname =
"h_SimConvTwoMTracksRAndVtxPGT0005";
314 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated R",
rBin,
rMin,
rMax);
315 histname =
"h_SimConvTwoMTracksZAndVtxPGT0005";
317 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated Z",
zBin,
zMin,
zMax);
318 histname =
"h_SimConvTwoMTracksEtAndVtxPGT0005";
320 histname,
" All vis conversions with 2 reco-matching tracks + vertex: simulated Et",
etBin,
etMin,
etMax);
322 histname =
"h_SimRecConvTwoMTracksEta";
324 histname,
" All vis conversions with 2 reco-matching tracks: simulated #eta",
etaBin2,
etaMin,
etaMax);
325 histname =
"h_SimRecConvTwoMTracksPhi";
327 histname,
" All vis conversions with 2 reco-matching tracks: simulated #phi",
phiBin,
phiMin,
phiMax);
328 histname =
"h_SimRecConvTwoMTracksR";
330 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated R",
rBin,
rMin,
rMax);
331 histname =
"h_SimRecConvTwoMTracksZ";
333 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated Z",
zBin,
zMin,
zMax);
334 histname =
"h_SimRecConvTwoMTracksEt";
336 iBooker.book1D(histname,
" All vis conversions with 2 reco-matching tracks: simulated Et",
etBin,
etMin,
etMax);
344 " Photon Sim conversion vtx position",
352 " Photon Sim conversion vtx position",
360 " Photon Sim conversion vtx position",
368 " Photon Sim conversion vtx position when reco R<4cm",
376 "simConvVtxYvsXTrkBarrel",
" Photon Sim conversion vtx position, (x,y) eta<1 ", 100, -80., 80., 100, -80., 80.);
379 iBooker.setCurrentFolder(convpath);
383 histname +
"All",
"Number Of Conversions per isolated candidates per events: All Ecal ", 10, -0.5, 9.5);
385 histname +
"Barrel",
"Number Of Conversions per isolated candidates per events: Ecal Barrel ", 10, -0.5, 9.5);
387 histname +
"Endcap",
"Number Of Conversions per isolated candidates per events: Ecal Endcap ", 10, -0.5, 9.5);
388 h_nConv_[1][0] = iBooker.book1D(histname +
"All_Ass",
389 "Number Of associated Conversions per isolated candidates per events: All Ecal ",
396 iBooker.book1D(
"convEtaMatchSC",
" converted Photon Eta when SC is matched ",
etaBin,
etaMin,
etaMax);
406 iBooker.book1D(
"convEtaMatchSCAss",
" converted Photon Eta when SC is matched ",
etaBin,
etaMin,
etaMax);
411 iBooker.book1D(
"convPtAss",
"Matched conversions Transverse Energy: all eta ",
etBin,
etMin,
etMax);
416 iBooker.book1D(
"convEtaMatchSCFake",
" converted Photon Eta when SC is matched ",
etaBin,
etaMin,
etaMax);
420 h_convPt_[2][0] = iBooker.book1D(
"convPtFake",
"Fake conversions Transverse Energy: all eta ",
etBin,
etMin,
etMax);
422 h_convRplot_ = iBooker.book1D(
"convRplot",
" converted photon R", 600, 0., 120.);
423 h_convZplot_ = iBooker.book1D(
"convZplot",
" converted photon Z", 320, -160., 160.);
425 histname =
"convSCdPhi";
426 h_convSCdPhi_[0][0] = iBooker.book1D(histname +
"All",
"dPhi between SC and conversion", 100, -0.1, 0.1);
428 iBooker.book1D(histname +
"Barrel",
" dPhi between SC and conversion: Barrel", 100, -0.1, 0.1);
430 iBooker.book1D(histname +
"Endcap",
" dPhi between SC and conversion: Endcap", 100, -0.1, 0.1);
431 h_convSCdPhi_[1][0] = iBooker.book1D(histname +
"All_Ass",
"dPhi between SC and conversion", 100, -0.1, 0.1);
433 iBooker.book1D(histname +
"Barrel_Ass",
" dPhi between SC and conversion: Barrel", 100, -0.1, 0.1);
435 iBooker.book1D(histname +
"Endcap_Ass",
" dPhi between SC and conversion: Endcap", 100, -0.1, 0.1);
436 h_convSCdPhi_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"dPhi between SC and conversion", 100, -0.1, 0.1);
438 iBooker.book1D(histname +
"Barrel_Fakes",
" dPhi between SC and conversion: Barrel", 100, -0.1, 0.1);
440 iBooker.book1D(histname +
"Endcap_Fakes",
" dPhi between SC and conversion: Endcap", 100, -0.1, 0.1);
441 histname =
"convSCdEta";
442 h_convSCdEta_[0][0] = iBooker.book1D(histname +
"All",
" dEta between SC and conversion", 100, -0.1, 0.1);
444 iBooker.book1D(histname +
"Barrel",
" dEta between SC and conversion: Barrel", 100, -0.1, 0.1);
446 iBooker.book1D(histname +
"Endcap",
" dEta between SC and conversion: Endcap", 100, -0.1, 0.1);
447 h_convSCdEta_[1][0] = iBooker.book1D(histname +
"All_Ass",
" dEta between SC and conversion", 100, -0.1, 0.1);
449 iBooker.book1D(histname +
"Barrel_Ass",
" dEta between SC and conversion: Barrel", 100, -0.1, 0.1);
451 iBooker.book1D(histname +
"Endcap_Ass",
" dEta between SC and conversion: Endcap", 100, -0.1, 0.1);
452 h_convSCdEta_[2][0] = iBooker.book1D(histname +
"All_Fakes",
" dEta between SC and conversion", 100, -0.1, 0.1);
454 iBooker.book1D(histname +
"Barrel_Fakes",
" dEta between SC and conversion: Barrel", 100, -0.1, 0.1);
456 iBooker.book1D(histname +
"Endcap_Fakes",
" dEta between SC and conversion: Endcap", 100, -0.1, 0.1);
458 histname =
"convPtRes";
463 histname =
"hInvMass";
465 histname +
"All_AllTracks",
" Photons:Tracks from conversion: Pair invariant mass: all Ecal ", 100, 0., 1.5);
466 h_invMass_[0][1] = iBooker.book1D(histname +
"Barrel_AllTracks",
467 " Photons:Tracks from conversion: Pair invariant mass: Barrel Ecal ",
471 h_invMass_[0][2] = iBooker.book1D(histname +
"Endcap_AllTracks",
472 " Photons:Tracks from conversion: Pair invariant mass: Endcap Ecal ",
478 histname +
"All_AssTracks",
" Photons:Tracks from conversion: Pair invariant mass: all Ecal ", 100, 0., 1.5);
479 h_invMass_[1][1] = iBooker.book1D(histname +
"Barrel_AssTracks",
480 " Photons:Tracks from conversion: Pair invariant mass: Barrel Ecal ",
484 h_invMass_[1][2] = iBooker.book1D(histname +
"Endcap_AssTracks",
485 " Photons:Tracks from conversion: Pair invariant mass: Endcap Ecal ",
491 histname +
"All_FakeTracks",
" Photons:Tracks from conversion: Pair invariant mass: all Ecal ", 100, 0., 1.5);
492 h_invMass_[2][1] = iBooker.book1D(histname +
"Barrel_FakeTracks",
493 " Photons:Tracks from conversion: Pair invariant mass: Barrel Ecal ",
497 h_invMass_[2][2] = iBooker.book1D(histname +
"Endcap_FaleTracks",
498 " Photons:Tracks from conversion: Pair invariant mass: Endcap Ecal ",
503 histname =
"hDPhiTracksAtVtx";
505 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: all Ecal",
510 iBooker.book1D(histname +
"Barrel",
511 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Barrel Ecal",
516 iBooker.book1D(histname +
"Endcap",
517 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Endcap Ecal",
522 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: all Ecal",
527 iBooker.book1D(histname +
"Barrel_Ass",
528 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Barrel Ecal",
533 iBooker.book1D(histname +
"Endcap_Ass",
534 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Endcap Ecal",
539 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: all Ecal",
544 iBooker.book1D(histname +
"Barrel_Fakes",
545 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Barrel Ecal",
550 iBooker.book1D(histname +
"Endcap_Fakes",
551 " Photons:Tracks from conversions: #delta#phi Tracks at vertex: Endcap Ecal",
556 histname =
"hDPhiTracksAtVtxVsEta";
558 " Photons:Tracks from conversions: #delta#phi Tracks at vertex vs #eta",
565 histname =
"pDPhiTracksAtVtxVsEta";
567 iBooker.bookProfile(histname +
"All",
568 " Photons:Tracks from conversions: #delta#phi Tracks at vertex vs #eta ",
577 histname =
"hDPhiTracksAtVtxVsR";
579 " Photons:Tracks from conversions: #delta#phi Tracks at vertex vs R",
586 histname =
"pDPhiTracksAtVtxVsR";
588 " Photons:Tracks from conversions: #delta#phi Tracks at vertex vs R ",
597 histname =
"hDCotTracks";
599 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: all Ecal ",
604 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Barrel Ecal ",
609 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Endcap Ecal ",
614 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: all Ecal ",
618 h_DCotTracks_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
619 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Barrel Ecal ",
623 h_DCotTracks_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
624 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Endcap Ecal ",
629 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: all Ecal ",
633 h_DCotTracks_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
634 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Barrel Ecal ",
638 h_DCotTracks_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
639 " Photons:Tracks from conversions #delta cotg(#Theta) Tracks: Endcap Ecal ",
644 histname =
"hDCotTracksVsEta";
646 " Photons:Tracks from conversions: #delta cotg(#Theta) Tracks vs #eta",
653 histname =
"pDCotTracksVsEta";
655 " Photons:Tracks from conversions: #delta cotg(#Theta) Tracks vs #eta ",
664 histname =
"hDCotTracksVsR";
666 " Photons:Tracks from conversions: #delta cotg(#Theta) Tracks at vertex vs R",
673 histname =
"pDCotTracksVsR";
675 iBooker.bookProfile(histname +
"All",
676 " Photons:Tracks from conversions: #delta cotg(#Theta) Tracks at vertex vs R ",
685 histname =
"hDistMinAppTracks";
687 histname +
"All",
" Photons:Tracks from conversions Min Approach Dist Tracks: all Ecal ", 120, -0.5, 1.0);
689 histname +
"Barrel",
" Photons:Tracks from conversions Min Approach Dist Tracks: Barrel Ecal ", 120, -0.5, 1.0);
691 histname +
"Endcap",
" Photons:Tracks from conversions Min Approach Dist Tracks: Endcap Ecal ", 120, -0.5, 1.0);
693 histname +
"All_Ass",
" Photons:Tracks from conversions Min Approach Dist Tracks: all Ecal ", 120, -0.5, 1.0);
695 iBooker.book1D(histname +
"Barrel_Ass",
696 " Photons:Tracks from conversions Min Approach Dist Tracks: Barrel Ecal ",
701 iBooker.book1D(histname +
"Endcap_Ass",
702 " Photons:Tracks from conversions Min Approach Dist Tracks: Endcap Ecal ",
707 histname +
"All_Fakes",
" Photons:Tracks from conversions Min Approach Dist Tracks: all Ecal ", 120, -0.5, 1.0);
709 iBooker.book1D(histname +
"Barrel_Fakes",
710 " Photons:Tracks from conversions Min Approach Dist Tracks: Barrel Ecal ",
715 iBooker.book1D(histname +
"Endcap_Fakes",
716 " Photons:Tracks from conversions Min Approach Dist Tracks: Endcap Ecal ",
722 " Photon Reco conversion vtx position",
730 " Photon Reco conversion vtx position",
738 " Photon Reco conversion vtx position",
746 "convVtxYvsXTrkBarrel",
" Photon Reco conversion vtx position, (x,y) eta<1 ", 1000, -60., 60., 1000, -60., 60.);
749 " Photon Reco conversion vtx position",
757 " Photon Reco conversion vtx position",
765 " Photon Reco conversion vtx position, (x,y) eta<1 ",
773 " Photon Reco conversion vtx position, (x,y) eta<1 ",
781 h_convVtxdR_ = iBooker.book1D(
"convVtxdR",
" Photon Reco conversion vtx dR", 100, -10., 10.);
782 h_convVtxdX_ = iBooker.book1D(
"convVtxdX",
" Photon Reco conversion vtx dX", 100, -10., 10.);
783 h_convVtxdY_ = iBooker.book1D(
"convVtxdY",
" Photon Reco conversion vtx dY", 100, -10., 10.);
784 h_convVtxdZ_ = iBooker.book1D(
"convVtxdZ",
" Photon Reco conversion vtx dZ", 100, -20., 20.);
786 h_convVtxdPhi_ = iBooker.book1D(
"convVtxdPhi",
" Photon Reco conversion vtx dPhi", 100, -0.01, 0.01);
787 h_convVtxdEta_ = iBooker.book1D(
"convVtxdEta",
" Photon Reco conversion vtx dEta", 100, -0.5, 0.5);
790 iBooker.book1D(
"convVtxdR_barrel",
" Photon Reco conversion vtx dR, |eta|<=1.2", 100, -10., 10.);
792 iBooker.book1D(
"convVtxdX_barrel",
" Photon Reco conversion vtx dX, |eta|<=1.2", 100, -10., 10.);
794 iBooker.book1D(
"convVtxdY_barrel",
" Photon Reco conversion vtx dY, |eta|<=1.2 ", 100, -10., 10.);
796 iBooker.book1D(
"convVtxdZ_barrel",
" Photon Reco conversion vtx dZ, |eta|<=1.2,", 100, -20., 20.);
799 iBooker.book1D(
"convVtxdR_endcap",
" Photon Reco conversion vtx dR, |eta|>1.2 ", 100, -10., 10.);
801 iBooker.book1D(
"convVtxdX_endcap",
" Photon Reco conversion vtx dX, |eta|>1.2", 100, -10., 10.);
803 iBooker.book1D(
"convVtxdY_endcap",
" Photon Reco conversion vtx dY, |eta|>1.2", 100, -10., 10.);
805 iBooker.book1D(
"convVtxdZ_endcap",
" Photon Reco conversion vtx dZ, |eta|>1.2", 100, -20., 20.);
809 iBooker.book2D(
"h2ConvVtxdRVsEta",
"Conversion vtx dR vs Eta",
etaBin2,
etaMin,
etaMax, 100, -20., 20.);
812 iBooker.bookProfile(
"pConvVtxdRVsR",
" Conversion vtx dR vsR",
rBin,
rMin,
rMax, 100, -20., 20.,
"");
814 iBooker.bookProfile(
"pConvVtxdRVsEta",
"Conversion vtx dR vs Eta",
etaBin2,
etaMin,
etaMax, 100, -20., 20.,
"");
815 p_convVtxdXVsX_ = iBooker.bookProfile(
"pConvVtxdXVsX",
"Conversion vtx dX vs X", 120, -60, 60, 100, -20., 20.,
"");
816 p_convVtxdYVsY_ = iBooker.bookProfile(
"pConvVtxdYVsY",
"Conversion vtx dY vs Y", 120, -60, 60, 100, -20., 20.,
"");
818 iBooker.bookProfile(
"pConvVtxdZVsZ",
"Conversion vtx dZ vs Z",
zBin,
zMin,
zMax, 100, -20., 20.,
"");
821 iBooker.bookProfile(
"pConvVtxdZVsR",
"Conversion vtx dZ vs R",
rBin,
rMin,
rMax, 100, -20., 20.,
"");
823 "p2ConvVtxdRVsRZ",
"Conversion vtx dR vs RZ",
zBin,
zMin,
zMax,
rBin,
rMin,
rMax, 100, 0., 20.,
"s");
825 "p2ConvVtxdZVsRZ",
"Conversion vtx dZ vs RZ",
zBin,
zMin,
zMax,
rBin,
rMin,
rMax, 100, 0., 20.,
"s");
827 histname =
"EoverPtracks";
850 histname =
"vtxChi2Prob";
851 h_vtxChi2Prob_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 100, 0., 1.);
852 h_vtxChi2Prob_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 100, 0., 1.);
853 h_vtxChi2Prob_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 100, 0., 1.);
854 h_vtxChi2Prob_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 100, 0., 1.);
855 h_vtxChi2Prob_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 100, 0., 1.);
856 h_vtxChi2Prob_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 100, 0., 1.);
857 h_vtxChi2Prob_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 100, 0., 1.);
858 h_vtxChi2Prob_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 100, 0., 1.);
859 h_vtxChi2Prob_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 100, 0., 1.);
861 h_zPVFromTracks_[1] = iBooker.book1D(
"zPVFromTracks",
" Photons: PV z from conversion tracks", 100, -25., 25.);
863 iBooker.book1D(
"dzPVFromTracks",
" Photons: PV Z_rec - Z_true from conversion tracks", 100, -5., 5.);
864 h2_dzPVVsR_ = iBooker.book2D(
"h2dzPVVsR",
"Photon Reco conversions: dz(PV) vs R",
rBin,
rMin,
rMax, 100, -3., 3.);
866 iBooker.bookProfile(
"pdzPVVsR",
"Photon Reco conversions: dz(PV) vs R",
rBin,
rMin,
rMax, 100, -3., 3.,
"");
869 h_lxybs_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 200, -100., 100.);
870 h_lxybs_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 200, -100., 100.);
871 h_lxybs_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 200, -100., 100.);
872 h_lxybs_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 200, -100., 100.);
873 h_lxybs_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 200, -100., 100.);
874 h_lxybs_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 200, -100., 100.);
875 h_lxybs_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 200, -100., 100.);
876 h_lxybs_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 200, -100., 100.);
877 h_lxybs_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 200, -100., 100.);
879 histname =
"maxNHitsBeforeVtx";
880 h_maxNHitsBeforeVtx_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 16, -0.5, 15.5);
881 h_maxNHitsBeforeVtx_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
882 h_maxNHitsBeforeVtx_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
883 h_maxNHitsBeforeVtx_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 16, -0.5, 15.5);
884 h_maxNHitsBeforeVtx_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
885 h_maxNHitsBeforeVtx_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
886 h_maxNHitsBeforeVtx_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 16, -0.5, 15.5);
887 h_maxNHitsBeforeVtx_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
888 h_maxNHitsBeforeVtx_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
890 histname =
"leadNHitsBeforeVtx";
891 h_leadNHitsBeforeVtx_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 16, -0.5, 15.5);
892 h_leadNHitsBeforeVtx_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
893 h_leadNHitsBeforeVtx_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
894 h_leadNHitsBeforeVtx_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 16, -0.5, 15.5);
895 h_leadNHitsBeforeVtx_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
896 h_leadNHitsBeforeVtx_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
897 h_leadNHitsBeforeVtx_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 16, -0.5, 15.5);
898 h_leadNHitsBeforeVtx_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
899 h_leadNHitsBeforeVtx_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
901 histname =
"trailNHitsBeforeVtx";
903 h_trailNHitsBeforeVtx_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
904 h_trailNHitsBeforeVtx_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
905 h_trailNHitsBeforeVtx_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 16, -0.5, 15.5);
906 h_trailNHitsBeforeVtx_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
907 h_trailNHitsBeforeVtx_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
908 h_trailNHitsBeforeVtx_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 16, -0.5, 15.5);
909 h_trailNHitsBeforeVtx_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
910 h_trailNHitsBeforeVtx_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
912 histname =
"sumNHitsBeforeVtx";
913 h_sumNHitsBeforeVtx_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 16, -0.5, 15.5);
914 h_sumNHitsBeforeVtx_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
915 h_sumNHitsBeforeVtx_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
916 h_sumNHitsBeforeVtx_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 16, -0.5, 15.5);
917 h_sumNHitsBeforeVtx_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
918 h_sumNHitsBeforeVtx_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
919 h_sumNHitsBeforeVtx_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 16, -0.5, 15.5);
920 h_sumNHitsBeforeVtx_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
921 h_sumNHitsBeforeVtx_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
923 histname =
"maxDlClosestHitToVtx";
928 h_maxDlClosestHitToVtx_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 100, -10., 10.);
929 h_maxDlClosestHitToVtx_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 100, -10., 10.);
931 h_maxDlClosestHitToVtx_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 100, -10., 10.);
932 h_maxDlClosestHitToVtx_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 100, -10., 10.);
934 histname =
"maxDlClosestHitToVtxSig";
943 iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 100, -8., 8.);
945 iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 100, -8., 8.);
947 histname =
"deltaExpectedHitsInner";
953 iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 31, -15.5, 15.5);
955 iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 31, -15.5, 15.5);
958 iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 31, -15.5, 15.5);
960 iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 31, -15.5, 15.5);
962 histname =
"leadExpectedHitsInner";
971 iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
973 iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
975 histname =
"nSharedHits";
976 h_nSharedHits_[0][0] = iBooker.book1D(histname +
"All",
"vertex #chi^{2} all", 16, -0.5, 15.5);
977 h_nSharedHits_[0][1] = iBooker.book1D(histname +
"Barrel",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
978 h_nSharedHits_[0][2] = iBooker.book1D(histname +
"Endcap",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
979 h_nSharedHits_[1][0] = iBooker.book1D(histname +
"All_Ass",
"vertex #chi^{2} all", 16, -0.5, 15.5);
980 h_nSharedHits_[1][1] = iBooker.book1D(histname +
"Barrel_Ass",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
981 h_nSharedHits_[1][2] = iBooker.book1D(histname +
"Endcap_Ass",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
982 h_nSharedHits_[2][0] = iBooker.book1D(histname +
"All_Fakes",
"vertex #chi^{2} all", 16, -0.5, 15.5);
983 h_nSharedHits_[2][1] = iBooker.book1D(histname +
"Barrel_Fakes",
"vertex #chi^{2} barrel", 16, -0.5, 15.5);
984 h_nSharedHits_[2][2] = iBooker.book1D(histname +
"Endcap_Fakes",
"vertex #chi^{2} endcap", 16, -0.5, 15.5);
988 nHits_[0] = iBooker.book2D(histname +
"AllTracks",
989 "Photons:Tracks from conversions: # of hits all tracks",
996 nHits_[1] = iBooker.book2D(histname +
"AllTracks_Ass",
997 "Photons:Tracks from conversions: # of hits all tracks ass",
1004 nHits_[2] = iBooker.book2D(histname +
"AllTracks_Fakes",
1005 "Photons:Tracks from conversions: # of hits all tracks fakes",
1013 histname =
"nHitsVsEta";
1014 nHitsVsEta_[0] = iBooker.book2D(histname +
"AllTracks",
1015 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1022 nHitsVsEta_[1] = iBooker.book2D(histname +
"AllTracks_Ass",
1023 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1030 nHitsVsEta_[2] = iBooker.book2D(histname +
"AllTracks_Fakes",
1031 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1038 histname =
"h_nHitsVsEta";
1039 p_nHitsVsEta_[0] = iBooker.bookProfile(histname +
"AllTracks",
1040 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1048 p_nHitsVsEta_[1] = iBooker.bookProfile(histname +
"AllTracks_Ass",
1049 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1057 p_nHitsVsEta_[2] = iBooker.bookProfile(histname +
"AllTracks_Fakes",
1058 "Photons:Tracks from conversions: # of hits vs #eta all tracks",
1067 histname =
"nHitsVsR";
1068 nHitsVsR_[0] = iBooker.book2D(histname +
"AllTracks",
1069 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1076 nHitsVsR_[1] = iBooker.book2D(histname +
"AllTracks_Ass",
1077 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1084 nHitsVsR_[2] = iBooker.book2D(histname +
"AllTracks_Fakes",
1085 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1093 histname =
"h_nHitsVsR";
1094 p_nHitsVsR_[0] = iBooker.bookProfile(histname +
"AllTracks",
1095 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1103 p_nHitsVsR_[1] = iBooker.bookProfile(histname +
"AllTracks_Ass",
1104 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1112 p_nHitsVsR_[2] = iBooker.bookProfile(histname +
"AllTracks_Fakes",
1113 "Photons:Tracks from conversions: # of hits vs radius all tracks",
1122 histname =
"tkChi2";
1124 histname +
"AllTracks",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 100,
chi2Min,
chi2Max);
1126 histname +
"AllTracks_Ass",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 100,
chi2Min,
chi2Max);
1128 histname +
"AllTracks_Fakes",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 100,
chi2Min,
chi2Max);
1130 histname =
"tkChi2Large";
1132 histname +
"AllTracks",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 1000, 0., 5000.0);
1134 histname +
"AllTracks_Ass",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 1000, 0., 5000.0);
1136 histname +
"AllTracks_Fakes",
"Photons:Tracks from conversions: #chi^{2} of all tracks", 1000, 0., 5000.0);
1138 histname =
"h2Chi2VsEta";
1145 histname =
"pChi2VsEta";
1150 p_Chi2VsEta_[2] = iBooker.bookProfile(histname +
"All_Fakes",
1151 " Reco Track #chi^{2} vs #eta : All ",
1160 histname =
"h2Chi2VsR";
1167 histname =
"pChi2VsR";
1176 h_TkD0_[0] = iBooker.book1D(histname +
"All",
" Reco Track D0*q: All ", 200, -0.1, 60);
1177 h_TkD0_[1] = iBooker.book1D(histname +
"All_Ass",
" Reco Track D0*q: Barrel ", 200, -0.1, 60);
1178 h_TkD0_[2] = iBooker.book1D(histname +
"All_Fakes",
" Reco Track D0*q: Endcap ", 200, -0.1, 60);
1180 histname =
"hTkPtPull";
1181 h_TkPtPull_[0] = iBooker.book1D(histname +
"All",
" Reco Track Pt pull: All ", 100, -20., 10.);
1182 histname =
"hTkPtPull";
1183 h_TkPtPull_[1] = iBooker.book1D(histname +
"Barrel",
" Reco Track Pt pull: Barrel ", 100, -20., 10.);
1184 histname =
"hTkPtPull";
1185 h_TkPtPull_[2] = iBooker.book1D(histname +
"Endcap",
" Reco Track Pt pull: Endcap ", 100, -20., 10.);
1187 histname =
"h2TkPtPullEta";
1189 iBooker.book2D(histname +
"All",
" Reco Track Pt pull: All ",
etaBin2,
etaMin,
etaMax, 100, -20., 10.);
1190 histname =
"pTkPtPullEta";
1192 histname +
"All",
" Reco Track Pt pull: All ",
etaBin2,
etaMin,
etaMax, 100, -20., 10.,
" ");
1194 histname =
"PtRecVsPtSim";
1202 histname =
"photonPtRecVsPtSim";
1206 histname =
"nHitsBeforeVtx";
1207 h_nHitsBeforeVtx_[0] = iBooker.book1D(histname +
"All",
"Pt Rec vs Pt sim: All ", 16, -0.5, 15.5);
1208 h_nHitsBeforeVtx_[1] = iBooker.book1D(histname +
"Barrel",
"Pt Rec vs Pt sim: Barrel ", 16, -0.5, 15.5);
1209 h_nHitsBeforeVtx_[2] = iBooker.book1D(histname +
"Endcap",
"Pt Rec vs Pt sim: Endcap ", 16, -0.5, 15.5);
1211 histname =
"dlClosestHitToVtx";
1212 h_dlClosestHitToVtx_[0] = iBooker.book1D(histname +
"All",
"Pt Rec vs Pt sim: All ", 100, -10., 10.);
1213 h_dlClosestHitToVtx_[1] = iBooker.book1D(histname +
"Barrel",
"Pt Rec vs Pt sim: Barrel ", 100, -10., 10.);
1214 h_dlClosestHitToVtx_[2] = iBooker.book1D(histname +
"Endcap",
"Pt Rec vs Pt sim: Endcap ", 100, -10., 10.);
1216 histname =
"dlClosestHitToVtxSig";
1221 h_match_ = iBooker.book1D(
"h_match",
" ", 3, -0.5, 2.5);