15 addStdHist<OffEle, float>(
16 histVec, baseName +
"_energy", baseName +
" reco CaloEnergy;reco CaloEnergy (GeV)",
bins.energy, &
OffEle::energy);
17 addStdHist<OffEle, float>(histVec, baseName +
"_et", baseName +
" E_{T};E_{T} (GeV)",
bins.et, &
OffEle::et);
18 addStdHist<OffEle, float>(histVec, baseName +
"_etHigh", baseName +
" E_{T};E_{T} (GeV)",
bins.etHigh, &
OffEle::et);
19 addStdHist<OffEle, float>(
20 histVec, baseName +
"_etSC", baseName +
" E^{SC}_{T};E^{SC}_{T} (GeV)",
bins.et, &
OffEle::etSC);
21 addStdHist<OffEle, float>(histVec, baseName +
"_eta", baseName +
" #eta;#eta",
bins.eta, &
OffEle::detEta);
22 addStdHist<OffEle, float>(histVec, baseName +
"_phi", baseName +
" #phi;#phi (rad)",
bins.phi, &
OffEle::phi);
25 addStdHist<OffEle, float>(histVec, baseName +
"_hOverE", baseName +
" H/E; H/E",
bins.hOverE, &
OffEle::hOverE);
27 addStdHist<OffEle, float>(histVec, baseName +
"_maxr9", baseName +
" MAXR9 ; MAXR9",
bins.maxr9, &
OffEle::r9);
28 addStdHist<OffEle, float>(
29 histVec, baseName +
"_HLTenergy", baseName +
" HLT Energy;HLT Energy (GeV)",
bins.HLTenergy, &
OffEle::hltEnergy);
30 addStdHist<OffEle, float>(
31 histVec, baseName +
"_HLTeta", baseName +
" HLT #eta;HLT #eta",
bins.HLTeta, &
OffEle::hltEta);
32 addStdHist<OffEle, float>(
33 histVec, baseName +
"_HLTphi", baseName +
" HLT #phi;HLT #phi (rad)",
bins.HLTphi, &
OffEle::hltPhi);
35 addStdHist<OffEle, float>(
36 histVec, baseName +
"_dPhiIn", baseName +
" #Delta #phi_{in}; #Delta #phi_{in}",
bins.dPhiIn, &
OffEle::dPhiIn);
37 addStdHist<OffEle, float>(
38 histVec, baseName +
"_dEtaIn", baseName +
" #Delta #eta_{in}; #Delta #eta_{in}",
bins.dEtaIn, &
OffEle::dEtaIn);
39 addStdHist<OffEle, float>(histVec,
40 baseName +
"_sigmaIEtaIEta",
41 baseName +
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",
44 addStdHist<OffEle, float>(histVec, baseName +
"_epIn", baseName +
"E/p_{in}; E/p_{in}",
bins.eOverP, &
OffEle::epIn);
45 addStdHist<OffEle, float>(
46 histVec, baseName +
"_epOut", baseName +
"E/p_{out}; E/p_{out}",
bins.eOverP, &
OffEle::epOut);
47 addStdHist<OffEle, float>(
48 histVec, baseName +
"_invEInvP", baseName +
"1/E -1/p; 1/E - 1/p",
bins.invEInvP, &
OffEle::invEInvP);
50 addStdHist<OffEle, float>(histVec,
51 baseName +
"_e2x5Over5x5",
52 baseName +
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",
55 addStdHist<OffEle, float>(histVec,
56 baseName +
"_e1x5Over5x5",
57 baseName +
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",
63 addStdHist<OffEle, float>(histVec,
64 baseName +
"_hltIsolTrksEle",
65 baseName +
"HLT Ele Isol Trks; HLT Ele Iso Tracks (GeV/c)",
69 addStdHist<OffEle, float>(histVec,
70 baseName +
"_hltIsolHad",
71 baseName +
"HLT Isol Had; HLT Isol Had (GeV)",
74 addStdHist<OffEle, float>(
75 histVec, baseName +
"_hltIsolEm", baseName +
"HLT Isol Em; HLT Isol Em (GeV)",
bins.isolEm, &
OffEle::hltIsolEm);
76 addStdHist<OffEle, float>(histVec,
78 baseName +
"HLT Energy - reco SC Energy;HLT Energy - reco SC Energy (GeV)",
83 baseName +
"_etaVsPhi",
84 baseName +
" #eta vs #phi;#eta;#phi (rad)",
95 baseName +
"_HLTetaVsHLTphi",
96 baseName +
" HLT #eta vs HLT #phi;HLT #eta;HLT #phi (rad)",
111 addStdHist<OffPho, float>(
112 histVec, baseName +
"_energy", baseName +
" reco Energy;reco Energy (GeV)",
bins.energy, &
OffPho::energy);
113 addStdHist<OffPho, float>(histVec, baseName +
"_et", baseName +
" E_{T};E_{T} (GeV)",
bins.et, &
OffPho::et);
114 addStdHist<OffPho, float>(histVec, baseName +
"_etHigh", baseName +
" E_{T};E_{T} (GeV)",
bins.etHigh, &
OffPho::et);
115 addStdHist<OffPho, float>(
116 histVec, baseName +
"_etSC", baseName +
" E^{SC}_{T};E^{SC}_{T} (GeV)",
bins.et, &
OffPho::etSC);
117 addStdHist<OffPho, float>(histVec, baseName +
"_eta", baseName +
" #eta;#eta",
bins.eta, &
OffPho::detEta);
118 addStdHist<OffPho, float>(histVec, baseName +
"_phi", baseName +
" #phi;#phi (rad)",
bins.phi, &
OffPho::phi);
120 addStdHist<OffPho, float>(histVec, baseName +
"_hOverE", baseName +
" H/E; H/E",
bins.hOverE, &
OffPho::hOverE);
124 addStdHist<OffPho, float>(histVec, baseName +
"_maxr9", baseName +
" MAXR9 ; MAXR9",
bins.maxr9, &
OffPho::r9);
125 addStdHist<OffPho, float>(
126 histVec, baseName +
"_HLTenergy", baseName +
" HLT Energy;HLT Energy (GeV)",
bins.HLTenergy, &
OffPho::hltEnergy);
127 addStdHist<OffPho, float>(
128 histVec, baseName +
"_HLTeta", baseName +
" HLT #eta;HLT #eta",
bins.HLTeta, &
OffPho::hltEta);
129 addStdHist<OffPho, float>(
130 histVec, baseName +
"_HLTphi", baseName +
" HLT #phi;HLT #phi (rad)",
bins.HLTphi, &
OffPho::hltPhi);
132 addStdHist<OffPho, float>(histVec,
133 baseName +
"_sigmaIEtaIEta",
134 baseName +
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",
137 addStdHist<OffPho, float>(histVec,
138 baseName +
"_e2x5Over5x5",
139 baseName +
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",
142 addStdHist<OffPho, float>(histVec,
143 baseName +
"_e1x5Over5x5",
144 baseName +
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",
147 addStdHist<OffPho, float>(
148 histVec, baseName +
"_isolEM", baseName +
"Isol EM; Isol EM (GeV)",
bins.isolEm, &
OffPho::isolEm);
149 addStdHist<OffPho, float>(
150 histVec, baseName +
"_isolHad", baseName +
"Isol Had; Isol Had (GeV)",
bins.isolHad, &
OffPho::isolHad);
151 addStdHist<OffPho, float>(histVec,
152 baseName +
"_isolPtTrks",
153 baseName +
"Isol Pt Trks; Isol Pt Tracks (GeV/c)",
156 addStdHist<OffPho, int>(histVec,
157 baseName +
"_isolNrTrks",
158 baseName +
"Isol Nr Trks; Isol Nr Tracks",
163 addStdHist<OffPho, float>(histVec,
164 baseName +
"_DeltaE",
165 baseName +
"HLT Energy - reco SC Energy;HLT Energy - reco SC Energy (GeV)",
170 baseName +
"_etaVsPhi",
171 baseName +
" #eta vs #phi;#eta;#phi (rad)",
182 baseName +
"_HLTetaVsHLTphi",
183 baseName +
" HLT #eta vs HLT #phi;HLT #eta;HLT #phi (rad)",
198 addStdHistHEP<OffEle, float>(
199 histVec, baseName +
"_energy", baseName +
" reco CaloEnergy;reco CaloEnergy (GeV)",
bins.energy, &
OffEle::energy);
200 addStdHistHEP<OffEle, float>(histVec, baseName +
"_et", baseName +
" E_{T};E_{T} (GeV)",
bins.et, &
OffEle::et);
201 addStdHistHEP<OffEle, float>(
202 histVec, baseName +
"_etHigh", baseName +
" E_{T};E_{T} (GeV)",
bins.etHigh, &
OffEle::et);
203 addStdHistHEP<OffEle, float>(
204 histVec, baseName +
"_etSC", baseName +
" E^{SC}_{T};E^{SC}_{T} (GeV)",
bins.et, &
OffEle::etSC);
205 addStdHistHEP<OffEle, float>(histVec, baseName +
"_eta", baseName +
" #eta;#eta",
bins.eta, &
OffEle::detEta);
206 addStdHistHEP<OffEle, float>(histVec, baseName +
"_phi", baseName +
" #phi;#phi (rad)",
bins.phi, &
OffEle::phi);
209 addStdHistHEP<OffEle, float>(histVec, baseName +
"_hOverE", baseName +
" H/E; H/E",
bins.hOverE, &
OffEle::hOverE);
211 addStdHistHEP<OffEle, float>(histVec, baseName +
"_maxr9", baseName +
" MAXR9 ; MAXR9",
bins.maxr9, &
OffEle::r9);
212 addStdHistHEP<OffEle, float>(
213 histVec, baseName +
"_HLTenergy", baseName +
" HLT Energy;HLT Energy (GeV)",
bins.HLTenergy, &
OffEle::hltEnergy);
214 addStdHistHEP<OffEle, float>(
215 histVec, baseName +
"_HLTeta", baseName +
" HLT #eta;HLT #eta",
bins.HLTeta, &
OffEle::hltEta);
216 addStdHistHEP<OffEle, float>(
217 histVec, baseName +
"_HLTphi", baseName +
" HLT #phi;HLT #phi (rad)",
bins.HLTphi, &
OffEle::hltPhi);
219 addStdHistHEP<OffEle, float>(
220 histVec, baseName +
"_dPhiIn", baseName +
" #Delta #phi_{in}; #Delta #phi_{in}",
bins.dPhiIn, &
OffEle::dPhiIn);
221 addStdHistHEP<OffEle, float>(
222 histVec, baseName +
"_dEtaIn", baseName +
" #Delta #eta_{in}; #Delta #eta_{in}",
bins.dEtaIn, &
OffEle::dEtaIn);
223 addStdHistHEP<OffEle, float>(histVec,
224 baseName +
"_sigmaIEtaIEta",
225 baseName +
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",
228 addStdHistHEP<OffEle, float>(
229 histVec, baseName +
"_epIn", baseName +
"E/p_{in}; E/p_{in}",
bins.eOverP, &
OffEle::epIn);
230 addStdHistHEP<OffEle, float>(
231 histVec, baseName +
"_epOut", baseName +
"E/p_{out}; E/p_{out}",
bins.eOverP, &
OffEle::epOut);
232 addStdHistHEP<OffEle, float>(
233 histVec, baseName +
"_invEInvP", baseName +
"1/E -1/p; 1/E - 1/p",
bins.invEInvP, &
OffEle::invEInvP);
235 addStdHistHEP<OffEle, float>(histVec,
236 baseName +
"_e2x5Over5x5",
237 baseName +
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",
240 addStdHistHEP<OffEle, float>(histVec,
241 baseName +
"_e1x5Over5x5",
242 baseName +
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",
248 addStdHistHEP<OffEle, float>(histVec,
249 baseName +
"_hltIsolTrksEle",
250 baseName +
"HLT Ele Isol Trks; HLT Ele Iso Tracks (GeV/c)",
254 addStdHistHEP<OffEle, float>(histVec,
255 baseName +
"_hltIsolHad",
256 baseName +
"HLT Isol Had; HLT Isol Had (GeV)",
259 addStdHistHEP<OffEle, float>(
260 histVec, baseName +
"_hltIsolEm", baseName +
"HLT Isol Em; HLT Isol Em (GeV)",
bins.isolEm, &
OffEle::hltIsolEm);
261 addStdHistHEP<OffEle, float>(histVec,
262 baseName +
"_DeltaE",
263 baseName +
"HLT Energy - reco SC Energy;HLT Energy - reco SC Energy (GeV)",
284 addStdHistHEP<OffPho, float>(
285 histVec, baseName +
"_energy", baseName +
" reco Energy;reco Energy (GeV)",
bins.energy, &
OffPho::energy);
286 addStdHistHEP<OffPho, float>(histVec, baseName +
"_et", baseName +
" E_{T};E_{T} (GeV)",
bins.et, &
OffPho::et);
287 addStdHistHEP<OffPho, float>(
288 histVec, baseName +
"_etHigh", baseName +
" E_{T};E_{T} (GeV)",
bins.etHigh, &
OffPho::et);
289 addStdHistHEP<OffPho, float>(
290 histVec, baseName +
"_etSC", baseName +
" E^{SC}_{T};E^{SC}_{T} (GeV)",
bins.et, &
OffPho::etSC);
291 addStdHistHEP<OffPho, float>(histVec, baseName +
"_eta", baseName +
" #eta;#eta",
bins.eta, &
OffPho::detEta);
292 addStdHistHEP<OffPho, float>(histVec, baseName +
"_phi", baseName +
" #phi;#phi (rad)",
bins.phi, &
OffPho::phi);
294 addStdHistHEP<OffPho, float>(histVec, baseName +
"_hOverE", baseName +
" H/E; H/E",
bins.hOverE, &
OffPho::hOverE);
298 addStdHistHEP<OffPho, float>(histVec, baseName +
"_maxr9", baseName +
" MAXR9 ; MAXR9",
bins.maxr9, &
OffPho::r9);
299 addStdHistHEP<OffPho, float>(
300 histVec, baseName +
"_HLTenergy", baseName +
" HLT Energy;HLT Energy (GeV)",
bins.HLTenergy, &
OffPho::hltEnergy);
301 addStdHistHEP<OffPho, float>(
302 histVec, baseName +
"_HLTeta", baseName +
" HLT #eta;HLT #eta",
bins.HLTeta, &
OffPho::hltEta);
303 addStdHistHEP<OffPho, float>(
304 histVec, baseName +
"_HLTphi", baseName +
" HLT #phi;HLT #phi (rad)",
bins.HLTphi, &
OffPho::hltPhi);
306 addStdHistHEP<OffPho, float>(histVec,
307 baseName +
"_sigmaIEtaIEta",
308 baseName +
"#sigma_{i#etai#eta}; #sigma_{i#etai#eta}",
311 addStdHistHEP<OffPho, float>(histVec,
312 baseName +
"_e2x5Over5x5",
313 baseName +
"E^{2x5}/E^{5x5}; E^{2x5}/E^{5x5}",
316 addStdHistHEP<OffPho, float>(histVec,
317 baseName +
"_e1x5Over5x5",
318 baseName +
"E^{1x5}/E^{5x5}; E^{1x5}/E^{5x5}",
321 addStdHistHEP<OffPho, float>(
322 histVec, baseName +
"_isolEM", baseName +
"Isol EM; Isol EM (GeV)",
bins.isolEm, &
OffPho::isolEm);
323 addStdHistHEP<OffPho, float>(
324 histVec, baseName +
"_isolHad", baseName +
"Isol Had; Isol Had (GeV)",
bins.isolHad, &
OffPho::isolHad);
325 addStdHistHEP<OffPho, float>(histVec,
326 baseName +
"_isolPtTrks",
327 baseName +
"Isol Pt Trks; Isol Pt Tracks (GeV/c)",
330 addStdHistHEP<OffPho, int>(histVec,
331 baseName +
"_isolNrTrks",
332 baseName +
"Isol Nr Trks; Isol Nr Tracks",
337 addStdHistHEP<OffPho, float>(histVec,
338 baseName +
"_DeltaE",
339 baseName +
"HLT Energy - reco SC Energy;HLT Energy - reco SC Energy (GeV)",
360 float (
OffEle::*vsVarFunc)()
const,
369 float (
OffPho::*vsVarFunc)()
const,
380 float (
OffEle::*vsVarFunc)()
const,
385 int stdCutCode = masks.
stdEle;
389 new MonElemFloat(
iBooker, baseName +
"_noCuts", baseName +
" NoCuts", nrBins,
xMin,
xMax, vsVarFunc));
390 histVec.push_back(
new MonElemFloat(
iBooker,
391 baseName +
"_allCuts",
392 baseName +
" All Cuts",
400 histVec.push_back(
new MonElemFloat(
iBooker,
401 baseName +
"_n1_dEtaIn",
402 baseName +
" N1 #Delta#eta_{in}",
408 histVec.push_back(
new MonElemFloat(
iBooker,
409 baseName +
"_n1_dPhiIn",
410 baseName +
" N1 #Delta#phi_{in}",
416 histVec.push_back(
new MonElemFloat(
iBooker,
417 baseName +
"_n1_sigmaIEtaIEta",
418 baseName +
" N1 #sigma_{i#etai#eta}",
424 histVec.push_back(
new MonElemFloat(
iBooker,
425 baseName +
"_n1_hOverE",
426 baseName +
" N1 H/E",
438 histVec.push_back(
new MonElemFloat(
iBooker,
439 baseName +
"_n1_hltIsolEm",
440 baseName +
" N1 HLT Isol Em",
446 histVec.push_back(
new MonElemFloat(
iBooker,
447 baseName +
"_n1_hltIsolHad",
448 baseName +
" N1 HLT Isol Had",
454 histVec.push_back(
new MonElemFloat(
iBooker,
455 baseName +
"_n1_hltIsolTrksEle",
456 baseName +
" N1 HLT Isol Tracks Ele ",
462 histVec.push_back(
new MonElemFloat(
iBooker,
463 baseName +
"_single_dEtaIn",
464 baseName +
" Single #Delta#eta_{in}",
470 histVec.push_back(
new MonElemFloat(
iBooker,
471 baseName +
"_single_dPhiIn",
472 baseName +
" Single #Delta#phi_{in}",
478 histVec.push_back(
new MonElemFloat(
iBooker,
479 baseName +
"_single_sigmaIEtaIEta",
480 baseName +
" Single #sigma_{i#etai#eta}",
486 histVec.push_back(
new MonElemFloat(
iBooker,
487 baseName +
"_single_hOverE",
488 baseName +
" Single H/E",
500 histVec.push_back(
new MonElemFloat(
iBooker,
501 baseName +
"_single_hltIsolEm",
502 baseName +
" Single HLT Isol Em",
508 histVec.push_back(
new MonElemFloat(
iBooker,
509 baseName +
"_single_hltIsolHad",
510 baseName +
" Single HLT Isol Had",
516 histVec.push_back(
new MonElemFloat(
iBooker,
517 baseName +
"_single_hltIsolTrksEle",
518 baseName +
" Single HLT Isol Tracks Ele ",
534 float (
OffPho::*vsVarFunc)()
const,
539 int stdCutCode = masks.
stdPho;
542 new MonElemFloat(
iBooker, baseName +
"_noCuts", baseName +
" NoCuts", nrBins,
xMin,
xMax, vsVarFunc));
543 histVec.push_back(
new MonElemFloat(
iBooker,
544 baseName +
"_allCuts",
545 baseName +
" All Cuts",
552 histVec.push_back(
new MonElemFloat(
iBooker,
553 baseName +
"_n1_sigmaIEtaIEta",
554 baseName +
" N1 #sigma_{i#etai#eta}",
561 histVec.push_back(
new MonElemFloat(
iBooker,
562 baseName +
"_n1_hOverE",
563 baseName +
" N1 H/E",
574 histVec.push_back(
new MonElemFloat(
iBooker,
575 baseName +
"_n1_isolEm",
576 baseName +
" N1 Isol Em",
582 histVec.push_back(
new MonElemFloat(
iBooker,
583 baseName +
"_n1_isolHad",
584 baseName +
" N1 Isol Had",
590 histVec.push_back(
new MonElemFloat(
iBooker,
591 baseName +
"_n1_isolPtTrks",
592 baseName +
" N1 Pt Isol Tracks",
598 histVec.push_back(
new MonElemFloat(
iBooker,
599 baseName +
"_n1_isolNrTrks",
600 baseName +
" N1 Nr Isol Tracks",
607 histVec.push_back(
new MonElemFloat(
iBooker,
608 baseName +
"_single_hOverE",
609 baseName +
" Single H/E",
615 histVec.push_back(
new MonElemFloat(
iBooker,
616 baseName +
"_single_sigmaIEtaIEta",
617 baseName +
" Single #sigma_{i#etai#eta}",
623 histVec.push_back(
new MonElemFloat(
iBooker,
624 baseName +
"_single_isolEm",
625 baseName +
" Single Isol Em",
631 histVec.push_back(
new MonElemFloat(
iBooker,
632 baseName +
"_single_isolHad",
633 baseName +
" Single Isol Had",
639 histVec.push_back(
new MonElemFloat(
iBooker,
640 baseName +
"_single_isolPtTrks",
641 baseName +
" Single Pt Isol Tracks",
662 baseName +
" E_{T};E_{T} (GeV)",
670 baseName +
" #eta;#eta",
675 cut ?
cut->clone() :
nullptr));
678 baseName +
" #phi;#phi (rad)",
683 cut ?
cut->clone() :
nullptr));
685 baseName +
"_nVertex",
686 baseName +
" nVertex;nVertex",
691 cut ?
cut->clone() :
nullptr));
705 baseName +
" E_{T};E_{T} (GeV)",
713 baseName +
" #eta;#eta",
718 cut ?
cut->clone() :
nullptr));
721 baseName +
" #phi;#phi (rad)",
726 cut ?
cut->clone() :
nullptr));
735 const std::vector<std::string>& tightLooseTrigs,
738 for (
size_t trigNr = 0; trigNr < tightLooseTrigs.size(); trigNr++) {
748 if (trigNr != tightLooseTrigs.size() - 2)
756 const std::vector<std::string>& tightLooseTrigs,
759 for (
size_t trigNr = 0; trigNr < tightLooseTrigs.size(); trigNr++) {
770 if (trigNr != tightLooseTrigs.size() - 2)
786 tightTrig +
"_" + looseTrig +
"_" + histId +
"_passTrig",
790 << eleCut->
clone()));
803 eleMonElems.push_back(passMonElem);
804 eleMonElems.push_back(failMonElem);
816 tightTrig +
"_" + looseTrig +
"_" + histId +
"_passTrig",
820 << phoCut->
clone()));
833 phoMonElems.push_back(passMonElem);
834 phoMonElems.push_back(failMonElem);
839 const std::vector<std::string>& tightLooseTrigs,
841 for (
auto const& tightLooseTrig : tightLooseTrigs) {
856 const std::vector<std::string>& tightLooseTrigs,
858 for (
auto const& tightLooseTrig : tightLooseTrigs) {
873 const std::vector<std::string>& tightLooseTrigs,
875 for (
auto const& tightLooseTrig : tightLooseTrigs) {
890 const std::vector<std::string>& tightLooseTrigs,
892 for (
auto const& tightLooseTrig : tightLooseTrigs) {
909 const std::vector<std::string>& filterNames,
912 for (
const auto&
trigName : filterNames) {
914 float etCutValue = 0.;
918 "Trigger Tag and Probe",
920 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFiltesr"),
942 trigName +
"_" + monElemCont->
name() +
"_gsfEle_passNotTag",
948 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
954 trigName +
"_" + monElemCont->
name() +
"_gsfEle_passTagTag",
959 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
969 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
978 eleMonElems.push_back(monElemCont);
989 float etCutValue = 0.;
993 "Trigger Tag and Probe",
995 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1016 trigName +
"_" + monElemCont->
name() +
"_gsfEle_passNotTag",
1022 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1028 trigName +
"_" + monElemCont->
name() +
"_gsfEle_passTagTag",
1033 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1043 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1052 eleMonElems.push_back(monElemCont);
1062 float etCutValue = 0.;
1065 "Trigger Tag and Probe",
1067 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1078 trigNameLeg2 +
"_" + monElemCont->
name() +
"_gsfEle_passLeg2failLeg1",
1089 const std::vector<std::string>& filterNames,
1092 for (
const auto&
trigName : filterNames) {
1094 float etCutValue = 0.;
1098 "Trigger Tag and Probe",
1100 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1122 trigName +
"_" + monElemCont->
name() +
"_pho_passNotTag",
1128 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1134 trigName +
"_" + monElemCont->
name() +
"_pho_passTagTag",
1139 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1149 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1158 phoMonElems.push_back(monElemCont);
1168 float etCutValue = 0.;
1172 "Trigger Tag and Probe",
1174 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1195 trigName +
"_" + monElemCont->
name() +
"_pho_passNotTag",
1201 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1207 trigName +
"_" + monElemCont->
name() +
"_pho_passTagTag",
1212 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17TrackIsolFilter"),
1222 trigCodes.
getCode(
"hltEle32CaloIdTCaloIsoTTrkIdTTrkIsoTSC17HEDoubleFilter"),
1231 phoMonElems.push_back(monElemCont);
void initStdEleCutHists(std::vector< MonElemWithCutBase< OffEle > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins, EgHLTDQMCut< OffEle > *cut=nullptr)
void initStdEffHists(std::vector< MonElemWithCutBase< OffEle > *> &histVec, const std::string &filterName, const std::string &baseName, int nrBins, double xMin, double xMax, float(OffEle::*vsVarFunc)() const, const CutMasks &masks)
void initTrigTagProbeHists(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::vector< std::string > &filterNames, int cutMask, const BinData &bins)
const TrigCodes & trigCodes
void addTightLooseTrigHist(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::string &tightTrig, const std::string &looseTrig, EgHLTDQMCut< OffEle > *eleCut, const std::string &histId, const BinData &bins)
void initTightLooseDiObjTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
void initStdEleHists(std::vector< MonElemManagerBase< OffEle > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
float sigmaIEtaIEta() const
int trigCutsCutCode(const TrigCodes::TrigBitSet &trigger) const
std::vector< std::string > splitString(const std::string &fLine)
float hltIsolTrksEle() const
void initTightLooseTrigHists(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins, EgHLTDQMCut< OffEle > *eleCut)
float e2x5MaxOver5x5() const
float e1x5Over5x5() const
float sigmaIEtaIEta() const
float e2x5MaxOver5x5() const
virtual EgHLTDQMCut< T > * clone() const =0
float e1x5Over5x5() const
def split(sequence, size)
void initTrigTagProbeHist(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::string &filterName, int cutMask, const BinData &bins)
DQMStore::IBooker & iBooker
const std::string & name() const
void initTightLooseTrigHistsTrigCuts(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::vector< std::string > &tightLooseTrigs, const BinData &bins)
int trigCutsCutCode(const TrigCodes::TrigBitSet &trigger) const
TrigBitSet getCode(const char *descript) const
void initStdEleHistsHEP(std::vector< MonElemManagerBase< OffEle > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
void initStdPhoCutHists(std::vector< MonElemWithCutBase< OffPho > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins, EgHLTDQMCut< OffPho > *cut=nullptr)
std::vector< MonElemManagerBase< T > * > & monElems()
std::vector< MonElemWithCutBase< T > * > & cutMonElems()
void initTrigTagProbeHist_2Leg(std::vector< MonElemContainer< OffEle > *> &eleMonElems, const std::string &filterName, int cutMask, const BinData &bins)
void initStdPhoHists(std::vector< MonElemManagerBase< OffPho > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)
void initStdPhoHistsHEP(std::vector< MonElemManagerBase< OffPho > *> &histVec, const std::string &filterName, const std::string &baseName, const BinData &bins)