42 LogDebug(
"JetMETHLTOfflineSource") <<
"constructor....";
93 std::vector<edm::ParameterSet>
paths = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"pathPairs");
112 cout <<
"============================================================" << endl;
113 cout <<
" New event" << endl << endl;
122 cout <<
" triggerResults not valid" << endl;
123 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"TriggerResults not found, "
129 cout <<
" done triggerResults" << endl;
139 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"TriggerEvent not found, "
145 cout <<
" done triggerSummary" << endl;
149 cout <<
"============================================================" << endl;
150 cout <<
" Reading in offline objects" << endl << endl;
161 cout <<
" done calo" << endl;
170 cout <<
" done pf" << endl;
182 cout <<
"============================================================" << endl;
183 cout <<
" Read in offline objects" << endl << endl;
188 cout <<
"Run = " <<
iEvent.id().run() <<
", LS = " <<
iEvent.luminosityBlock()
189 <<
", Event = " <<
iEvent.id().event() << endl;
192 for (
int i = 0;
i < 2;
i++) {
215 auto calojet_ =
calojet.begin();
216 for (; calojet_ !=
calojet.end(); ++calojet_) {
256 auto pfjet_ =
pfjet.begin();
257 for (; pfjet_ !=
pfjet.end(); ++pfjet_) {
277 PFJetNHEF[0] = pfjet_->neutralHadronEnergyFraction();
278 PFJetCHEF[0] = pfjet_->chargedHadronEnergyFraction();
279 PFJetNEMF[0] = pfjet_->neutralEmEnergyFraction();
280 PFJetCEMF[0] = pfjet_->chargedEmEnergyFraction();
287 PFJetNHEF[1] = pfjet_->neutralHadronEnergyFraction();
288 PFJetCHEF[1] = pfjet_->chargedHadronEnergyFraction();
289 PFJetNEMF[1] = pfjet_->neutralEmEnergyFraction();
290 PFJetCEMF[1] = pfjet_->chargedEmEnergyFraction();
296 for (
int i = 0;
i < 2;
i++) {
300 for (
int i = 0;
i < 2;
i++) {
319 cout <<
">> Inside fillMEforMonTriggerSummary " << endl;
324 for (
unsigned int j = 0;
j != nPath; ++
j) {
326 if (
pathname.find(MuonTrigPath) != std::string::npos) {
330 cout <<
"fillMEforMonTriggerSummary: Muon Match" << endl;
343 for (
unsigned int j = 0;
j != nPath; ++
j) {
345 if (
pathname.find(MBTrigPath) != std::string::npos) {
349 cout <<
"fillMEforMonTriggerSummary: MinBias Match" << endl;
361 bool trigFirst =
false;
380 bool trigSec =
false;
384 if (trigSec && trigFirst) {
391 if (!trigSec && trigFirst) {
405 for (
auto const& itv : *Vtx) {
419 cout <<
">> Inside fillMEforTriggerNTfired" << endl;
423 cout <<
" ... and triggerResults is valid" << endl;
429 v.getMEhisto_TriggerSummary()->Fill(0.);
432 bool l1found =
false;
433 if (l1Index < triggerObj_->sizeFilters())
436 v.getMEhisto_TriggerSummary()->Fill(1.);
438 v.getMEhisto_TriggerSummary()->Fill(2.);
440 v.getMEhisto_TriggerSummary()->Fill(3.);
442 v.getMEhisto_TriggerSummary()->Fill(4.);
444 v.getMEhisto_TriggerSummary()->Fill(5.);
446 v.getMEhisto_TriggerSummary()->Fill(6.);
451 v.getMEhisto_JetPt()->Fill(
jet->pt());
452 v.getMEhisto_EtavsPt()->Fill(
jet->eta(),
jet->pt());
453 v.getMEhisto_PhivsPt()->Fill(
jet->phi(),
jet->pt());
458 v.getMEhisto_JetSize()->Fill(
calojet.size());
468 v.getMEhisto_Pt12()->Fill((
jet->pt() + jet2->pt()) / 2.);
469 v.getMEhisto_Eta12()->Fill((
jet->eta() + jet2->eta()) / 2.);
470 v.getMEhisto_Phi12()->Fill(
deltaPhi(
jet->phi(), jet2->phi()));
471 v.getMEhisto_Pt3()->Fill(jet3pt);
472 v.getMEhisto_Pt12Pt3()->Fill((
jet->pt() + jet2->pt()) / 2., jet3pt);
473 v.getMEhisto_Pt12Phi12()->Fill((
jet->pt() + jet2->pt()) / 2.,
deltaPhi(
jet->phi(), jet2->phi()));
477 if (((
v.getTriggerType() ==
"MET_Trigger") || (
v.getTriggerType() ==
"TET_Trigger")) &&
481 v.getMEhisto_JetPt()->Fill(
met.pt());
491 cout <<
">> Inside fillMEforMonAllTrigger " << endl;
495 cout <<
" ... and triggerResults is valid" << endl;
500 cout <<
" + Checking path " <<
v.getPath();
503 cout <<
" - failed" << endl;
507 cout <<
" - PASSED! " << endl;
510 std::vector<double> jetPtVec;
511 std::vector<double> jetPhiVec;
512 std::vector<double> jetEtaVec;
513 std::vector<double> jetPxVec;
514 std::vector<double> jetPyVec;
515 std::vector<double> hltPtVec;
516 std::vector<double> hltPhiVec;
517 std::vector<double> hltEtaVec;
518 std::vector<double> hltPxVec;
519 std::vector<double> hltPyVec;
526 cout <<
" - L1Path = " <<
v.getl1Path() << endl;
527 cout <<
" - Label = " <<
v.getLabel() << endl;
534 cout <<
" - l1Index = " << l1Index <<
" - l1Tag = [" << l1Tag <<
"]" << endl;
539 cout <<
" - hltIndex = " << hltIndex <<
" - hltTag = [" <<
hltTag <<
"]" << endl;
542 bool hltTrigBool =
false;
543 bool diJetFire =
false;
547 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index " << l1Index <<
" of that name " << l1Tag;
549 cout <<
"[JetMETHLTOfflineSource::fillMEforMonAllTrigger] - No index l1Index=" << l1Index <<
" of that name \""
550 << l1Tag <<
"\"" << endl;
556 v.getMEhisto_N_L1()->Fill(kl1.size());
558 auto ki = kl1.begin();
559 for (; ki != kl1.end(); ++ki) {
560 double l1TrigEta = -100;
561 double l1TrigPhi = -100;
564 l1TrigEta = toc[*ki].eta();
565 l1TrigPhi = toc[*ki].phi();
566 if (
v.getTriggerType() ==
"SingleJet_Trigger") {
567 v.getMEhisto_Pt_L1()->Fill(toc[*ki].
pt());
569 v.getMEhisto_PtBarrel_L1()->Fill(toc[*ki].
pt());
571 v.getMEhisto_PtEndcap_L1()->Fill(toc[*ki].
pt());
573 v.getMEhisto_PtForward_L1()->Fill(toc[*ki].
pt());
574 v.getMEhisto_Eta_L1()->Fill(toc[*ki].
eta());
575 v.getMEhisto_Phi_L1()->Fill(toc[*ki].
phi());
576 v.getMEhisto_EtaPhi_L1()->Fill(toc[*ki].
eta(), toc[*ki].
phi());
580 v.getMEhisto_Pt_L1()->Fill(toc[*ki].
pt());
581 v.getMEhisto_Phi_L1()->Fill(toc[*ki].
phi());
586 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
588 cout <<
"[JetMETHLTOfflineSource::fillMEforMonAllTrigger] - No index hltIndex=" << hltIndex
589 <<
" of that name " << endl;
593 v.getTriggerType() ==
"SingleJet_Trigger")
594 v.getMEhisto_N_HLT()->Fill(khlt.size());
596 auto kj = khlt.begin();
598 for (; kj != khlt.end(); ++kj) {
600 double hltTrigEta = -100;
601 double hltTrigPhi = -100;
602 hltTrigEta = toc[*kj].eta();
603 hltTrigPhi = toc[*kj].phi();
604 if ((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi)) < 0.4 &&
605 (
v.getTriggerType() ==
"DiJet_Trigger"))
611 for (; kj != khlt.end(); ++kj) {
612 double hltTrigEta = -100.;
613 double hltTrigPhi = -100.;
617 cout <<
"+ MET Triggers plots" << endl;
619 v.getMEhisto_Pt_HLT()->Fill(toc[*kj].
pt());
620 v.getMEhisto_Phi_HLT()->Fill(toc[*kj].
phi());
621 v.getMEhisto_PtCorrelation_L1HLT()->Fill(toc[*ki].
pt(), toc[*kj].
pt());
622 v.getMEhisto_PhiCorrelation_L1HLT()->Fill(toc[*ki].
phi(), toc[*kj].
phi());
623 v.getMEhisto_PtResolution_L1HLT()->Fill((toc[*ki].
pt() - toc[*kj].
pt()) / (toc[*ki].
pt()));
624 v.getMEhisto_PhiResolution_L1HLT()->Fill(toc[*ki].
phi() - toc[*kj].
phi());
628 cout <<
"+ Jet Trigger plots" << endl;
631 cout <<
" - Going for those..." << endl;
632 hltTrigEta = toc[*kj].eta();
633 hltTrigPhi = toc[*kj].phi();
634 if ((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi)) < 0.4) {
635 if (
v.getTriggerType() ==
"SingleJet_Trigger") {
636 v.getMEhisto_PtCorrelation_L1HLT()->Fill(toc[*ki].
pt(), toc[*kj].
pt());
637 v.getMEhisto_EtaCorrelation_L1HLT()->Fill(toc[*ki].
eta(), toc[*kj].
eta());
638 v.getMEhisto_PhiCorrelation_L1HLT()->Fill(toc[*ki].
phi(), toc[*kj].
phi());
639 v.getMEhisto_PtResolution_L1HLT()->Fill((toc[*ki].
pt() - toc[*kj].
pt()) / (toc[*ki].
pt()));
640 v.getMEhisto_EtaResolution_L1HLT()->Fill(toc[*ki].
eta() - toc[*kj].
eta());
641 v.getMEhisto_PhiResolution_L1HLT()->Fill(toc[*ki].
phi() - toc[*kj].
phi());
644 if (((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi) < 0.4) ||
645 ((
v.getTriggerType() ==
"DiJet_Trigger") && hltTrigBool)) &&
647 if (
v.getTriggerType() ==
"SingleJet_Trigger") {
648 v.getMEhisto_Pt_HLT()->Fill(toc[*kj].
pt());
650 v.getMEhisto_PtBarrel_HLT()->Fill(toc[*kj].
pt());
652 v.getMEhisto_PtEndcap_HLT()->Fill(toc[*kj].
pt());
654 v.getMEhisto_PtForward_HLT()->Fill(toc[*kj].
pt());
655 v.getMEhisto_Eta_HLT()->Fill(toc[*kj].
eta());
656 v.getMEhisto_Phi_HLT()->Fill(toc[*kj].
phi());
657 v.getMEhisto_EtaPhi_HLT()->Fill(toc[*kj].
eta(), toc[*kj].
phi());
664 for (
int iCalo = 0; iCalo < 2; iCalo++) {
667 if (
v.getTriggerType() ==
"SingleJet_Trigger") {
670 v.getMEhisto_PtBarrel()->Fill(
CaloJetPt[iCalo]);
672 v.getMEhisto_PtEndcap()->Fill(
CaloJetPt[iCalo]);
674 v.getMEhisto_PtForward()->Fill(
CaloJetPt[iCalo]);
680 v.getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
pt(),
CaloJetPt[iCalo]);
681 v.getMEhisto_EtaCorrelation_HLTRecObj()->Fill(toc[*kj].
eta(),
CaloJetEta[iCalo]);
682 v.getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),
CaloJetPhi[iCalo]);
684 v.getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
pt() -
CaloJetPt[iCalo]) /
686 v.getMEhisto_EtaResolution_HLTRecObj()->Fill(toc[*kj].
eta() -
CaloJetEta[iCalo]);
687 v.getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi() -
CaloJetPhi[iCalo]);
691 if ((
v.getTriggerType() ==
"DiJet_Trigger")) {
698 hltPhiVec.push_back(toc[*kj].
phi());
699 hltPtVec.push_back(toc[*kj].
pt());
700 hltEtaVec.push_back(toc[*kj].
eta());
701 hltPxVec.push_back(toc[*kj].
px());
702 hltPyVec.push_back(toc[*kj].
py());
712 for (
int iPF = 0; iPF < 2; iPF++) {
715 if (
v.getTriggerType() ==
"SingleJet_Trigger") {
716 v.getMEhisto_Pt()->Fill(
PFJetPt[iPF]);
718 v.getMEhisto_PtBarrel()->Fill(
PFJetPt[iPF]);
720 v.getMEhisto_PtEndcap()->Fill(
PFJetPt[iPF]);
722 v.getMEhisto_PtForward()->Fill(
PFJetPt[iPF]);
728 v.getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
pt(),
PFJetPt[iPF]);
729 v.getMEhisto_EtaCorrelation_HLTRecObj()->Fill(toc[*kj].
eta(),
PFJetEta[iPF]);
730 v.getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),
PFJetPhi[iPF]);
732 v.getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
pt() -
PFJetPt[iPF]) / (toc[*kj].
pt()));
733 v.getMEhisto_EtaResolution_HLTRecObj()->Fill(toc[*kj].
eta() -
PFJetEta[iPF]);
734 v.getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi() -
PFJetPhi[iPF]);
738 if ((
v.getTriggerType() ==
"DiJet_Trigger")) {
740 jetPtVec.push_back(
PFJetPt[iPF]);
742 jetPxVec.push_back(
PFJetPx[iPF]);
743 jetPyVec.push_back(
PFJetPy[iPF]);
745 hltPhiVec.push_back(toc[*kj].
phi());
746 hltPtVec.push_back(toc[*kj].
pt());
747 hltEtaVec.push_back(toc[*kj].
eta());
748 hltPxVec.push_back(toc[*kj].
px());
749 hltPyVec.push_back(toc[*kj].
py());
761 (
v.getPath().find(
"HLT_PFMET") == std::string::npos)) {
765 v.getMEhisto_Pt()->Fill(
met.et());
766 v.getMEhisto_Phi()->Fill(
met.phi());
768 v.getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
et(),
met.et());
769 v.getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),
met.phi());
770 v.getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
et() -
met.et()) / (toc[*kj].
et()));
771 v.getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi() -
met.phi());
777 (
v.getPath().find(
"HLT_PFMET") != std::string::npos)) {
779 const PFMET pfmet = pfmetcol->front();
781 v.getMEhisto_Pt()->Fill(pfmet.
et());
782 v.getMEhisto_Phi()->Fill(pfmet.
phi());
784 v.getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
et(), pfmet.
et());
785 v.getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(), pfmet.
phi());
786 v.getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
et() - pfmet.
et()) / (toc[*kj].
et()));
787 v.getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi() - pfmet.
phi());
790 if ((
v.getTriggerType() ==
"DiJet_Trigger"))
795 v.getMEhisto_N()->Fill(jetsize);
798 if ((
v.getTriggerType() ==
"DiJet_Trigger") && jetPtVec.size() > 1) {
799 double AveJetPt = (jetPtVec[0] + jetPtVec[1]) / 2;
800 double AveJetEta = (jetEtaVec[0] + jetEtaVec[1]) / 2;
801 double JetDelPhi =
deltaPhi(jetPhiVec[0], jetPhiVec[1]);
802 double AveHLTPt = (hltPtVec[0] + hltPtVec[1]) / 2;
803 double AveHLTEta = (hltEtaVec[0] + hltEtaVec[1]) / 2;
804 double HLTDelPhi =
deltaPhi(hltPhiVec[0], hltPhiVec[1]);
805 v.getMEhisto_AveragePt_RecObj()->Fill(AveJetPt);
806 v.getMEhisto_AverageEta_RecObj()->Fill(AveJetEta);
807 v.getMEhisto_DeltaPhi_RecObj()->Fill(JetDelPhi);
809 v.getMEhisto_AveragePt_HLTObj()->Fill(AveHLTPt);
810 v.getMEhisto_AverageEta_HLTObj()->Fill(AveHLTEta);
811 v.getMEhisto_DeltaPhi_HLTObj()->Fill(HLTDelPhi);
815 cout <<
"<< Exiting fillMEforMonAllTrigger " << endl;
825 bool denompassed =
false;
826 bool numpassed =
false;
843 if (denompassed ==
false)
855 double trigLowpTcut = 0;
856 double trigMedpTcut = 0;
857 double trigHighpTcut = 0;
858 double trigLowpTcutFwd = 0;
859 double trigMedpTcutFwd = 0;
860 double trigHighpTcutFwd = 0;
863 double trigLowpTPFcut = 0;
864 double trigMedpTPFcut = 0;
865 double trigHighpTPFcut = 0;
866 double trigLowpTPFcutFwd = 0;
867 double trigMedpTPFcutFwd = 0;
868 double trigHighpTPFcutFwd = 0;
871 size_t jetstrfound =
v.getPath().find(
"Jet");
873 string tpath =
v.getPath();
877 if (jetstrfound != string::npos) {
879 for (
int trig =
int(jetstrfound) + 3;
trig <
int(jetstrfound) + 7;
trig++) {
880 if (!isdigit(tpath[
trig]))
882 jetTrigVal += tpath[
trig];
884 jetVal = atof(jetTrigVal.c_str());
889 trigMedpTcut = jetVal + 5.;
890 trigHighpTcut = jetVal + 10.;
892 trigLowpTcutFwd = jetVal + 9.;
893 trigMedpTcutFwd = jetVal + 15.;
894 trigHighpTcutFwd = jetVal + 21.;
897 trigMedpTcut = jetVal + 2.;
898 trigHighpTcut = jetVal + 60.;
900 trigLowpTcutFwd = jetVal + 22.;
901 trigMedpTcutFwd = jetVal + 25.;
902 trigHighpTcutFwd = jetVal + 110.;
904 trigLowpTcut = jetVal;
910 trigMedpTPFcut = jetVal + 20.;
911 trigHighpTPFcut = jetVal + 40.;
913 trigLowpTPFcutFwd = jetVal + 60.;
914 trigMedpTPFcutFwd = jetVal + 80.;
915 trigHighpTPFcutFwd = jetVal + 100.;
918 trigMedpTPFcut = jetVal + 40.;
919 trigHighpTPFcut = jetVal + 140.;
921 trigLowpTPFcutFwd = jetVal + 110.;
922 trigMedpTPFcutFwd = jetVal + 130.;
923 trigHighpTPFcutFwd = jetVal + 190.;
925 trigLowpTPFcut = jetVal;
932 std::cout <<
"fillMEforEffAllTrigger: CaloJet -------------------" << std::endl;
937 bool jetIDbool =
false;
944 if ((
v.getTriggerType() ==
"SingleJet_Trigger") && !
calojet.empty()) {
947 cout <<
"Passed CaloJet ID -------------------" << endl;
950 v.getMEhisto_DenominatorPt()->Fill(leadjpt);
952 v.getMEhisto_DenominatorPtBarrel()->Fill(leadjpt);
954 v.getMEhisto_DenominatorPtEndcap()->Fill(leadjpt);
956 v.getMEhisto_DenominatorPtForward()->Fill(leadjpt);
957 v.getMEhisto_DenominatorEta()->Fill(leadjeta);
958 v.getMEhisto_DenominatorPhi()->Fill(leadjphi);
959 v.getMEhisto_DenominatorEtaPhi()->Fill(leadjeta, leadjphi);
961 v.getMEhisto_DenominatorEtaBarrel()->Fill(leadjeta);
962 v.getMEhisto_DenominatorPhiBarrel()->Fill(leadjphi);
965 v.getMEhisto_DenominatorEtaEndcap()->Fill(leadjeta);
966 v.getMEhisto_DenominatorPhiEndcap()->Fill(leadjphi);
969 v.getMEhisto_DenominatorEtaForward()->Fill(leadjeta);
970 v.getMEhisto_DenominatorPhiForward()->Fill(leadjphi);
972 if ((leadjpt > trigLowpTcut && !
isForward(leadjeta)) || (leadjpt > trigLowpTcutFwd &&
isForward(leadjeta))) {
973 v.getMEhisto_DenominatorEta_LowpTcut()->Fill(leadjeta);
974 v.getMEhisto_DenominatorPhi_LowpTcut()->Fill(leadjphi);
975 v.getMEhisto_DenominatorEtaPhi_LowpTcut()->Fill(leadjeta, leadjphi);
977 if ((leadjpt > trigMedpTcut && !
isForward(leadjeta)) || (leadjpt > trigMedpTcutFwd &&
isForward(leadjeta))) {
978 v.getMEhisto_DenominatorEta_MedpTcut()->Fill(leadjeta);
979 v.getMEhisto_DenominatorPhi_MedpTcut()->Fill(leadjphi);
980 v.getMEhisto_DenominatorEtaPhi_MedpTcut()->Fill(leadjeta, leadjphi);
982 if ((leadjpt > trigHighpTcut && !
isForward(leadjeta)) ||
983 (leadjpt > trigHighpTcutFwd &&
isForward(leadjeta))) {
984 v.getMEhisto_DenominatorEta_HighpTcut()->Fill(leadjeta);
985 v.getMEhisto_DenominatorPhi_HighpTcut()->Fill(leadjphi);
986 v.getMEhisto_DenominatorEtaPhi_HighpTcut()->Fill(leadjeta, leadjphi);
992 double dRmin = 99999.;
993 double dPhimin = 9999.;
994 if (
v.getPath().find(
"L1") != std::string::npos) {
996 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
999 for (
unsigned short ki : kl1) {
1000 double dR =
deltaR(toc[ki].
eta(), toc[ki].
phi(), leadjeta, leadjphi);
1008 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
1011 auto kj = khlt.begin();
1012 for (; kj != khlt.end(); ++kj) {
1013 double dR =
deltaR(toc[*kj].
eta(), toc[*kj].
phi(), leadjeta, leadjphi);
1018 if (
dPhi < dPhimin) {
1023 v.getMEhisto_DeltaPhi()->Fill(dPhimin);
1024 v.getMEhisto_DeltaR()->Fill(dRmin);
1027 if (dRmin < 0.1 || (
v.getPath().find(
"L1") != std::string::npos && dRmin < 0.4)) {
1028 v.getMEhisto_NumeratorPt()->Fill(leadjpt);
1030 v.getMEhisto_NumeratorPtBarrel()->Fill(leadjpt);
1032 v.getMEhisto_NumeratorPtEndcap()->Fill(leadjpt);
1034 v.getMEhisto_NumeratorPtForward()->Fill(leadjpt);
1035 v.getMEhisto_NumeratorEta()->Fill(leadjeta);
1036 v.getMEhisto_NumeratorPhi()->Fill(leadjphi);
1037 v.getMEhisto_NumeratorEtaPhi()->Fill(leadjeta, leadjphi);
1039 v.getMEhisto_NumeratorEtaBarrel()->Fill(leadjeta);
1040 v.getMEhisto_NumeratorPhiBarrel()->Fill(leadjphi);
1043 v.getMEhisto_NumeratorEtaEndcap()->Fill(leadjeta);
1044 v.getMEhisto_NumeratorPhiEndcap()->Fill(leadjphi);
1047 v.getMEhisto_NumeratorEtaForward()->Fill(leadjeta);
1048 v.getMEhisto_NumeratorPhiForward()->Fill(leadjphi);
1050 if ((leadjpt > trigLowpTcut && !
isForward(leadjeta)) ||
1051 (leadjpt > trigLowpTcutFwd &&
isForward(leadjeta))) {
1052 v.getMEhisto_NumeratorEta_LowpTcut()->Fill(leadjeta);
1053 v.getMEhisto_NumeratorPhi_LowpTcut()->Fill(leadjphi);
1054 v.getMEhisto_NumeratorEtaPhi_LowpTcut()->Fill(leadjeta, leadjphi);
1056 if ((leadjpt > trigMedpTcut && !
isForward(leadjeta)) ||
1057 (leadjpt > trigMedpTcutFwd &&
isForward(leadjeta))) {
1058 v.getMEhisto_NumeratorEta_MedpTcut()->Fill(leadjeta);
1059 v.getMEhisto_NumeratorPhi_MedpTcut()->Fill(leadjphi);
1060 v.getMEhisto_NumeratorEtaPhi_MedpTcut()->Fill(leadjeta, leadjphi);
1062 if ((leadjpt > trigHighpTcut && !
isForward(leadjeta)) ||
1063 (leadjpt > trigHighpTcutFwd &&
isForward(leadjeta))) {
1064 v.getMEhisto_NumeratorEta_HighpTcut()->Fill(leadjeta);
1065 v.getMEhisto_NumeratorPhi_HighpTcut()->Fill(leadjphi);
1066 v.getMEhisto_NumeratorEtaPhi_HighpTcut()->Fill(leadjeta, leadjphi);
1073 if (jetIDbool ==
true && (
v.getTriggerType() ==
"DiJet_Trigger") &&
calojet.size() > 1) {
1078 if (numpassed ==
true) {
1088 std::cout <<
"fillMEforEffAllTrigger: PFJet -------------------" << std::endl;
1093 bool jetIDbool =
false;
1112 if ((
v.getTriggerType() ==
"SingleJet_Trigger") && !
pfjet.empty()) {
1115 _pfMHT =
sqrt(pfMHTx * pfMHTx + pfMHTy * pfMHTy);
1116 v.getMEhisto_DenominatorPFMHT()->Fill(
_pfMHT);
1121 cout <<
"Passed PFJet ID -------------------" << endl;
1123 v.getMEhisto_DenominatorPFPt()->Fill(leadjpt);
1125 v.getMEhisto_DenominatorPFPtBarrel()->Fill(leadjpt);
1127 v.getMEhisto_DenominatorPFPtEndcap()->Fill(leadjpt);
1129 v.getMEhisto_DenominatorPFPtForward()->Fill(leadjpt);
1130 v.getMEhisto_DenominatorPFEta()->Fill(leadjeta);
1131 v.getMEhisto_DenominatorPFPhi()->Fill(leadjphi);
1132 v.getMEhisto_DenominatorPFEtaPhi()->Fill(leadjeta, leadjphi);
1134 v.getMEhisto_DenominatorPFEtaBarrel()->Fill(leadjeta);
1135 v.getMEhisto_DenominatorPFPhiBarrel()->Fill(leadjphi);
1138 v.getMEhisto_DenominatorPFEtaEndcap()->Fill(leadjeta);
1139 v.getMEhisto_DenominatorPFPhiEndcap()->Fill(leadjphi);
1142 v.getMEhisto_DenominatorPFEtaForward()->Fill(leadjeta);
1143 v.getMEhisto_DenominatorPFPhiForward()->Fill(leadjphi);
1145 if ((leadjpt > trigLowpTPFcut && !
isForward(leadjeta)) ||
1146 (leadjpt > trigLowpTPFcutFwd &&
isForward(leadjeta))) {
1147 v.getMEhisto_DenominatorPFEta_LowpTcut()->Fill(leadjeta);
1148 v.getMEhisto_DenominatorPFPhi_LowpTcut()->Fill(leadjphi);
1149 v.getMEhisto_DenominatorPFEtaPhi_LowpTcut()->Fill(leadjeta, leadjphi);
1151 if ((leadjpt > trigMedpTPFcut && !
isForward(leadjeta)) ||
1152 (leadjpt > trigMedpTPFcutFwd &&
isForward(leadjeta))) {
1153 v.getMEhisto_DenominatorPFEta_MedpTcut()->Fill(leadjeta);
1154 v.getMEhisto_DenominatorPFPhi_MedpTcut()->Fill(leadjphi);
1155 v.getMEhisto_DenominatorPFEtaPhi_MedpTcut()->Fill(leadjeta, leadjphi);
1157 if ((leadjpt > trigHighpTPFcut && !
isForward(leadjeta)) ||
1158 (leadjpt > trigHighpTPFcutFwd &&
isForward(leadjeta))) {
1159 v.getMEhisto_DenominatorPFEta_HighpTcut()->Fill(leadjeta);
1160 v.getMEhisto_DenominatorPFPhi_HighpTcut()->Fill(leadjphi);
1161 v.getMEhisto_DenominatorPFEtaPhi_HighpTcut()->Fill(leadjeta, leadjphi);
1166 double dRmin = 99999.;
1167 double dPhimin = 9999.;
1168 if (
v.getPath().find(
"L1") != std::string::npos) {
1170 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
1173 for (
unsigned short ki : kl1) {
1174 double dR =
deltaR(toc[ki].
eta(), toc[ki].
phi(), leadjeta, leadjphi);
1182 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
1185 for (
unsigned short kj : khlt) {
1186 double dR =
deltaR(toc[kj].
eta(), toc[kj].
phi(), leadjeta, leadjphi);
1191 if (
dPhi < dPhimin) {
1195 v.getMEhisto_PFDeltaPhi()->Fill(dPhimin);
1196 v.getMEhisto_PFDeltaR()->Fill(dRmin);
1199 if (dRmin < 0.1 || (
v.getPath().find(
"L1") != std::string::npos && dRmin < 0.4)) {
1200 v.getMEhisto_NumeratorPFPt()->Fill(leadjpt);
1202 v.getMEhisto_NumeratorPFPtBarrel()->Fill(leadjpt);
1204 v.getMEhisto_NumeratorPFPtEndcap()->Fill(leadjpt);
1206 v.getMEhisto_NumeratorPFPtForward()->Fill(leadjpt);
1207 v.getMEhisto_NumeratorPFEta()->Fill(leadjeta);
1208 v.getMEhisto_NumeratorPFPhi()->Fill(leadjphi);
1209 v.getMEhisto_NumeratorPFEtaPhi()->Fill(leadjeta, leadjphi);
1211 v.getMEhisto_NumeratorPFEtaBarrel()->Fill(leadjeta);
1212 v.getMEhisto_NumeratorPFPhiBarrel()->Fill(leadjphi);
1215 v.getMEhisto_NumeratorPFEtaEndcap()->Fill(leadjeta);
1216 v.getMEhisto_NumeratorPFPhiEndcap()->Fill(leadjphi);
1219 v.getMEhisto_NumeratorPFEtaForward()->Fill(leadjeta);
1220 v.getMEhisto_NumeratorPFPhiForward()->Fill(leadjphi);
1222 if ((leadjpt > trigLowpTPFcut && !
isForward(leadjeta)) ||
1223 (leadjpt > trigLowpTPFcutFwd &&
isForward(leadjeta))) {
1224 v.getMEhisto_NumeratorPFEta_LowpTcut()->Fill(leadjeta);
1225 v.getMEhisto_NumeratorPFPhi_LowpTcut()->Fill(leadjphi);
1226 v.getMEhisto_NumeratorPFEtaPhi_LowpTcut()->Fill(leadjeta, leadjphi);
1228 if ((leadjpt > trigMedpTPFcut && !
isForward(leadjeta)) ||
1229 (leadjpt > trigMedpTPFcutFwd &&
isForward(leadjeta))) {
1230 v.getMEhisto_NumeratorPFEta_MedpTcut()->Fill(leadjeta);
1231 v.getMEhisto_NumeratorPFPhi_MedpTcut()->Fill(leadjphi);
1232 v.getMEhisto_NumeratorPFEtaPhi_MedpTcut()->Fill(leadjeta, leadjphi);
1234 if ((leadjpt > trigHighpTPFcut && !
isForward(leadjeta)) ||
1235 (leadjpt > trigHighpTPFcutFwd &&
isForward(leadjeta))) {
1236 v.getMEhisto_NumeratorPFEta_HighpTcut()->Fill(leadjeta);
1237 v.getMEhisto_NumeratorPFPhi_HighpTcut()->Fill(leadjphi);
1238 v.getMEhisto_NumeratorPFEtaPhi_HighpTcut()->Fill(leadjeta, leadjphi);
1244 if (jetIDbool ==
true && (
v.getTriggerType() ==
"DiJet_Trigger") &&
pfjet.size() > 1) {
1261 std::cout <<
"fillMEforEffAllTrigger: CaloMET -------------------" << std::endl;
1264 (
v.getPath().find(
"HLT_PFMET") == std::string::npos)) {
1267 v.getMEhisto_DenominatorPt()->Fill(
met.et());
1268 v.getMEhisto_DenominatorPhi()->Fill(
met.phi());
1270 v.getMEhisto_NumeratorPt()->Fill(
met.et());
1271 v.getMEhisto_NumeratorPhi()->Fill(
met.phi());
1273 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
1275 double dPhimin = 9999.;
1277 for (
unsigned short kj : khlt) {
1279 if (
dPhi < dPhimin) {
1283 v.getMEhisto_DeltaPhi()->Fill(dPhimin);
1290 std::cout <<
"fillMEforEffAllTrigger: PFMET -------------------" << std::endl;
1293 (
v.getPath().find(
"HLT_PFMET") != std::string::npos)) {
1295 const PFMET met = pfmetcol->front();
1296 v.getMEhisto_DenominatorPt()->Fill(
met.et());
1297 v.getMEhisto_DenominatorPhi()->Fill(
met.phi());
1299 v.getMEhisto_NumeratorPt()->Fill(
met.et());
1300 v.getMEhisto_NumeratorPhi()->Fill(
met.phi());
1302 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt" << hltIndex <<
" of that name ";
1304 double dPhimin = 9999.;
1306 for (
unsigned short kj : khlt) {
1308 if (
dPhi < dPhimin) {
1312 v.getMEhisto_DeltaPhi()->Fill(dPhimin);
1335 LogDebug(
"HLTJetMETDQMSource") <<
"HLTConfigProvider failed to initialize.";
1349 for (
unsigned int i = 0;
i !=
n; ++
i) {
1350 bool denomFound =
false;
1351 bool numFound =
false;
1358 for (; controlPathname !=
pathFilter_.end(); ++controlPathname) {
1359 if (
pathname.find((*controlPathname)) != std::string::npos) {
1370 if (
pathname.find((*rejectPathname)) != std::string::npos) {
1384 unsigned int usedPrescale = 1;
1385 unsigned int objectType = 0;
1390 if (
pathname.find(
"Jet") != std::string::npos && !(
pathname.find(
"DoubleJet") != std::string::npos) &&
1391 !(
pathname.find(
"DiJet") != std::string::npos) && !(
pathname.find(
"DiPFJet") != std::string::npos) &&
1392 !(
pathname.find(
"BTag") != std::string::npos) && !(
pathname.find(
"Mu") != std::string::npos) &&
1393 !(
pathname.find(
"Fwd") != std::string::npos)) {
1397 if (
pathname.find(
"DiJet") != std::string::npos ||
pathname.find(
"DiPFJet") != std::string::npos ||
1398 pathname.find(
"DoubleJet") != std::string::npos) {
1402 if (
pathname.find(
"MET") != std::string::npos) {
1406 if (
pathname.find(
"HT") != std::string::npos) {
1413 !(
pathname.find(
"DiPFJet") != std::string::npos) && !(
pathname.find(
"DoubleJet") != std::string::npos)) {
1421 ((
pathname.find(
"DiJet") != std::string::npos) || (
pathname.find(
"DiPFJet") != std::string::npos))) {
1448 for (
unsigned int i = 0;
i !=
n; ++
i) {
1452 if (HLTname == dpathname)
1461 for (
auto& numpathmodule : numpathmodules) {
1470 filtername = numpathmodule;
1474 if (objectType != 0 && denomFound) {
1476 for (
auto& numpathmodule : numpathmodules) {
1485 Denomfiltername = numpathmodule;
1489 if (objectType != 0 && numFound) {
1491 cout <<
"=Pathname= " <<
pathname <<
" | =Denompath= " << dpathname <<
" | =Filtername= " << filtername
1492 <<
" | =Denomfiltername= " << Denomfiltername <<
" | =L1pathname= " << l1pathname
1493 <<
" | =ObjectType= " << objectType << endl;
1494 if (!((
pathname.find(
"HT") != std::string::npos) || (
pathname.find(
"Quad") != std::string::npos))) {
1528 cout <<
"get names for efficicncy------------------" << endl;
1533 unsigned int usedPrescale = 1;
1534 unsigned int objectType = 0;
1540 std::string dpathname = custompathnamepair.second;
1541 bool numFound =
false;
1542 bool denomFound =
false;
1544 for (
unsigned int i = 0;
i !=
n; ++
i) {
1546 if (HLTname.find(
pathname) != std::string::npos) {
1550 if (HLTname.find(dpathname) != std::string::npos) {
1552 dpathname = HLTname;
1555 if (numFound && denomFound) {
1556 if (
pathname.find(
"Jet") != std::string::npos && !(
pathname.find(
"DiJet") != std::string::npos) &&
1557 !(
pathname.find(
"DiPFJet") != std::string::npos) && !(
pathname.find(
"DoubleJet") != std::string::npos) &&
1558 !(
pathname.find(
"BTag") != std::string::npos) && !(
pathname.find(
"Mu") != std::string::npos) &&
1559 !(
pathname.find(
"Fwd") != std::string::npos)) {
1563 if (
pathname.find(
"DiJet") != std::string::npos ||
pathname.find(
"DiPFJet") != std::string::npos ||
1564 pathname.find(
"DoubleJet") != std::string::npos) {
1568 if (
pathname.find(
"MET") != std::string::npos) {
1572 if (
pathname.find(
"TET") != std::string::npos) {
1579 for (
auto& numpathmodule : numpathmodules) {
1588 filtername = numpathmodule;
1591 if (objectType != 0) {
1593 for (
auto& numpathmodule : numpathmodules) {
1602 Denomfiltername = numpathmodule;
1606 cout <<
"==pathname==" <<
pathname <<
"==denompath==" << dpathname <<
"==filtername==" << filtername
1607 <<
"==denomfiltername==" << Denomfiltername <<
"==l1pathname==" << l1pathname
1608 <<
"==objectType==" << objectType << endl;
1624 cout <<
"== end hltPathsEff_.push_back ======" << endl;
1640 double TrigMin_ = -0.5;
1644 std::string histot =
"JetMET TriggerRate Summary";
1645 rate_All = iBooker.
book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1647 histonm =
"JetMET_TriggerRate_Correlation";
1648 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
1650 iBooker.
book2D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1652 histonm =
"JetMET_NVertices";
1653 histot =
"No. of vertices";
1654 NVertices = iBooker.
book1D(histonm.c_str(), histot.c_str(), 100, 0, 50);
1656 histonm =
"JetMET_PVZ";
1657 histot =
"Primary Vertex Z pos";
1658 PVZ = iBooker.
book1D(histonm.c_str(), histot.c_str(), 100, -50., 50.);
1661 histonm =
"JetMET_TriggerRate_WrtMuTrigger";
1662 histot =
"JetMET TriggerRate Summary Wrt Muon Trigger ";
1663 rate_AllWrtMu = iBooker.
book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1665 histonm =
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
1666 histot =
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
1668 histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1670 histonm =
"JetMET_TriggerRate_WrtMBTrigger";
1671 histot =
"JetMET TriggerRate Summary Wrt MB Trigger";
1672 rate_AllWrtMB = iBooker.
book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1674 histonm =
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
1675 histot =
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
1677 histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1685 labelnm =
v.getPath();
1687 for (
int ibin = 1; ibin <
nbins + 1; ibin++) {
1688 const char* binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
1690 if (binLabel_str == labelnm)
1692 if (binLabel[0] ==
'\0') {
1713 double Nmin_ = -0.5;
1720 double PtMax_ = 1000.;
1725 double EtaMin_ = -5.;
1726 double EtaMax_ = 5.;
1729 double PhiMin_ = -3.5;
1730 double PhiMax_ = 3.5;
1733 double ResMin_ = -1.5;
1734 double ResMax_ = 1.5;
1752 histoname = labelname +
"_recObjN";
1753 title = labelname +
"_recObjN;Reco multiplicity()" + trigPath;
1757 histoname = labelname +
"_recObjPt";
1758 title = labelname +
"_recObjPt; Reco Pt[GeV/c]" + trigPath;
1762 histoname = labelname +
"_recObjPtBarrel";
1763 title = labelname +
"_recObjPtBarrel;Reco Pt[GeV/c]" + trigPath;
1767 histoname = labelname +
"_recObjPtEndcap";
1768 title = labelname +
"_recObjPtEndcap;Reco Pt[GeV/c]" + trigPath;
1772 histoname = labelname +
"_recObjPtForward";
1773 title = labelname +
"_recObjPtForward;Reco Pt[GeV/c]" + trigPath;
1777 histoname = labelname +
"_recObjEta";
1778 title = labelname +
"_recObjEta;Reco #eta" + trigPath;
1782 histoname = labelname +
"_recObjPhi";
1783 title = labelname +
"_recObjPhi;Reco #Phi" + trigPath;
1787 histoname = labelname +
"_recObjEtaPhi";
1788 title = labelname +
"_recObjEtaPhi;Reco #eta;Reco #Phi" + trigPath;
1790 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1793 histoname = labelname +
"_l1ObjPt";
1794 title = labelname +
"_l1ObjPt;L1 Pt[GeV/c]" + trigPath;
1798 histoname = labelname +
"_l1ObjEta";
1799 title = labelname +
"_l1ObjEta;L1 #eta" + trigPath;
1803 histoname = labelname +
"_l1ObjPhi";
1804 title = labelname +
"_l1ObjPhi;L1 #Phi" + trigPath;
1808 histoname = labelname +
"_l1ObjEtaPhi";
1809 title = labelname +
"_l1ObjEtaPhi;L1 #eta;L1 #Phi" + trigPath;
1811 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1814 histoname = labelname +
"_l1ObjN";
1815 title = labelname +
"_l1ObjN;L1 multiplicity" + trigPath;
1819 histoname = labelname +
"_l1ObjPtBarrel";
1820 title = labelname +
"_l1ObjPtBarrel;L1 Pt[GeV/c]" + trigPath;
1824 histoname = labelname +
"_l1ObjPtEndcap";
1825 title = labelname +
"_l1ObjPtEndcap;L1 Pt[GeV/c]" + trigPath;
1829 histoname = labelname +
"_l1ObjPtForward";
1830 title = labelname +
"_l1ObjPtForward;L1 Pt[GeV/c]" + trigPath;
1834 histoname = labelname +
"_hltObjN";
1835 title = labelname +
"_hltObjN;HLT multiplicity" + trigPath;
1839 histoname = labelname +
"_hltObjPtBarrel";
1840 title = labelname +
"_hltObjPtBarrel;HLT Pt[GeV/c]" + trigPath;
1844 histoname = labelname +
"_hltObjPtEndcap";
1845 title = labelname +
"_hltObjPtEndcap;HLT Pt[GeV/c]" + trigPath;
1849 histoname = labelname +
"_hltObjPtForward";
1850 title = labelname +
"_hltObjPtForward;HLT Pt[GeV/c]" + trigPath;
1854 histoname = labelname +
"_hltObjPt";
1855 title = labelname +
"_hltObjPt;HLT Pt[GeV/c]" + trigPath;
1859 histoname = labelname +
"_hltObjEta";
1860 title = labelname +
"_hltObjEta;HLT #eta" + trigPath;
1864 histoname = labelname +
"_hltObjPhi";
1865 title = labelname +
"_hltObjPhi;HLT #Phi" + trigPath;
1869 histoname = labelname +
"_hltObjEtaPhi";
1870 title = labelname +
"_hltObjEtaPhi;HLT #eta;HLT #Phi" + trigPath;
1872 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1875 histoname = labelname +
"_l1HLTPtResolution";
1876 title = labelname +
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)" + trigPath;
1878 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1879 PtResolution_L1HLT->
getTH1();
1881 histoname = labelname +
"_l1HLTEtaResolution";
1882 title = labelname +
"_l1HLTEtaResolution;#eta(L1)-#eta(HLT)" + trigPath;
1884 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1885 EtaResolution_L1HLT->
getTH1();
1887 histoname = labelname +
"_l1HLTPhiResolution";
1888 title = labelname +
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)" + trigPath;
1890 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1891 PhiResolution_L1HLT->
getTH1();
1893 histoname = labelname +
"_l1HLTPtCorrelation";
1894 title = labelname +
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]" + trigPath;
1896 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
1897 PtCorrelation_L1HLT->
getTH1();
1899 histoname = labelname +
"_l1HLTEtaCorrelation";
1900 title = labelname +
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)" + trigPath;
1902 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Etabins_, EtaMin_, EtaMax_);
1903 EtaCorrelation_L1HLT->
getTH1();
1905 histoname = labelname +
"_l1HLTPhiCorrelation";
1906 title = labelname +
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)" + trigPath;
1908 iBooker.
book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
1909 PhiCorrelation_L1HLT->
getTH1();
1911 histoname = labelname +
"_hltRecObjPtResolution";
1912 title = labelname +
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)" + trigPath;
1914 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1915 PtResolution_HLTRecObj->
getTH1();
1917 histoname = labelname +
"_hltRecObjEtaResolution";
1918 title = labelname +
"_hltRecObjEtaResolution;#eta(HLT)-#eta(Reco)" + trigPath;
1920 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1921 EtaResolution_HLTRecObj->
getTH1();
1923 histoname = labelname +
"_hltRecObjPhiResolution";
1924 title = labelname +
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)" + trigPath;
1926 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1927 PhiResolution_HLTRecObj->
getTH1();
1929 histoname = labelname +
"_hltRecObjPtCorrelation";
1930 title = labelname +
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]" + trigPath;
1932 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
1933 PtCorrelation_HLTRecObj->
getTH1();
1935 histoname = labelname +
"_hltRecObjEtaCorrelation";
1936 title = labelname +
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)" + trigPath;
1938 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Etabins_, EtaMin_, EtaMax_);
1939 EtaCorrelation_HLTRecObj->
getTH1();
1941 histoname = labelname +
"_hltRecObjPhiCorrelation";
1942 title = labelname +
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)" + trigPath;
1944 iBooker.
book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
1945 PhiCorrelation_HLTRecObj->
getTH1();
1972 EtaResolution_L1HLT,
1973 PhiResolution_L1HLT,
1974 PtResolution_HLTRecObj,
1975 EtaResolution_HLTRecObj,
1976 PhiResolution_HLTRecObj,
1977 PtCorrelation_L1HLT,
1978 EtaCorrelation_L1HLT,
1979 PhiCorrelation_L1HLT,
1980 PtCorrelation_HLTRecObj,
1981 EtaCorrelation_HLTRecObj,
1982 PhiCorrelation_HLTRecObj,
1995 histoname = labelname +
"_RecObjAveragePt";
1996 title = labelname +
"_RecObjAveragePt;Reco Average Pt[GeV/c]" + trigPath;
2000 histoname = labelname +
"_RecObjAverageEta";
2001 title = labelname +
"_RecObjAverageEta;Reco Average #eta" + trigPath;
2005 histoname = labelname +
"_RecObjPhiDifference";
2006 title = labelname +
"_RecObjPhiDifference;Reco #Delta#Phi" + trigPath;
2008 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2009 jetPhiDifference->
getTH1();
2011 histoname = labelname +
"_hltObjAveragePt";
2012 title = labelname +
"_hltObjAveragePt;HLT Average Pt[GeV/c]" + trigPath;
2016 histoname = labelname +
"_hltObjAverageEta";
2017 title = labelname +
"_hltObjAverageEta;HLT Average #eta" + trigPath;
2021 histoname = labelname +
"_hltObjPhiDifference";
2022 title = labelname +
"_hltObjPhiDifference;Reco #Delta#Phi" + trigPath;
2024 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2025 hltPhiDifference->
getTH1();
2075 histoname = labelname +
"_recObjPt";
2076 title = labelname +
"_recObjPt;Reco Pt[GeV/c]" + trigPath;
2080 histoname = labelname +
"_recObjPhi";
2081 title = labelname +
"_recObjPhi;Reco #Phi" + trigPath;
2085 histoname = labelname +
"_l1ObjPt";
2086 title = labelname +
"_l1ObjPt;L1 Pt[GeV/c]" + trigPath;
2090 histoname = labelname +
"_l1ObjPhi";
2091 title = labelname +
"_l1ObjPhi;L1 #Phi" + trigPath;
2095 histoname = labelname +
"_hltObjPt";
2096 title = labelname +
"_hltObjPt;HLT Pt[GeV/c]" + trigPath;
2100 histoname = labelname +
"_hltObjPhi";
2101 title = labelname +
"_hltObjPhi;HLT #Phi" + trigPath;
2105 histoname = labelname +
"_l1HLTPtResolution";
2106 title = labelname +
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)" + trigPath;
2108 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2109 PtResolution_L1HLT->
getTH1();
2111 histoname = labelname +
"_l1HLTPhiResolution";
2112 title = labelname +
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)" + trigPath;
2114 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2115 PhiResolution_L1HLT->
getTH1();
2117 histoname = labelname +
"_l1HLTPtCorrelation";
2118 title = labelname +
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]" + trigPath;
2120 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
2121 PtCorrelation_L1HLT->
getTH1();
2123 histoname = labelname +
"_l1HLTPhiCorrelation";
2124 title = labelname +
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)" + trigPath;
2126 iBooker.
book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
2127 PhiCorrelation_L1HLT->
getTH1();
2129 histoname = labelname +
"_hltRecObjPtResolution";
2130 title = labelname +
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)" + trigPath;
2132 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2133 PtResolution_HLTRecObj->
getTH1();
2135 histoname = labelname +
"_hltRecObjPhiResolution";
2136 title = labelname +
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)" + trigPath;
2138 iBooker.
book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2139 PhiResolution_HLTRecObj->
getTH1();
2141 histoname = labelname +
"_hltRecObjPtCorrelation";
2142 title = labelname +
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]" + trigPath;
2144 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
2145 PtCorrelation_HLTRecObj->
getTH1();
2147 histoname = labelname +
"_hltRecObjPhiCorrelation";
2148 title = labelname +
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)" + trigPath;
2150 iBooker.
book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
2151 PhiCorrelation_HLTRecObj->
getTH1();
2179 PhiResolution_L1HLT,
2180 PtResolution_HLTRecObj,
2182 PhiResolution_HLTRecObj,
2183 PtCorrelation_L1HLT,
2185 PhiCorrelation_L1HLT,
2186 PtCorrelation_HLTRecObj,
2188 PhiCorrelation_HLTRecObj,
2208 double PtMax_ = 1000.;
2211 double EtaMin_ = -5.;
2212 double EtaMax_ = 5.;
2215 double PhiMin_ = -3.5;
2216 double PhiMax_ = 3.5;
2225 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
2235 histoname = labelname +
"_NumeratorPt";
2236 title = labelname +
"NumeratorPt;Calo Pt[GeV/c]";
2240 histoname = labelname +
"_NumeratorPtBarrel";
2241 title = labelname +
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
2243 NumeratorPtBarrel->
getTH1();
2245 histoname = labelname +
"_NumeratorPtEndcap";
2246 title = labelname +
"NumeratorPtEndcap;Calo Pt[GeV/c]";
2248 NumeratorPtEndcap->
getTH1();
2250 histoname = labelname +
"_NumeratorPtForward";
2251 title = labelname +
"NumeratorPtForward;Calo Pt[GeV/c]";
2253 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2254 NumeratorPtForward->
getTH1();
2256 histoname = labelname +
"_NumeratorEta";
2257 title = labelname +
"NumeratorEta;Calo #eta ";
2261 histoname = labelname +
"_NumeratorPhi";
2262 title = labelname +
"NumeratorPhi;Calo #Phi";
2266 histoname = labelname +
"_NumeratorEtaPhi";
2267 title = labelname +
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
2269 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2270 NumeratorEtaPhi->
getTH1();
2272 histoname = labelname +
"_NumeratorEtaBarrel";
2273 title = labelname +
"NumeratorEtaBarrel;Calo #eta ";
2275 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2276 NumeratorEtaBarrel->
getTH1();
2278 histoname = labelname +
"_NumeratorPhiBarrel";
2279 title = labelname +
"NumeratorPhiBarrel;Calo #Phi";
2281 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2282 NumeratorPhiBarrel->
getTH1();
2284 histoname = labelname +
"_NumeratorEtaEndcap";
2285 title = labelname +
"NumeratorEtaEndcap;Calo #eta ";
2287 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2288 NumeratorEtaEndcap->
getTH1();
2290 histoname = labelname +
"_NumeratorPhiEndcap";
2291 title = labelname +
"NumeratorPhiEndcap;Calo #Phi";
2293 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2294 NumeratorPhiEndcap->
getTH1();
2296 histoname = labelname +
"_NumeratorEtaForward";
2297 title = labelname +
"NumeratorEtaForward;Calo #eta ";
2299 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2300 NumeratorEtaForward->
getTH1();
2302 histoname = labelname +
"_NumeratorPhiForward";
2303 title = labelname +
"NumeratorPhiForward;Calo #Phi";
2305 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2306 NumeratorPhiForward->
getTH1();
2308 histoname = labelname +
"_NumeratorEta_LowpTcut";
2309 title = labelname +
"NumeratorEta_LowpTcut;Calo #eta ";
2311 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2312 NumeratorEta_LowpTcut->
getTH1();
2314 histoname = labelname +
"_NumeratorPhi_LowpTcut";
2315 title = labelname +
"NumeratorPhi_LowpTcut;Calo #Phi";
2317 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2318 NumeratorPhi_LowpTcut->
getTH1();
2320 histoname = labelname +
"_NumeratorEtaPhi_LowpTcut";
2321 title = labelname +
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2323 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2324 NumeratorEtaPhi_LowpTcut->
getTH1();
2326 histoname = labelname +
"_NumeratorEta_MedpTcut";
2327 title = labelname +
"NumeratorEta_MedpTcut;Calo #eta ";
2329 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2330 NumeratorEta_MedpTcut->
getTH1();
2332 histoname = labelname +
"_NumeratorPhi_MedpTcut";
2333 title = labelname +
"NumeratorPhi_MedpTcut;Calo #Phi";
2335 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2336 NumeratorPhi_MedpTcut->
getTH1();
2338 histoname = labelname +
"_NumeratorEtaPhi_MedpTcut";
2339 title = labelname +
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2341 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2342 NumeratorEtaPhi_MedpTcut->
getTH1();
2344 histoname = labelname +
"_NumeratorEta_HighpTcut";
2345 title = labelname +
"NumeratorEta_HighpTcut;Calo #eta ";
2347 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2348 NumeratorEta_HighpTcut->
getTH1();
2350 histoname = labelname +
"_NumeratorPhi_HighpTcut";
2351 title = labelname +
"NumeratorPhi_HighpTcut;Calo #Phi";
2353 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2354 NumeratorPhi_HighpTcut->
getTH1();
2356 histoname = labelname +
"_NumeratorEtaPhi_HighpTcut";
2357 title = labelname +
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2359 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2360 NumeratorEtaPhi_HighpTcut->
getTH1();
2362 histoname = labelname +
"_DenominatorPt";
2363 title = labelname +
"DenominatorPt;Calo Pt[GeV/c]";
2367 histoname = labelname +
"_DenominatorPtBarrel";
2368 title = labelname +
"DenominatorPtBarrel;Calo Pt[GeV/c]";
2370 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2371 DenominatorPtBarrel->
getTH1();
2373 histoname = labelname +
"_DenominatorPtEndcap";
2374 title = labelname +
"DenominatorPtEndcap;Calo Pt[GeV/c]";
2376 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2377 DenominatorPtEndcap->
getTH1();
2379 histoname = labelname +
"_DenominatorPtForward";
2380 title = labelname +
"DenominatorPtForward;Calo Pt[GeV/c] ";
2382 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2383 DenominatorPtForward->
getTH1();
2385 histoname = labelname +
"_DenominatorEta";
2386 title = labelname +
"DenominatorEta;Calo #eta ";
2388 DenominatorEta->
getTH1();
2390 histoname = labelname +
"_DenominatorPhi";
2391 title = labelname +
"DenominatorPhi;Calo #Phi";
2393 DenominatorPhi->
getTH1();
2395 histoname = labelname +
"_DenominatorEtaPhi";
2396 title = labelname +
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
2398 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2399 DenominatorEtaPhi->
getTH1();
2401 histoname = labelname +
"_DenominatorEtaBarrel";
2402 title = labelname +
"DenominatorEtaBarrel;Calo #eta ";
2404 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2405 DenominatorEtaBarrel->
getTH1();
2407 histoname = labelname +
"_DenominatorPhiBarrel";
2408 title = labelname +
"DenominatorPhiBarrel;Calo #Phi";
2410 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2411 DenominatorPhiBarrel->
getTH1();
2413 histoname = labelname +
"_DenominatorEtaEndcap";
2414 title = labelname +
"DenominatorEtaEndcap;Calo #eta ";
2416 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2417 DenominatorEtaEndcap->
getTH1();
2419 histoname = labelname +
"_DenominatorPhiEndcap";
2420 title = labelname +
"DenominatorPhiEndcap;Calo #Phi";
2422 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2423 DenominatorPhiEndcap->
getTH1();
2425 histoname = labelname +
"_DenominatorEtaForward";
2426 title = labelname +
"DenominatorEtaForward;Calo #eta ";
2428 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2429 DenominatorEtaForward->
getTH1();
2431 histoname = labelname +
"_DenominatorPhiForward";
2432 title = labelname +
"DenominatorPhiForward;Calo #Phi";
2434 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2435 DenominatorPhiForward->
getTH1();
2437 histoname = labelname +
"_DenominatorEta_LowpTcut";
2438 title = labelname +
"DenominatorEta_LowpTcut;Calo #eta ";
2440 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2441 DenominatorEta_LowpTcut->
getTH1();
2443 histoname = labelname +
"_DenominatorPhi_LowpTcut";
2444 title = labelname +
"DenominatorPhi_LowpTcut;Calo #Phi";
2446 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2447 DenominatorPhi_LowpTcut->
getTH1();
2449 histoname = labelname +
"_DenominatorEtaPhi_LowpTcut";
2450 title = labelname +
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2452 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2453 DenominatorEtaPhi_LowpTcut->
getTH1();
2455 histoname = labelname +
"_DenominatorEta_MedpTcut";
2456 title = labelname +
"DenominatorEta_MedpTcut;Calo #eta ";
2458 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2459 DenominatorEta_MedpTcut->
getTH1();
2461 histoname = labelname +
"_DenominatorPhi_MedpTcut";
2462 title = labelname +
"DenominatorPhi_MedpTcut;Calo #Phi";
2464 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2465 DenominatorPhi_MedpTcut->
getTH1();
2467 histoname = labelname +
"_DenominatorEtaPhi_MedpTcut";
2468 title = labelname +
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2470 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2471 DenominatorEtaPhi_MedpTcut->
getTH1();
2473 histoname = labelname +
"_DenominatorEta_HighpTcut";
2474 title = labelname +
"DenominatorEta_HighpTcut;Calo #eta ";
2476 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2477 DenominatorEta_HighpTcut->
getTH1();
2479 histoname = labelname +
"_DenominatorPhi_HighpTcut";
2480 title = labelname +
"DenominatorPhi_HighpTcut;Calo #Phi";
2482 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2483 DenominatorPhi_HighpTcut->
getTH1();
2485 histoname = labelname +
"_DenominatorEtaPhi_HighpTcut";
2486 title = labelname +
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2488 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2489 DenominatorEtaPhi_HighpTcut->
getTH1();
2491 histoname = labelname +
"_DeltaR";
2492 title = labelname +
"DeltaR;";
2496 histoname = labelname +
"_DeltaPhi";
2497 title = labelname +
"DeltaPhi;";
2501 histoname = labelname +
"_NumeratorPFMHT";
2502 title = labelname +
"NumeratorPFMHT;PFMHT[GeV/c]";
2504 NumeratorPFMHT->
getTH1();
2506 histoname = labelname +
"_NumeratorPFPt";
2507 title = labelname +
"NumeratorPFPt;PF Pt[GeV/c]";
2511 histoname = labelname +
"_NumeratorPFPtBarrel";
2512 title = labelname +
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
2514 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2515 NumeratorPFPtBarrel->
getTH1();
2517 histoname = labelname +
"_NumeratorPFPtEndcap";
2518 title = labelname +
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
2520 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2521 NumeratorPFPtEndcap->
getTH1();
2523 histoname = labelname +
"_NumeratorPFPtForward";
2524 title = labelname +
"NumeratorPFPtForward;PF Pt[GeV/c]";
2526 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2527 NumeratorPFPtForward->
getTH1();
2529 histoname = labelname +
"_NumeratorPFEta";
2530 title = labelname +
"NumeratorPFEta;PF #eta ";
2532 NumeratorPFEta->
getTH1();
2534 histoname = labelname +
"_NumeratorPFPhi";
2535 title = labelname +
"NumeratorPFPhi;Calo #Phi";
2537 NumeratorPFPhi->
getTH1();
2539 histoname = labelname +
"_NumeratorPFEtaPhi";
2540 title = labelname +
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
2542 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2543 NumeratorPFEtaPhi->
getTH1();
2545 histoname = labelname +
"_NumeratorPFEtaBarrel";
2546 title = labelname +
"NumeratorPFEtaBarrel;PF #eta ";
2548 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2549 NumeratorPFEtaBarrel->
getTH1();
2551 histoname = labelname +
"_NumeratorPFPhiBarrel";
2552 title = labelname +
"NumeratorPFPhiBarrel;PF #Phi";
2554 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2555 NumeratorPFPhiBarrel->
getTH1();
2557 histoname = labelname +
"_NumeratorPFEtaEndcap";
2558 title = labelname +
"NumeratorPFEtaEndcap;Calo #eta ";
2560 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2561 NumeratorPFEtaEndcap->
getTH1();
2563 histoname = labelname +
"_NumeratorPFPhiEndcap";
2564 title = labelname +
"NumeratorPFPhiEndcap;PF #Phi";
2566 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2567 NumeratorPFPhiEndcap->
getTH1();
2569 histoname = labelname +
"_NumeratorPFEtaForward";
2570 title = labelname +
"NumeratorPFEtaForward;Calo #eta ";
2572 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2573 NumeratorPFEtaForward->
getTH1();
2575 histoname = labelname +
"_NumeratorPFPhiForward";
2576 title = labelname +
"NumeratorPFPhiForward;PF #Phi";
2578 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2579 NumeratorPFPhiForward->
getTH1();
2581 histoname = labelname +
"_NumeratorPFEta_LowpTcut";
2582 title = labelname +
"NumeratorPFEta_LowpTcut;PF #eta ";
2584 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2585 NumeratorPFEta_LowpTcut->
getTH1();
2587 histoname = labelname +
"_NumeratorPFPhi_LowpTcut";
2588 title = labelname +
"NumeratorPFPhi_LowpTcut;PF #Phi";
2590 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2591 NumeratorPFPhi_LowpTcut->
getTH1();
2593 histoname = labelname +
"_NumeratorPFEtaPhi_LowpTcut";
2594 title = labelname +
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2596 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2597 NumeratorPFEtaPhi_LowpTcut->
getTH1();
2599 histoname = labelname +
"_NumeratorPFEta_MedpTcut";
2600 title = labelname +
"NumeratorPFEta_MedpTcut;PF #eta ";
2602 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2603 NumeratorPFEta_MedpTcut->
getTH1();
2605 histoname = labelname +
"_NumeratorPFPhi_MedpTcut";
2606 title = labelname +
"NumeratorPFPhi_MedpTcut;PF #Phi";
2608 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2609 NumeratorPFPhi_MedpTcut->
getTH1();
2611 histoname = labelname +
"_NumeratorPFEtaPhi_MedpTcut";
2612 title = labelname +
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
2614 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2615 NumeratorPFEtaPhi_MedpTcut->
getTH1();
2617 histoname = labelname +
"_NumeratorPFEta_HighpTcut";
2618 title = labelname +
"NumeratorPFEta_HighpTcut;Calo #eta ";
2620 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2621 NumeratorPFEta_HighpTcut->
getTH1();
2623 histoname = labelname +
"_NumeratorPFPhi_HighpTcut";
2624 title = labelname +
"NumeratorPFPhi_HighpTcut;PF #Phi";
2626 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2627 NumeratorPFPhi_HighpTcut->
getTH1();
2629 histoname = labelname +
"_NumeratorPFEtaPhi_HighpTcut";
2630 title = labelname +
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
2632 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2633 NumeratorPFEtaPhi_HighpTcut->
getTH1();
2635 histoname = labelname +
"_DenominatorPFMHT";
2636 title = labelname +
"DenominatorPFMHT;PF Pt[GeV/c]";
2638 DenominatorPFMHT->
getTH1();
2640 histoname = labelname +
"_DenominatorPFPt";
2641 title = labelname +
"DenominatorPFPt;PF Pt[GeV/c]";
2643 DenominatorPFPt->
getTH1();
2645 histoname = labelname +
"_DenominatorPFPtBarrel";
2646 title = labelname +
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
2648 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2649 DenominatorPFPtBarrel->
getTH1();
2651 histoname = labelname +
"_DenominatorPFPtEndcap";
2652 title = labelname +
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
2654 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2655 DenominatorPFPtEndcap->
getTH1();
2657 histoname = labelname +
"_DenominatorPFPtForward";
2658 title = labelname +
"DenominatorPFPtForward;PF Pt[GeV/c] ";
2660 iBooker.
book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2661 DenominatorPFPtForward->
getTH1();
2663 histoname = labelname +
"_DenominatorPFEta";
2664 title = labelname +
"DenominatorPFEta;PF #eta ";
2666 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2667 DenominatorPFEta->
getTH1();
2669 histoname = labelname +
"_DenominatorPFPhi";
2670 title = labelname +
"DenominatorPFPhi;PF #Phi";
2672 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2673 DenominatorPFPhi->
getTH1();
2675 histoname = labelname +
"_DenominatorPFEtaPhi";
2676 title = labelname +
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
2678 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2679 DenominatorPFEtaPhi->
getTH1();
2681 histoname = labelname +
"_DenominatorPFEtaBarrel";
2682 title = labelname +
"DenominatorPFEtaBarrel;Calo #eta ";
2684 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2685 DenominatorPFEtaBarrel->
getTH1();
2687 histoname = labelname +
"_DenominatorPFPhiBarrel";
2688 title = labelname +
"DenominatorPFPhiBarrel;PF #Phi";
2690 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2691 DenominatorPFPhiBarrel->
getTH1();
2693 histoname = labelname +
"_DenominatorPFEtaEndcap";
2694 title = labelname +
"DenominatorPFEtaEndcap;PF #eta ";
2696 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2697 DenominatorPFEtaEndcap->
getTH1();
2699 histoname = labelname +
"_DenominatorPFPhiEndcap";
2700 title = labelname +
"DenominatorPFPhiEndcap;Calo #Phi";
2702 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2703 DenominatorPFPhiEndcap->
getTH1();
2705 histoname = labelname +
"_DenominatorPFEtaForward";
2706 title = labelname +
"DenominatorPFEtaForward;PF #eta ";
2708 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2709 DenominatorPFEtaForward->
getTH1();
2711 histoname = labelname +
"_DenominatorPFPhiForward";
2712 title = labelname +
"DenominatorPFPhiForward;PF #Phi";
2714 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2715 DenominatorPFPhiForward->
getTH1();
2717 histoname = labelname +
"_DenominatorPFEta_LowpTcut";
2718 title = labelname +
"DenominatorPFEta_LowpTcut;PF #eta ";
2720 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2721 DenominatorPFEta_LowpTcut->
getTH1();
2723 histoname = labelname +
"_DenominatorPFPhi_LowpTcut";
2724 title = labelname +
"DenominatorPFPhi_LowpTcut;PF #Phi";
2726 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2727 DenominatorPFPhi_LowpTcut->
getTH1();
2729 histoname = labelname +
"_DenominatorPFEtaPhi_LowpTcut";
2730 title = labelname +
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2732 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2733 DenominatorPFEtaPhi_LowpTcut->
getTH1();
2735 histoname = labelname +
"_DenominatorPFEta_MedpTcut";
2736 title = labelname +
"DenominatorPFEta_MedpTcut;PF #eta ";
2738 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2739 DenominatorPFEta_MedpTcut->
getTH1();
2741 histoname = labelname +
"_DenominatorPFPhi_MedpTcut";
2742 title = labelname +
"DenominatorPFPhi_MedpTcut;PF #Phi";
2744 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2745 DenominatorPFPhi_MedpTcut->
getTH1();
2747 histoname = labelname +
"_DenominatorPFEtaPhi_MedpTcut";
2748 title = labelname +
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
2750 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2751 DenominatorPFEtaPhi_MedpTcut->
getTH1();
2753 histoname = labelname +
"_DenominatorPFEta_HighpTcut";
2754 title = labelname +
"DenominatorPFEta_HighpTcut;PF #eta ";
2756 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2757 DenominatorPFEta_HighpTcut->
getTH1();
2759 histoname = labelname +
"_DenominatorPFPhi_HighpTcut";
2760 title = labelname +
"DenominatorPFPhi_HighpTcut;PF #Phi";
2762 iBooker.
book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2763 DenominatorPFPhi_HighpTcut->
getTH1();
2765 histoname = labelname +
"_DenominatorPFEtaPhi_HighpTcut";
2766 title = labelname +
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
2768 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2769 DenominatorPFEtaPhi_HighpTcut->
getTH1();
2771 histoname = labelname +
"_PFDeltaR";
2772 title = labelname +
"PFDeltaR;";
2776 histoname = labelname +
"_PFDeltaPhi";
2777 title = labelname +
"PFDeltaPhi;";
2781 v.setEffHistos(NumeratorPt,
2793 NumeratorEtaForward,
2794 NumeratorPhiForward,
2795 NumeratorEta_LowpTcut,
2796 NumeratorPhi_LowpTcut,
2797 NumeratorEtaPhi_LowpTcut,
2798 NumeratorEta_MedpTcut,
2799 NumeratorPhi_MedpTcut,
2800 NumeratorEtaPhi_MedpTcut,
2801 NumeratorEta_HighpTcut,
2802 NumeratorPhi_HighpTcut,
2803 NumeratorEtaPhi_HighpTcut,
2806 DenominatorPtBarrel,
2807 DenominatorPtEndcap,
2808 DenominatorPtForward,
2813 DenominatorEtaBarrel,
2814 DenominatorPhiBarrel,
2815 DenominatorEtaEndcap,
2816 DenominatorPhiEndcap,
2817 DenominatorEtaForward,
2818 DenominatorPhiForward,
2819 DenominatorEta_LowpTcut,
2820 DenominatorPhi_LowpTcut,
2821 DenominatorEtaPhi_LowpTcut,
2822 DenominatorEta_MedpTcut,
2823 DenominatorPhi_MedpTcut,
2824 DenominatorEtaPhi_MedpTcut,
2825 DenominatorEta_HighpTcut,
2826 DenominatorPhi_HighpTcut,
2827 DenominatorEtaPhi_HighpTcut,
2833 NumeratorPFPtBarrel,
2834 NumeratorPFPtEndcap,
2835 NumeratorPFPtForward,
2839 NumeratorPFEtaBarrel,
2840 NumeratorPFPhiBarrel,
2841 NumeratorPFEtaEndcap,
2842 NumeratorPFPhiEndcap,
2843 NumeratorPFEtaForward,
2844 NumeratorPFPhiForward,
2845 NumeratorPFEta_LowpTcut,
2846 NumeratorPFPhi_LowpTcut,
2847 NumeratorPFEtaPhi_LowpTcut,
2848 NumeratorPFEta_MedpTcut,
2849 NumeratorPFPhi_MedpTcut,
2850 NumeratorPFEtaPhi_MedpTcut,
2851 NumeratorPFEta_HighpTcut,
2852 NumeratorPFPhi_HighpTcut,
2853 NumeratorPFEtaPhi_HighpTcut,
2856 DenominatorPFPtBarrel,
2857 DenominatorPFPtEndcap,
2858 DenominatorPFPtForward,
2861 DenominatorPFEtaPhi,
2862 DenominatorPFEtaBarrel,
2863 DenominatorPFPhiBarrel,
2864 DenominatorPFEtaEndcap,
2865 DenominatorPFPhiEndcap,
2866 DenominatorPFEtaForward,
2867 DenominatorPFPhiForward,
2868 DenominatorPFEta_LowpTcut,
2869 DenominatorPFPhi_LowpTcut,
2870 DenominatorPFEtaPhi_LowpTcut,
2871 DenominatorPFEta_MedpTcut,
2872 DenominatorPFPhi_MedpTcut,
2873 DenominatorPFEtaPhi_MedpTcut,
2874 DenominatorPFEta_HighpTcut,
2875 DenominatorPFPhi_HighpTcut,
2876 DenominatorPFEtaPhi_HighpTcut,
2883 histoname = labelname +
"_NumeratorAvrgPt";
2884 title = labelname +
"NumeratorAvrgPt;Calo Pt[GeV/c]";
2888 histoname = labelname +
"_NumeratorAvrgEta";
2889 title = labelname +
"NumeratorAvrgEta;Calo #eta";
2893 histoname = labelname +
"_DenominatorAvrgPt";
2894 title = labelname +
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
2898 histoname = labelname +
"_DenominatorAvrgEta";
2899 title = labelname +
"DenominatorAvrgEta;Calo #eta";
2901 DenominatorEta->
getTH1();
2903 histoname = labelname +
"_DeltaR";
2904 title = labelname +
"DeltaR;";
2908 histoname = labelname +
"_DeltaPhi";
2909 title = labelname +
"DeltaPhi;";
2914 histoname = labelname +
"_NumeratorAvrgPFPt";
2915 title = labelname +
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
2919 histoname = labelname +
"_NumeratorAvrgPFEta";
2920 title = labelname +
"NumeratorAvrgPFEta;PF #eta";
2922 NumeratorPFEta->
getTH1();
2924 histoname = labelname +
"_DenominatorAvrgPFPt";
2925 title = labelname +
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
2927 DenominatorPFPt->
getTH1();
2929 histoname = labelname +
"_DenominatorAvrgPFEta";
2930 title = labelname +
"DenominatorAvrgPFEta;PF #eta";
2932 iBooker.
book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2933 DenominatorPFEta->
getTH1();
2935 histoname = labelname +
"_PFDeltaR";
2936 title = labelname +
"PFDeltaR;";
2940 histoname = labelname +
"_PFDeltaPhi";
2941 title = labelname +
"PFDeltaPhi;";
3042 histoname = labelname +
"_NumeratorPt";
3043 if (
v.getPath().find(
"HLT_PFMET") == std::string::npos)
3044 title = labelname +
"NumeratorPt; CaloMET[GeV/c]";
3046 title = labelname +
"NumeratorPt; PFMET[GeV/c]";
3050 histoname = labelname +
"_NumeratorPhi";
3051 title = labelname +
"NumeratorPhi; #Phi";
3055 histoname = labelname +
"_DenominatorPt";
3056 if (
v.getPath().find(
"HLT_PFMET") == std::string::npos)
3057 title = labelname +
"DenominatorPt; CaloMET[GeV/c]";
3059 title = labelname +
"DenominatorPt; PFMET[GeV/c]";
3063 histoname = labelname +
"_DenominatorPhi";
3064 title = labelname +
"DenominatorPhi; #Phi";
3066 DenominatorPhi->
getTH1();
3068 v.setEffHistos(NumeratorPt,
3175 double PtMax_ = 1000.;
3176 double EtaMin_ = -5.;
3177 double EtaMax_ = 5.;
3178 double PhiMin_ = -3.14159;
3179 double PhiMax_ = 3.14159;
3193 histoname = labelname +
"_TriggerSummary";
3194 title = labelname +
"Summary of trigger levels";
3197 std::vector<std::string>
trigger;
3199 trigger.emplace_back(
"L1 failed");
3200 trigger.emplace_back(
"L1 & HLT failed");
3201 trigger.emplace_back(
"L1 failed but not HLT");
3202 trigger.emplace_back(
"L1 passed");
3203 trigger.emplace_back(
"L1 & HLT passed");
3204 trigger.emplace_back(
"L1 passed but not HLT");
3206 for (
unsigned int i = 0;
i <
trigger.size();
i++)
3209 if ((
v.getTriggerType() ==
"SingleJet_Trigger")) {
3210 histoname = labelname +
"_JetPt";
3211 title = labelname +
"Leading jet pT;Pt[GeV/c]";
3215 histoname = labelname +
"_JetEtaVsPt";
3216 title = labelname +
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
3218 iBooker.
book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Ptbins_, PtMin_, PtMax_);
3221 histoname = labelname +
"_JetPhiVsPt";
3222 title = labelname +
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
3224 iBooker.
book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Ptbins_, PtMin_, PtMax_);
3228 TriggerSummary,
dummy, JetPt, JetEtaVsPt, JetPhiVsPt,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);
3231 if ((
v.getTriggerType() ==
"DiJet_Trigger")) {
3232 histoname = labelname +
"_JetSize";
3233 title = labelname +
"Jet Size;multiplicity";
3237 histoname = labelname +
"_AvergPt";
3238 title = labelname +
"Average Pt;Pt[GeV/c]";
3242 histoname = labelname +
"_AvergEta";
3243 title = labelname +
"Average Eta;#eta";
3247 histoname = labelname +
"_PhiDifference";
3248 title = labelname +
"#Delta#Phi;#Delta#Phi";
3252 histoname = labelname +
"_Pt3Jet";
3253 title = labelname +
"Pt of 3rd Jet;Pt[GeV/c]";
3257 histoname = labelname +
"_Pt12VsPt3Jet";
3258 title = labelname +
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
3260 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
3263 histoname = labelname +
"_Pt12VsPhi12";
3265 "Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
3267 iBooker.
book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Phibins_, PhiMin_, PhiMax_);
3270 v.setDgnsHistos(
TriggerSummary, JetSize,
dummy,
dummy,
dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
3273 if ((
v.getTriggerType() ==
"MET_Trigger")) {
3274 histoname = labelname +
"_MET";
3275 title = labelname +
"MET;Pt[GeV/c]";
3279 v.setDgnsHistos(
TriggerSummary,
dummy,
MET,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);
3282 if ((
v.getTriggerType() ==
"TET_Trigger")) {
3283 histoname = labelname +
"_TET";
3284 title = labelname +
"TET;Pt[GeV/c]";
3288 v.setDgnsHistos(
TriggerSummary,
dummy, TET,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);
3303 for (
auto& numpathmodule : numpathmodules) {
3305 l1pathname = numpathmodule;
3315 if (fabs(
eta) <= 1.3)
3323 if (fabs(
eta) <= 3.0 && fabs(
eta) > 1.3)
3331 if (fabs(
eta) > 3.0)
3363 double binVal = -100;
3364 for (
int ibin = 1; ibin <
nbins + 1; ibin++) {
3365 const char* binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
3366 if (binLabel[0] ==
'\0')
3388 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index " <<
index <<
" of that name ";