39 using namespace trigger;
44 LogDebug(
"JetMETHLTOfflineSource") <<
"constructor....";
93 std::vector<edm::ParameterSet>
paths = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"pathPairs");
94 for(std::vector<edm::ParameterSet>::iterator pathconf = paths.begin() ; pathconf != paths.end(); pathconf++) {
97 pathconf->getParameter<
std::string>(
"denompathname")
117 cout <<
"============================================================" << endl;
118 cout <<
" New event" << endl << endl;
126 if (
verbose_)
cout <<
" triggerResults not valid" << endl;
127 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"TriggerResults not found, "
142 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"TriggerEvent not found, "
151 cout <<
"============================================================" << endl;
152 cout <<
" Reading in offline objects" << endl << endl;
178 cout <<
"============================================================" << endl;
179 cout <<
" Read in offline objects" << endl << endl;
187 for(
int i=0;
i<2;
i++){
210 CaloJetCollection::const_iterator calojet_ =
calojet.begin();
211 for(; calojet_ !=
calojet.end(); ++calojet_){
212 double scale = calocorrector->correction(*calojet_);
252 PFJetCollection::const_iterator pfjet_ =
pfjet.begin();
253 for(; pfjet_ !=
pfjet.end(); ++pfjet_){
254 double scale = pfcorrector->correction(*pfjet_);
257 if(scale*pfjet_->pt()>
PFJetPt[0]){
268 PFJetPt[0] = scale*pfjet_->pt();
269 PFJetPx[0] = scale*pfjet_->px();
270 PFJetPy[0] = scale*pfjet_->py();
273 PFJetNHEF[0] = pfjet_->neutralHadronEnergyFraction();
274 PFJetCHEF[0] = pfjet_->chargedHadronEnergyFraction();
275 PFJetNEMF[0] = pfjet_->neutralEmEnergyFraction();
276 PFJetCEMF[0] = pfjet_->chargedEmEnergyFraction();
278 else if(scale*pfjet_->pt()<
PFJetPt[0] && scale*pfjet_->pt()>
PFJetPt[1] ){
279 PFJetPt[1] = scale*pfjet_->pt();
280 PFJetPx[1] = scale*pfjet_->px();
281 PFJetPy[1] = scale*pfjet_->py();
284 PFJetNHEF[1] = pfjet_->neutralHadronEnergyFraction();
285 PFJetCHEF[1] = pfjet_->chargedHadronEnergyFraction();
286 PFJetNEMF[1] = pfjet_->neutralEmEnergyFraction();
287 PFJetCEMF[1] = pfjet_->chargedEmEnergyFraction();
293 for(
int i = 0;
i<2;
i++){
297 for(
int i = 0;
i<2;
i++){
315 cout <<
">> Inside fillMEforMonTriggerSummary " << endl;
320 for (
unsigned int j=0;
j!=nPath; ++
j) {
325 if(
verbose_)
cout<<
"fillMEforMonTriggerSummary: Muon Match"<<endl;
336 for (
unsigned int j=0;
j!=nPath; ++
j) {
341 if(
verbose_)
cout<<
"fillMEforMonTriggerSummary: MinBias Match"<<endl;
351 bool trigFirst=
false;
354 if(!trigFirst)
continue;
367 for(PathInfoCollection::iterator
w = v+1;
w!=
hltPathsAll_.end(); ++
w ){
368 bool trigSec =
false;
371 if(trigSec && trigFirst){
376 if(!trigSec && trigFirst){
388 for (VertexCollection::const_iterator itv=Vtx->begin(); itv!=Vtx->end(); itv++){
404 cout <<
">> Inside fillMEforTriggerNTfired" << endl;
407 cout <<
" ... and triggerResults is valid" << endl;
413 v->getMEhisto_TriggerSummary()->Fill(0.);
415 const int l1Index =
triggerObj_->filterIndex(l1Tag);
416 bool l1found =
false;
417 if(l1Index < triggerObj_->sizeFilters() ) l1found =
true;
418 if(!l1found)
v->getMEhisto_TriggerSummary()->Fill(1.);
419 if(!l1found && !(
triggerResults_->accept(index)))
v->getMEhisto_TriggerSummary()->Fill(2.);
420 if(!l1found && (
triggerResults_->accept(index)))
v->getMEhisto_TriggerSummary()->Fill(3.);
421 if(l1found)
v->getMEhisto_TriggerSummary()->Fill(4.);
422 if(l1found && (
triggerResults_->accept(index)))
v->getMEhisto_TriggerSummary()->Fill(5.);
423 if(l1found && !(
triggerResults_->accept(index)))
v->getMEhisto_TriggerSummary()->Fill(6.);
427 CaloJetCollection::const_iterator
jet =
calojet.begin();
428 v->getMEhisto_JetPt()->Fill(jet->pt());
429 v->getMEhisto_EtavsPt()->Fill(jet->eta(),jet->pt());
430 v->getMEhisto_PhivsPt()->Fill(jet->phi(),jet->pt());
435 v->getMEhisto_JetSize()->Fill(
calojet.size());
437 CaloJetCollection::const_iterator
jet =
calojet.begin();
438 CaloJetCollection::const_iterator jet2=
calojet.begin(); jet2++;
441 CaloJetCollection::const_iterator jet3 = jet2++;
444 v->getMEhisto_Pt12()->Fill((jet->pt()+jet2->pt())/2.);
445 v->getMEhisto_Eta12()->Fill((jet->eta()+jet2->eta())/2.);
446 v->getMEhisto_Phi12()->Fill(
deltaPhi(jet->phi(),jet2->phi()));
447 v->getMEhisto_Pt3()->Fill(jet3pt);
448 v->getMEhisto_Pt12Pt3()->Fill((jet->pt()+jet2->pt())/2., jet3pt);
449 v->getMEhisto_Pt12Phi12()->Fill((jet->pt()+jet2->pt())/2.,
deltaPhi(jet->phi(),jet2->phi()));
453 if(((
v->getTriggerType().compare(
"MET_Trigger") == 0)|| (
v->getTriggerType().compare(
"TET_Trigger") == 0)) &&
calometColl_.
isValid() ){
456 v->getMEhisto_JetPt()->Fill(met.
pt());
468 cout <<
">> Inside fillMEforMonAllTrigger " << endl;
471 cout <<
" ... and triggerResults is valid" << endl;
476 cout <<
" + Checking path " <<
v->getPath();
479 cout <<
" - failed" << endl;
483 cout <<
" - PASSED! " << endl;
486 std::vector<double>jetPtVec;
487 std::vector<double>jetPhiVec;
488 std::vector<double>jetEtaVec;
489 std::vector<double>jetPxVec;
490 std::vector<double>jetPyVec;
491 std::vector<double>hltPtVec;
492 std::vector<double>hltPhiVec;
493 std::vector<double>hltEtaVec;
494 std::vector<double>hltPxVec;
495 std::vector<double>hltPyVec;
502 cout <<
" - L1Path = " <<
v->getl1Path() << endl;
503 cout <<
" - Label = " <<
v->getLabel() << endl;
508 const int l1Index =
triggerObj_->filterIndex(l1Tag);
510 cout <<
" - l1Index = " << l1Index <<
" - l1Tag = [" << l1Tag <<
"]" << endl;
514 const int hltIndex =
triggerObj_->filterIndex(hltTag);
516 cout <<
" - hltIndex = " << hltIndex <<
" - hltTag = [" << hltTag <<
"]" << endl;
520 bool hltTrigBool =
false;
521 bool diJetFire =
false;
525 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index "<< l1Index <<
" of that name "<<l1Tag;
527 cout <<
"[JetMETHLTOfflineSource::fillMEforMonAllTrigger] - No index l1Index="
528 << l1Index <<
" of that name \"" << l1Tag <<
"\"" << endl;
535 &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)
536 v->getMEhisto_N_L1()->Fill(kl1.size());
538 trigger::Keys::const_iterator ki = kl1.begin();
539 for(; ki != kl1.end(); ++ki){
540 double l1TrigEta = -100;
541 double l1TrigPhi = -100;
544 l1TrigEta = toc[*ki].eta();
545 l1TrigPhi = toc[*ki].phi();
546 if(
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
547 v->getMEhisto_Pt_L1()->Fill(toc[*ki].
pt());
548 if (
isBarrel(toc[*ki].
eta()))
v->getMEhisto_PtBarrel_L1()->Fill(toc[*ki].
pt());
549 if (
isEndCap(toc[*ki].
eta()))
v->getMEhisto_PtEndcap_L1()->Fill(toc[*ki].
pt());
550 if (
isForward(toc[*ki].
eta()))
v->getMEhisto_PtForward_L1()->Fill(toc[*ki].
pt());
551 v->getMEhisto_Eta_L1()->Fill(toc[*ki].
eta());
552 v->getMEhisto_Phi_L1()->Fill(toc[*ki].
phi());
553 v->getMEhisto_EtaPhi_L1()->Fill(toc[*ki].
eta(),toc[*ki].
phi());
558 v->getMEhisto_Pt_L1()->Fill(toc[*ki].
pt());
559 v->getMEhisto_Phi_L1()->Fill(toc[*ki].
phi());
564 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
566 cout <<
"[JetMETHLTOfflineSource::fillMEforMonAllTrigger] - No index hltIndex="
567 << hltIndex <<
" of that name " << endl;
573 &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)
574 v->getMEhisto_N_HLT()->Fill(khlt.size());
576 trigger::Keys::const_iterator kj = khlt.begin();
578 for(;kj != khlt.end(); ++kj){
580 double hltTrigEta = -100;
581 double hltTrigPhi = -100;
582 hltTrigEta = toc[*kj].eta();
583 hltTrigPhi = toc[*kj].phi();
584 if((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi)) < 0.4
585 && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0))
591 for(;kj != khlt.end(); ++kj){
592 double hltTrigEta = -100.;
593 double hltTrigPhi = -100.;
597 cout <<
"+ MET Triggers plots" << endl;
599 v->getMEhisto_Pt_HLT()->Fill(toc[*kj].
pt());
600 v->getMEhisto_Phi_HLT()->Fill(toc[*kj].
phi());
601 v->getMEhisto_PtCorrelation_L1HLT()->Fill(toc[*ki].
pt(),toc[*kj].
pt());
602 v->getMEhisto_PhiCorrelation_L1HLT()->Fill(toc[*ki].
phi(),toc[*kj].
phi());
603 v->getMEhisto_PtResolution_L1HLT()->Fill((toc[*ki].
pt()-toc[*kj].
pt())/(toc[*ki].
pt()));
604 v->getMEhisto_PhiResolution_L1HLT()->Fill(toc[*ki].
phi()-toc[*kj].
phi());
608 cout <<
"+ Jet Trigger plots" << endl;
611 cout <<
" - Going for those..." << endl;
612 hltTrigEta = toc[*kj].eta();
613 hltTrigPhi = toc[*kj].phi();
614 if((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi)) < 0.4){
615 if(
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
616 v->getMEhisto_PtCorrelation_L1HLT()->Fill(toc[*ki].
pt(),toc[*kj].
pt());
617 v->getMEhisto_EtaCorrelation_L1HLT()->Fill(toc[*ki].
eta(),toc[*kj].
eta());
618 v->getMEhisto_PhiCorrelation_L1HLT()->Fill(toc[*ki].
phi(),toc[*kj].
phi());
619 v->getMEhisto_PtResolution_L1HLT()->Fill((toc[*ki].
pt()-toc[*kj].
pt())/(toc[*ki].
pt()));
620 v->getMEhisto_EtaResolution_L1HLT()->Fill(toc[*ki].
eta()-toc[*kj].
eta());
621 v->getMEhisto_PhiResolution_L1HLT()->Fill(toc[*ki].
phi()-toc[*kj].
phi());
624 if(((
deltaR(hltTrigEta, hltTrigPhi, l1TrigEta, l1TrigPhi) < 0.4 )
625 || ((
v->getTriggerType().compare(
"DiJet_Trigger") == 0) && hltTrigBool)) && !diJetFire){
626 if(
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
627 v->getMEhisto_Pt_HLT()->Fill(toc[*kj].
pt());
628 if (
isBarrel(toc[*kj].
eta()))
v->getMEhisto_PtBarrel_HLT()->Fill(toc[*kj].
pt());
629 if (
isEndCap(toc[*kj].
eta()))
v->getMEhisto_PtEndcap_HLT()->Fill(toc[*kj].
pt());
630 if (
isForward(toc[*kj].
eta()))
v->getMEhisto_PtForward_HLT()->Fill(toc[*kj].
pt());
631 v->getMEhisto_Eta_HLT()->Fill(toc[*kj].
eta());
632 v->getMEhisto_Phi_HLT()->Fill(toc[*kj].
phi());
633 v->getMEhisto_EtaPhi_HLT()->Fill(toc[*kj].
eta(),toc[*kj].
phi());
639 && (
v->getPath().compare(
"PFJet") == 0)){
642 for(
int iCalo=0; iCalo<2; iCalo++){
645 if(
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
655 v->getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
pt(),
CaloJetPt[iCalo]);
656 v->getMEhisto_EtaCorrelation_HLTRecObj()->Fill(toc[*kj].
eta(),
CaloJetEta[iCalo]);
657 v->getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),
CaloJetPhi[iCalo]);
659 v->getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
pt()-
CaloJetPt[iCalo])/(toc[*kj].
pt()));
660 v->getMEhisto_EtaResolution_HLTRecObj()->Fill(toc[*kj].
eta()-
CaloJetEta[iCalo]);
661 v->getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi()-
CaloJetPhi[iCalo]);
665 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
672 hltPhiVec.push_back(toc[*kj].
phi());
673 hltPtVec.push_back(toc[*kj].
pt());
674 hltEtaVec.push_back(toc[*kj].
eta());
675 hltPxVec.push_back(toc[*kj].px());
676 hltPyVec.push_back(toc[*kj].py());
685 && (
v->getPath().compare(
"PFJet") != 0)){
688 for(
int iPF=0; iPF<2; iPF++){
691 if(
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
692 v->getMEhisto_Pt()->Fill(
PFJetPt[iPF]);
697 v->getMEhisto_Eta()->Fill(
PFJetEta[iPF]);
698 v->getMEhisto_Phi()->Fill(
PFJetPhi[iPF]);
701 v->getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].
pt(),
PFJetPt[iPF]);
702 v->getMEhisto_EtaCorrelation_HLTRecObj()->Fill(toc[*kj].
eta(),
PFJetEta[iPF]);
703 v->getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),
PFJetPhi[iPF]);
705 v->getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].
pt()-
PFJetPt[iPF])/(toc[*kj].
pt()));
706 v->getMEhisto_EtaResolution_HLTRecObj()->Fill(toc[*kj].
eta()-
PFJetEta[iPF]);
707 v->getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi()-
PFJetPhi[iPF]);
711 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
713 jetPtVec.push_back(
PFJetPt[iPF]);
715 jetPxVec.push_back(
PFJetPx[iPF]);
716 jetPyVec.push_back(
PFJetPy[iPF]);
718 hltPhiVec.push_back(toc[*kj].
phi());
719 hltPtVec.push_back(toc[*kj].
pt());
720 hltEtaVec.push_back(toc[*kj].
eta());
721 hltPxVec.push_back(toc[*kj].px());
722 hltPyVec.push_back(toc[*kj].py());
734 && (
v->getPath().find(
"HLT_PFMET")==std::string::npos)){
738 v->getMEhisto_Pt()->Fill(met.
et());
739 v->getMEhisto_Phi()->Fill(met.
phi());
741 v->getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].et(),met.
et());
742 v->getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),met.
phi());
743 v->getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].et()-met.
et())/(toc[*kj].et()));
744 v->getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi()-met.
phi());
750 && (
v->getPath().find(
"HLT_PFMET")!=std::string::npos)){
752 const PFMET pfmet = pfmetcol->front();
754 v->getMEhisto_Pt()->Fill(pfmet.
et());
755 v->getMEhisto_Phi()->Fill(pfmet.
phi());
757 v->getMEhisto_PtCorrelation_HLTRecObj()->Fill(toc[*kj].et(),pfmet.
et());
758 v->getMEhisto_PhiCorrelation_HLTRecObj()->Fill(toc[*kj].
phi(),pfmet.
phi());
759 v->getMEhisto_PtResolution_HLTRecObj()->Fill((toc[*kj].et()-pfmet.
et())/(toc[*kj].et()));
760 v->getMEhisto_PhiResolution_HLTRecObj()->Fill(toc[*kj].
phi()-pfmet.
phi());
763 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)) diJetFire =
true;
767 v->getMEhisto_N()->Fill(jetsize);
770 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0) && jetPtVec.size() >1){
771 double AveJetPt = (jetPtVec[0] + jetPtVec[1])/2;
772 double AveJetEta = (jetEtaVec[0] + jetEtaVec[1])/2;
773 double JetDelPhi =
deltaPhi(jetPhiVec[0],jetPhiVec[1]);
774 double AveHLTPt = (hltPtVec[0] + hltPtVec[1])/2;
775 double AveHLTEta = (hltEtaVec[0] + hltEtaVec[1])/2;
776 double HLTDelPhi =
deltaPhi(hltPhiVec[0],hltPhiVec[1]);
777 v->getMEhisto_AveragePt_RecObj()->Fill(AveJetPt);
778 v->getMEhisto_AverageEta_RecObj()->Fill(AveJetEta);
779 v->getMEhisto_DeltaPhi_RecObj()->Fill(JetDelPhi);
781 v->getMEhisto_AveragePt_HLTObj()->Fill(AveHLTPt);
782 v->getMEhisto_AverageEta_HLTObj()->Fill(AveHLTEta);
783 v->getMEhisto_DeltaPhi_HLTObj()->Fill(HLTDelPhi);
788 cout <<
"<< Exiting fillMEforMonAllTrigger " << endl;
800 bool denompassed =
false;
801 bool numpassed =
false;
816 if(denompassed==
false)
continue;
820 const int hltIndex =
triggerObj_->filterIndex(hltTag);
822 const int l1Index =
triggerObj_->filterIndex(l1Tag);
827 double trigLowpTcut = 0;
828 double trigMedpTcut = 0;
829 double trigHighpTcut = 0;
830 double trigLowpTcutFwd = 0;
831 double trigMedpTcutFwd = 0;
832 double trigHighpTcutFwd = 0;
835 double trigLowpTPFcut = 0;
836 double trigMedpTPFcut = 0;
837 double trigHighpTPFcut = 0;
838 double trigLowpTPFcutFwd = 0;
839 double trigMedpTPFcutFwd = 0;
840 double trigHighpTPFcutFwd = 0;
843 size_t jetstrfound =
v->getPath().find(
"Jet");
845 string tpath =
v->getPath();
849 if(jetstrfound != string::npos){
851 for(
int trig =
int(jetstrfound)+3; trig < int(jetstrfound)+7; trig++){
852 if(!isdigit(tpath[trig]))
break;
853 jetTrigVal+=tpath[trig];
855 char *cjetTrigVal = (
char*)jetTrigVal.c_str();
856 jetVal=atof(cjetTrigVal);
861 trigMedpTcut = jetVal + 5.;
862 trigHighpTcut = jetVal + 10.;
864 trigLowpTcutFwd = jetVal + 9.;
865 trigMedpTcutFwd = jetVal + 15.;
866 trigHighpTcutFwd = jetVal + 21.;
870 trigMedpTcut = jetVal + 2.;
871 trigHighpTcut = jetVal + 60.;
873 trigLowpTcutFwd = jetVal + 22.;
874 trigMedpTcutFwd = jetVal + 25.;
875 trigHighpTcutFwd = jetVal + 110.;
877 trigLowpTcut = jetVal;
883 trigMedpTPFcut = jetVal + 20.;
884 trigHighpTPFcut = jetVal + 40.;
886 trigLowpTPFcutFwd = jetVal + 60.;
887 trigMedpTPFcutFwd = jetVal + 80.;
888 trigHighpTPFcutFwd = jetVal + 100.;
892 trigMedpTPFcut = jetVal + 40.;
893 trigHighpTPFcut = jetVal + 140.;
895 trigLowpTPFcutFwd = jetVal + 110.;
896 trigMedpTPFcutFwd = jetVal + 130.;
897 trigHighpTPFcutFwd = jetVal + 190.;
899 trigLowpTPFcut = jetVal;
905 if(
verbose_)
std::cout <<
"fillMEforEffAllTrigger: CaloJet -------------------" << std::endl;
910 bool jetIDbool =
false;
917 if((
v->getTriggerType().compare(
"SingleJet_Trigger") == 0) &&
calojet.size()){
919 if(
verbose_)
cout<<
"Passed CaloJet ID -------------------" << endl;
922 v->getMEhisto_DenominatorPt()->Fill(leadjpt);
923 if (
isBarrel(leadjeta))
v->getMEhisto_DenominatorPtBarrel()->Fill(leadjpt);
924 if (
isEndCap(leadjeta))
v->getMEhisto_DenominatorPtEndcap()->Fill(leadjpt);
925 if (
isForward(leadjeta))
v->getMEhisto_DenominatorPtForward()->Fill(leadjpt);
926 v->getMEhisto_DenominatorEta()->Fill(leadjeta);
927 v->getMEhisto_DenominatorPhi()->Fill(leadjphi);
928 v->getMEhisto_DenominatorEtaPhi()->Fill(leadjeta,leadjphi);
930 v->getMEhisto_DenominatorEtaBarrel()->Fill(leadjeta);
931 v->getMEhisto_DenominatorPhiBarrel()->Fill(leadjphi);
934 v->getMEhisto_DenominatorEtaEndcap()->Fill(leadjeta);
935 v->getMEhisto_DenominatorPhiEndcap()->Fill(leadjphi);
938 v->getMEhisto_DenominatorEtaForward()->Fill(leadjeta);
939 v->getMEhisto_DenominatorPhiForward()->Fill(leadjphi);
941 if((leadjpt > trigLowpTcut && !
isForward(leadjeta)) || (leadjpt > trigLowpTcutFwd &&
isForward(leadjeta))){
942 v->getMEhisto_DenominatorEta_LowpTcut()->Fill(leadjeta);
943 v->getMEhisto_DenominatorPhi_LowpTcut()->Fill(leadjphi);
944 v->getMEhisto_DenominatorEtaPhi_LowpTcut()->Fill(leadjeta,leadjphi);
946 if((leadjpt > trigMedpTcut && !
isForward(leadjeta)) || (leadjpt > trigMedpTcutFwd &&
isForward(leadjeta))){
947 v->getMEhisto_DenominatorEta_MedpTcut()->Fill(leadjeta);
948 v->getMEhisto_DenominatorPhi_MedpTcut()->Fill(leadjphi);
949 v->getMEhisto_DenominatorEtaPhi_MedpTcut()->Fill(leadjeta,leadjphi);
951 if((leadjpt > trigHighpTcut && !
isForward(leadjeta)) || (leadjpt > trigHighpTcutFwd &&
isForward(leadjeta))){
952 v->getMEhisto_DenominatorEta_HighpTcut()->Fill(leadjeta);
953 v->getMEhisto_DenominatorPhi_HighpTcut()->Fill(leadjphi);
954 v->getMEhisto_DenominatorEtaPhi_HighpTcut()->Fill(leadjeta,leadjphi);
960 double dRmin = 99999.;
961 double dPhimin = 9999.;
962 if(
v->getPath().find(
"L1") != std::string::npos){
964 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
968 for(trigger::Keys::const_iterator ki = kl1.begin();ki != kl1.end(); ++ki){
969 double dR =
deltaR(toc[*ki].
eta(), toc[*ki].
phi(), leadjeta, leadjphi);
978 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
982 trigger::Keys::const_iterator kj = khlt.begin();
983 for(;kj != khlt.end(); ++kj){
995 v->getMEhisto_DeltaPhi()->Fill(dPhimin);
996 v->getMEhisto_DeltaR()->Fill(dRmin);
999 if(dRmin < 0.1 || (
v->getPath().find(
"L1") != std::string::npos && dRmin < 0.4)){
1000 v->getMEhisto_NumeratorPt()->Fill(leadjpt);
1001 if (
isBarrel(leadjeta))
v->getMEhisto_NumeratorPtBarrel()->Fill(leadjpt);
1002 if (
isEndCap(leadjeta))
v->getMEhisto_NumeratorPtEndcap()->Fill(leadjpt);
1003 if (
isForward(leadjeta))
v->getMEhisto_NumeratorPtForward()->Fill(leadjpt);
1004 v->getMEhisto_NumeratorEta()->Fill(leadjeta);
1005 v->getMEhisto_NumeratorPhi()->Fill(leadjphi);
1006 v->getMEhisto_NumeratorEtaPhi()->Fill(leadjeta,leadjphi);
1008 v->getMEhisto_NumeratorEtaBarrel()->Fill(leadjeta);
1009 v->getMEhisto_NumeratorPhiBarrel()->Fill(leadjphi);
1012 v->getMEhisto_NumeratorEtaEndcap()->Fill(leadjeta);
1013 v->getMEhisto_NumeratorPhiEndcap()->Fill(leadjphi);
1016 v->getMEhisto_NumeratorEtaForward()->Fill(leadjeta);
1017 v->getMEhisto_NumeratorPhiForward()->Fill(leadjphi);
1019 if((leadjpt > trigLowpTcut && !
isForward(leadjeta)) || (leadjpt > trigLowpTcutFwd &&
isForward(leadjeta))){
1020 v->getMEhisto_NumeratorEta_LowpTcut()->Fill(leadjeta);
1021 v->getMEhisto_NumeratorPhi_LowpTcut()->Fill(leadjphi);
1022 v->getMEhisto_NumeratorEtaPhi_LowpTcut()->Fill(leadjeta,leadjphi);
1024 if((leadjpt > trigMedpTcut && !
isForward(leadjeta)) || (leadjpt > trigMedpTcutFwd &&
isForward(leadjeta))){
1025 v->getMEhisto_NumeratorEta_MedpTcut()->Fill(leadjeta);
1026 v->getMEhisto_NumeratorPhi_MedpTcut()->Fill(leadjphi);
1027 v->getMEhisto_NumeratorEtaPhi_MedpTcut()->Fill(leadjeta,leadjphi);
1029 if((leadjpt > trigHighpTcut && !
isForward(leadjeta)) || (leadjpt > trigHighpTcutFwd &&
isForward(leadjeta))){
1030 v->getMEhisto_NumeratorEta_HighpTcut()->Fill(leadjeta);
1031 v->getMEhisto_NumeratorPhi_HighpTcut()->Fill(leadjphi);
1032 v->getMEhisto_NumeratorEtaPhi_HighpTcut()->Fill(leadjeta,leadjphi);
1039 if(jetIDbool ==
true && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0) &&
calojet.size()>1){
1044 if(numpassed==
true){
1053 if(
verbose_)
std::cout <<
"fillMEforEffAllTrigger: PFJet -------------------" << std::endl;
1058 bool jetIDbool =
false;
1077 if((
v->getTriggerType().compare(
"SingleJet_Trigger") == 0) &&
pfjet.size()){
1080 _pfMHT =
sqrt(pfMHTx*pfMHTx + pfMHTy*pfMHTy);
1081 v->getMEhisto_DenominatorPFMHT()->Fill(
_pfMHT);
1087 if(
verbose_)
cout<<
"Passed PFJet ID -------------------" << endl;
1089 v->getMEhisto_DenominatorPFPt()->Fill(leadjpt);
1090 if (
isBarrel(leadjeta))
v->getMEhisto_DenominatorPFPtBarrel()->Fill(leadjpt);
1091 if (
isEndCap(leadjeta))
v->getMEhisto_DenominatorPFPtEndcap()->Fill(leadjpt);
1092 if (
isForward(leadjeta))
v->getMEhisto_DenominatorPFPtForward()->Fill(leadjpt);
1093 v->getMEhisto_DenominatorPFEta()->Fill(leadjeta);
1094 v->getMEhisto_DenominatorPFPhi()->Fill(leadjphi);
1095 v->getMEhisto_DenominatorPFEtaPhi()->Fill(leadjeta,leadjphi);
1097 v->getMEhisto_DenominatorPFEtaBarrel()->Fill(leadjeta);
1098 v->getMEhisto_DenominatorPFPhiBarrel()->Fill(leadjphi);
1101 v->getMEhisto_DenominatorPFEtaEndcap()->Fill(leadjeta);
1102 v->getMEhisto_DenominatorPFPhiEndcap()->Fill(leadjphi);
1105 v->getMEhisto_DenominatorPFEtaForward()->Fill(leadjeta);
1106 v->getMEhisto_DenominatorPFPhiForward()->Fill(leadjphi);
1108 if((leadjpt > trigLowpTPFcut && !
isForward(leadjeta)) || (leadjpt > trigLowpTPFcutFwd &&
isForward(leadjeta))){
1109 v->getMEhisto_DenominatorPFEta_LowpTcut()->Fill(leadjeta);
1110 v->getMEhisto_DenominatorPFPhi_LowpTcut()->Fill(leadjphi);
1111 v->getMEhisto_DenominatorPFEtaPhi_LowpTcut()->Fill(leadjeta,leadjphi);
1113 if((leadjpt > trigMedpTPFcut && !
isForward(leadjeta)) || (leadjpt > trigMedpTPFcutFwd &&
isForward(leadjeta))){
1114 v->getMEhisto_DenominatorPFEta_MedpTcut()->Fill(leadjeta);
1115 v->getMEhisto_DenominatorPFPhi_MedpTcut()->Fill(leadjphi);
1116 v->getMEhisto_DenominatorPFEtaPhi_MedpTcut()->Fill(leadjeta,leadjphi);
1118 if((leadjpt > trigHighpTPFcut && !
isForward(leadjeta)) || (leadjpt > trigHighpTPFcutFwd &&
isForward(leadjeta))){
1119 v->getMEhisto_DenominatorPFEta_HighpTcut()->Fill(leadjeta);
1120 v->getMEhisto_DenominatorPFPhi_HighpTcut()->Fill(leadjphi);
1121 v->getMEhisto_DenominatorPFEtaPhi_HighpTcut()->Fill(leadjeta,leadjphi);
1126 double dRmin = 99999.;
1127 double dPhimin = 9999.;
1128 if(
v->getPath().find(
"L1") != std::string::npos){
1130 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
1134 for(trigger::Keys::const_iterator ki = kl1.begin();ki != kl1.end(); ++ki){
1135 double dR =
deltaR(toc[*ki].
eta(), toc[*ki].
phi(), leadjeta, leadjphi);
1144 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
1148 for(trigger::Keys::const_iterator kj = khlt.begin();kj != khlt.end(); ++kj){
1149 double dR =
deltaR(toc[*kj].
eta(), toc[*kj].
phi(), leadjeta, leadjphi);
1158 v->getMEhisto_PFDeltaPhi()->Fill(dPhimin);
1159 v->getMEhisto_PFDeltaR()->Fill(dRmin);
1162 if(dRmin < 0.1 || (
v->getPath().find(
"L1") != std::string::npos && dRmin < 0.4)){
1163 v->getMEhisto_NumeratorPFPt()->Fill(leadjpt);
1164 if (
isBarrel(leadjeta))
v->getMEhisto_NumeratorPFPtBarrel()->Fill(leadjpt);
1165 if (
isEndCap(leadjeta))
v->getMEhisto_NumeratorPFPtEndcap()->Fill(leadjpt);
1166 if (
isForward(leadjeta))
v->getMEhisto_NumeratorPFPtForward()->Fill(leadjpt);
1167 v->getMEhisto_NumeratorPFEta()->Fill(leadjeta);
1168 v->getMEhisto_NumeratorPFPhi()->Fill(leadjphi);
1169 v->getMEhisto_NumeratorPFEtaPhi()->Fill(leadjeta,leadjphi);
1171 v->getMEhisto_NumeratorPFEtaBarrel()->Fill(leadjeta);
1172 v->getMEhisto_NumeratorPFPhiBarrel()->Fill(leadjphi);
1175 v->getMEhisto_NumeratorPFEtaEndcap()->Fill(leadjeta);
1176 v->getMEhisto_NumeratorPFPhiEndcap()->Fill(leadjphi);
1179 v->getMEhisto_NumeratorPFEtaForward()->Fill(leadjeta);
1180 v->getMEhisto_NumeratorPFPhiForward()->Fill(leadjphi);
1182 if((leadjpt > trigLowpTPFcut && !
isForward(leadjeta))
1183 || (leadjpt > trigLowpTPFcutFwd &&
isForward(leadjeta))){
1184 v->getMEhisto_NumeratorPFEta_LowpTcut()->Fill(leadjeta);
1185 v->getMEhisto_NumeratorPFPhi_LowpTcut()->Fill(leadjphi);
1186 v->getMEhisto_NumeratorPFEtaPhi_LowpTcut()->Fill(leadjeta,leadjphi);
1188 if((leadjpt > trigMedpTPFcut && !
isForward(leadjeta))
1189 || (leadjpt > trigMedpTPFcutFwd &&
isForward(leadjeta))){
1190 v->getMEhisto_NumeratorPFEta_MedpTcut()->Fill(leadjeta);
1191 v->getMEhisto_NumeratorPFPhi_MedpTcut()->Fill(leadjphi);
1192 v->getMEhisto_NumeratorPFEtaPhi_MedpTcut()->Fill(leadjeta,leadjphi);
1194 if((leadjpt > trigHighpTPFcut && !
isForward(leadjeta))
1195 || (leadjpt > trigHighpTPFcutFwd &&
isForward(leadjeta))){
1196 v->getMEhisto_NumeratorPFEta_HighpTcut()->Fill(leadjeta);
1197 v->getMEhisto_NumeratorPFPhi_HighpTcut()->Fill(leadjphi);
1198 v->getMEhisto_NumeratorPFEtaPhi_HighpTcut()->Fill(leadjeta,leadjphi);
1204 if(jetIDbool ==
true && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0) &&
pfjet.size()>1){
1224 if(
verbose_)
std::cout <<
"fillMEforEffAllTrigger: CaloMET -------------------" << std::endl;
1227 && (
v->getPath().find(
"HLT_PFMET")==std::string::npos)){
1230 v->getMEhisto_DenominatorPt()->Fill(met.
et());
1231 v->getMEhisto_DenominatorPhi()->Fill(met.
phi());
1233 v->getMEhisto_NumeratorPt()->Fill(met.
et());
1234 v->getMEhisto_NumeratorPhi()->Fill(met.
phi());
1236 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
1239 double dPhimin = 9999.;
1241 for(trigger::Keys::const_iterator kj = khlt.begin();kj != khlt.end(); ++kj){
1247 v->getMEhisto_DeltaPhi()->Fill(dPhimin);
1253 if(
verbose_)
std::cout <<
"fillMEforEffAllTrigger: PFMET -------------------" << std::endl;
1256 && (
v->getPath().find(
"HLT_PFMET")!=std::string::npos)){
1258 const PFMET met = pfmetcol->front();
1259 v->getMEhisto_DenominatorPt()->Fill(met.
et());
1260 v->getMEhisto_DenominatorPhi()->Fill(met.
phi());
1262 v->getMEhisto_NumeratorPt()->Fill(met.
et());
1263 v->getMEhisto_NumeratorPhi()->Fill(met.
phi());
1265 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index hlt"<< hltIndex <<
" of that name ";
1268 double dPhimin = 9999.;
1270 for(trigger::Keys::const_iterator kj = khlt.begin();kj != khlt.end(); ++kj){
1276 v->getMEhisto_DeltaPhi()->Fill(dPhimin);
1303 LogDebug(
"HLTJetMETDQMSource") <<
"HLTConfigProvider failed to initialize.";
1317 for (
unsigned int i=0;
i!=
n; ++
i) {
1318 bool denomFound =
false;
1319 bool numFound =
false;
1325 std::vector<std::string>::const_iterator controlPathname =
pathFilter_.begin();
1326 for(;controlPathname!=
pathFilter_.end(); ++controlPathname){
1327 if(pathname.find((*controlPathname)) != std::string::npos){
1332 if(checkPath==
false)
continue;
1335 std::vector<std::string>::const_iterator rejectPathname =
pathRejectKeyword_.begin();
1337 if(pathname.find((*rejectPathname)) != std::string::npos){
1342 if(checkPath==
false)
continue;
1349 unsigned int usedPrescale = 1;
1350 unsigned int objectType = 0;
1355 if(pathname.find(
"Jet") != std::string::npos
1356 && !(pathname.find(
"DoubleJet") != std::string::npos)
1357 && !(pathname.find(
"DiJet") != std::string::npos)
1358 && !(pathname.find(
"DiPFJet") != std::string::npos)
1359 && !(pathname.find(
"BTag") != std::string::npos)
1360 && !(pathname.find(
"Mu") != std::string::npos)
1361 && !(pathname.find(
"Fwd") != std::string::npos)){
1362 triggerType =
"SingleJet_Trigger";
1365 if(pathname.find(
"DiJet") != std::string::npos
1366 || pathname.find(
"DiPFJet") != std::string::npos
1367 || pathname.find(
"DoubleJet") != std::string::npos){
1368 triggerType =
"DiJet_Trigger";
1371 if(pathname.find(
"MET") != std::string::npos){
1372 triggerType =
"MET_Trigger";
1375 if(pathname.find(
"HT") != std::string::npos) {
1376 triggerType =
"TET_Trigger";
1382 && !(pathname.find(
"DiJet") != std::string::npos)
1383 && !(pathname.find(
"DiPFJet") != std::string::npos)
1384 && !(pathname.find(
"DoubleJet") != std::string::npos)){
1390 && ((pathname.find(
"DiJet") != std::string::npos)
1391 || (pathname.find(
"DiPFJet") != std::string::npos))){
1412 for (
unsigned int i=0;
i!=
n; ++
i){
1414 if(HLTname == pathname) numFound =
true;
1415 if(HLTname == dpathname) denomFound =
true;
1423 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
1432 filtername = *numpathmodule;
1436 if(objectType != 0 && denomFound){
1438 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
1447 Denomfiltername = *numpathmodule;
1451 if(objectType != 0 && numFound){
1453 cout<<
"=Pathname= "<<pathname
1454 <<
" | =Denompath= "<<dpathname
1455 <<
" | =Filtername= "<<filtername
1456 <<
" | =Denomfiltername= "<<Denomfiltername
1457 <<
" | =L1pathname= "<<l1pathname
1458 <<
" | =ObjectType= "<<objectType<<endl;
1459 if(!((pathname.find(
"HT") != std::string::npos) || (pathname.find(
"Quad") != std::string::npos))){
1462 filtername, Denomfiltername,
processname_, objectType, triggerType));
1465 filtername, Denomfiltername,
processname_, objectType, triggerType));
1469 if (
verbose_)
cout <<
"get names for efficicncy------------------"<< endl;
1474 unsigned int usedPrescale = 1;
1475 unsigned int objectType = 0;
1479 for (std::vector<std::pair<std::string, std::string> >::iterator custompathnamepair =
custompathnamepairs_.begin();
1482 std::string dpathname = custompathnamepair->second;
1483 bool numFound =
false;
1484 bool denomFound =
false;
1486 for (
unsigned int i=0;
i!=
n; ++
i) {
1488 if(HLTname.find(pathname)!=std::string::npos){numFound =
true; pathname = HLTname;}
1489 if(HLTname.find(dpathname)!=std::string::npos){denomFound =
true; dpathname = HLTname;}
1491 if(numFound && denomFound){
1492 if (pathname.find(
"Jet") != std::string::npos
1493 && !(pathname.find(
"DiJet") != std::string::npos)
1494 && !(pathname.find(
"DiPFJet") != std::string::npos)
1495 && !(pathname.find(
"DoubleJet") != std::string::npos)
1496 && !(pathname.find(
"BTag") != std::string::npos)
1497 && !(pathname.find(
"Mu") != std::string::npos)
1498 && !(pathname.find(
"Fwd") != std::string::npos)){
1499 triggerType =
"SingleJet_Trigger";
1502 if (pathname.find(
"DiJet") != std::string::npos
1503 || pathname.find(
"DiPFJet") != std::string::npos
1504 || pathname.find(
"DoubleJet") != std::string::npos ){
1505 triggerType =
"DiJet_Trigger";
1508 if (pathname.find(
"MET") != std::string::npos ){
1509 triggerType =
"MET_Trigger";
1512 if (pathname.find(
"TET") != std::string::npos ){
1513 triggerType =
"TET_Trigger";
1519 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
1528 filtername = *numpathmodule;
1531 if(objectType != 0){
1533 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
1542 Denomfiltername = *numpathmodule;
1546 <<
"==denompath=="<<dpathname
1547 <<
"==filtername=="<<filtername
1548 <<
"==denomfiltername=="<<Denomfiltername
1549 <<
"==l1pathname=="<<l1pathname
1550 <<
"==objectType=="<<objectType<<endl;
1552 filtername, Denomfiltername,
processname_, objectType, triggerType));
1558 if(
verbose_)
cout<<
"== end hltPathsEff_.push_back ======" << endl;
1579 double TrigMin_ = -0.5;
1584 rate_All = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1586 histonm =
"JetMET_TriggerRate_Correlation";
1587 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
1588 correlation_All = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1590 histonm =
"JetMET_NVertices";
1591 histot =
"No. of vertices";
1594 histonm =
"JetMET_PVZ";
1595 histot =
"Primary Vertex Z pos";
1596 PVZ = iBooker.
book1D(histonm.c_str(),histot.c_str(),100,-50.,50.);
1599 histonm=
"JetMET_TriggerRate_WrtMuTrigger";
1600 histot=
"JetMET TriggerRate Summary Wrt Muon Trigger ";
1601 rate_AllWrtMu = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1603 histonm=
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
1604 histot=
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
1605 correlation_AllWrtMu = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1607 histonm=
"JetMET_TriggerRate_WrtMBTrigger";
1608 histot=
"JetMET TriggerRate Summary Wrt MB Trigger";
1609 rate_AllWrtMB = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1611 histonm=
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
1612 histot=
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
1613 correlation_AllWrtMB = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1621 labelnm =
v->getPath();
1623 for(
int ibin=1; ibin<nbins+1; ibin++){
1624 const char * binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
1626 if(binLabel_str.compare(labelnm)==0)
break;
1627 if(binLabel[0]==
'\0'){
1648 double Nmin_ = -0.5;
1654 double PtMax_ = 1000.;
1658 double EtaMin_ = -5.;
1659 double EtaMax_ = 5.;
1662 double PhiMin_ = -3.5;
1663 double PhiMax_ = 3.5;
1666 double ResMin_ = -1.5;
1667 double ResMax_ = 1.5;
1684 if(
v->getObjectType() ==
trigger::TriggerJet &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
1686 histoname = labelname+
"_recObjN";
1687 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
1691 histoname = labelname+
"_recObjPt";
1692 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
1696 histoname = labelname+
"_recObjPtBarrel";
1697 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
1698 MonitorElement * PtBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1701 histoname = labelname+
"_recObjPtEndcap";
1702 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
1703 MonitorElement * PtEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1706 histoname = labelname+
"_recObjPtForward";
1707 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
1708 MonitorElement * PtForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1711 histoname = labelname+
"_recObjEta";
1712 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
1716 histoname = labelname+
"_recObjPhi";
1717 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
1721 histoname = labelname+
"_recObjEtaPhi";
1722 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
1723 MonitorElement * EtaPhi = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1726 histoname = labelname+
"_l1ObjPt";
1727 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
1728 MonitorElement * Pt_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1731 histoname = labelname+
"_l1ObjEta";
1732 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
1733 MonitorElement * Eta_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
1736 histoname = labelname+
"_l1ObjPhi";
1737 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
1738 MonitorElement * Phi_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
1741 histoname = labelname+
"_l1ObjEtaPhi";
1742 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
1743 MonitorElement * EtaPhi_L1 = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1746 histoname = labelname+
"_l1ObjN";
1747 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
1751 histoname = labelname+
"_l1ObjPtBarrel";
1752 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
1753 MonitorElement * PtBarrel_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1756 histoname = labelname+
"_l1ObjPtEndcap";
1757 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
1758 MonitorElement * PtEndcap_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1761 histoname = labelname+
"_l1ObjPtForward";
1762 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
1763 MonitorElement * PtForward_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1766 histoname = labelname+
"_hltObjN";
1767 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
1771 histoname = labelname+
"_hltObjPtBarrel";
1772 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
1773 MonitorElement * PtBarrel_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1776 histoname = labelname+
"_hltObjPtEndcap";
1777 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
1778 MonitorElement * PtEndcap_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1781 histoname = labelname+
"_hltObjPtForward";
1782 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
1783 MonitorElement * PtForward_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1786 histoname = labelname+
"_hltObjPt";
1787 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
1788 MonitorElement * Pt_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1791 histoname = labelname+
"_hltObjEta";
1792 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
1793 MonitorElement * Eta_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
1796 histoname = labelname+
"_hltObjPhi";
1797 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
1798 MonitorElement * Phi_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
1801 histoname = labelname+
"_hltObjEtaPhi";
1802 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
1803 MonitorElement * EtaPhi_HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1806 histoname = labelname+
"_l1HLTPtResolution";
1807 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
1808 MonitorElement * PtResolution_L1HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1809 PtResolution_L1HLT->
getTH1();
1811 histoname = labelname+
"_l1HLTEtaResolution";
1812 title = labelname+
"_l1HLTEtaResolution;#eta(L1)-#eta(HLT)"+trigPath;
1813 MonitorElement * EtaResolution_L1HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1814 EtaResolution_L1HLT->
getTH1();
1816 histoname = labelname+
"_l1HLTPhiResolution";
1817 title = labelname+
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)"+trigPath;
1818 MonitorElement * PhiResolution_L1HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1819 PhiResolution_L1HLT->
getTH1();
1821 histoname = labelname+
"_l1HLTPtCorrelation";
1822 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
1823 MonitorElement * PtCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
1824 PtCorrelation_L1HLT->
getTH1();
1826 histoname = labelname+
"_l1HLTEtaCorrelation";
1827 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
1828 MonitorElement * EtaCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
1829 EtaCorrelation_L1HLT->
getTH1();
1831 histoname = labelname+
"_l1HLTPhiCorrelation";
1832 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
1833 MonitorElement * PhiCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
1834 PhiCorrelation_L1HLT->
getTH1();
1836 histoname = labelname+
"_hltRecObjPtResolution";
1837 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
1838 MonitorElement * PtResolution_HLTRecObj = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1839 PtResolution_HLTRecObj->
getTH1();
1841 histoname = labelname+
"_hltRecObjEtaResolution";
1842 title = labelname+
"_hltRecObjEtaResolution;#eta(HLT)-#eta(Reco)"+trigPath;
1843 MonitorElement * EtaResolution_HLTRecObj = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1844 EtaResolution_HLTRecObj->
getTH1();
1846 histoname = labelname+
"_hltRecObjPhiResolution";
1847 title = labelname+
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)"+trigPath;
1848 MonitorElement * PhiResolution_HLTRecObj = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
1849 PhiResolution_HLTRecObj->
getTH1();
1851 histoname = labelname+
"_hltRecObjPtCorrelation";
1852 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
1853 MonitorElement * PtCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
1854 PtCorrelation_HLTRecObj->
getTH1();
1856 histoname = labelname+
"_hltRecObjEtaCorrelation";
1857 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
1858 MonitorElement * EtaCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
1859 EtaCorrelation_HLTRecObj->
getTH1();
1861 histoname = labelname+
"_hltRecObjPhiCorrelation";
1862 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
1863 MonitorElement * PhiCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
1864 PhiCorrelation_HLTRecObj->
getTH1();
1891 EtaResolution_L1HLT,
1892 PhiResolution_L1HLT,
1893 PtResolution_HLTRecObj,
1894 EtaResolution_HLTRecObj,
1895 PhiResolution_HLTRecObj,
1896 PtCorrelation_L1HLT,
1897 EtaCorrelation_L1HLT,
1898 PhiCorrelation_L1HLT,
1899 PtCorrelation_HLTRecObj,
1900 EtaCorrelation_HLTRecObj,
1901 PhiCorrelation_HLTRecObj,
1916 histoname = labelname+
"_RecObjAveragePt";
1917 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
1918 MonitorElement * jetAveragePt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1921 histoname = labelname+
"_RecObjAverageEta";
1922 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
1923 MonitorElement * jetAverageEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
1926 histoname = labelname+
"_RecObjPhiDifference";
1927 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
1928 MonitorElement * jetPhiDifference = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
1929 jetPhiDifference->
getTH1();
1931 histoname = labelname+
"_hltObjAveragePt";
1932 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
1933 MonitorElement * hltAveragePt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
1936 histoname = labelname+
"_hltObjAverageEta";
1937 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
1938 MonitorElement * hltAverageEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
1941 histoname = labelname+
"_hltObjPhiDifference";
1942 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
1943 MonitorElement * hltPhiDifference = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
1944 hltPhiDifference->
getTH1();
1996 histoname = labelname+
"_recObjPt";
1997 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
2001 histoname = labelname+
"_recObjPhi";
2002 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
2006 histoname = labelname+
"_l1ObjPt";
2007 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
2008 MonitorElement * Pt_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2011 histoname = labelname+
"_l1ObjPhi";
2012 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
2013 MonitorElement * Phi_L1 = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2016 histoname = labelname+
"_hltObjPt";
2017 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
2018 MonitorElement * Pt_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2021 histoname = labelname+
"_hltObjPhi";
2022 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
2023 MonitorElement * Phi_HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2026 histoname = labelname+
"_l1HLTPtResolution";
2027 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
2028 MonitorElement * PtResolution_L1HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
2029 PtResolution_L1HLT->
getTH1();
2031 histoname = labelname+
"_l1HLTPhiResolution";
2032 title = labelname+
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)"+trigPath;
2033 MonitorElement * PhiResolution_L1HLT = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
2034 PhiResolution_L1HLT->
getTH1();
2036 histoname = labelname+
"_l1HLTPtCorrelation";
2037 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
2038 MonitorElement * PtCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
2039 PtCorrelation_L1HLT->
getTH1();
2041 histoname = labelname+
"_l1HLTPhiCorrelation";
2042 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
2043 MonitorElement * PhiCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
2044 PhiCorrelation_L1HLT->
getTH1();
2046 histoname = labelname+
"_hltRecObjPtResolution";
2047 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
2048 MonitorElement * PtResolution_HLTRecObj = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
2049 PtResolution_HLTRecObj->
getTH1();
2051 histoname = labelname+
"_hltRecObjPhiResolution";
2052 title = labelname+
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)"+trigPath;
2053 MonitorElement * PhiResolution_HLTRecObj = iBooker.
book1D(histoname.c_str(),title.c_str(),Resbins_,ResMin_,ResMax_);
2054 PhiResolution_HLTRecObj->
getTH1();
2056 histoname = labelname+
"_hltRecObjPtCorrelation";
2057 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
2058 MonitorElement * PtCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
2059 PtCorrelation_HLTRecObj->
getTH1();
2061 histoname = labelname+
"_hltRecObjPhiCorrelation";
2062 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
2063 MonitorElement * PhiCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
2064 PhiCorrelation_HLTRecObj->
getTH1();
2092 PhiResolution_L1HLT,
2093 PtResolution_HLTRecObj,
2095 PhiResolution_HLTRecObj,
2096 PtCorrelation_L1HLT,
2098 PhiCorrelation_L1HLT,
2099 PtCorrelation_HLTRecObj,
2101 PhiCorrelation_HLTRecObj,
2121 double PtMax_ = 1000.;
2124 double EtaMin_ = -5.;
2125 double EtaMax_ = 5.;
2128 double PhiMin_ = -3.5;
2129 double PhiMax_ = 3.5;
2138 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
2147 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
2149 histoname = labelname+
"_NumeratorPt";
2150 title = labelname+
"NumeratorPt;Calo Pt[GeV/c]";
2151 MonitorElement * NumeratorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2154 histoname = labelname+
"_NumeratorPtBarrel";
2155 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
2156 MonitorElement * NumeratorPtBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2157 NumeratorPtBarrel->
getTH1();
2159 histoname = labelname+
"_NumeratorPtEndcap";
2160 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
2161 MonitorElement * NumeratorPtEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2162 NumeratorPtEndcap->
getTH1();
2164 histoname = labelname+
"_NumeratorPtForward";
2165 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
2166 MonitorElement * NumeratorPtForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2167 NumeratorPtForward->
getTH1();
2169 histoname = labelname+
"_NumeratorEta";
2170 title = labelname+
"NumeratorEta;Calo #eta ";
2171 MonitorElement * NumeratorEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2174 histoname = labelname+
"_NumeratorPhi";
2175 title = labelname+
"NumeratorPhi;Calo #Phi";
2176 MonitorElement * NumeratorPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2179 histoname = labelname+
"_NumeratorEtaPhi";
2180 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
2181 MonitorElement * NumeratorEtaPhi = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2182 NumeratorEtaPhi->
getTH1();
2184 histoname = labelname+
"_NumeratorEtaBarrel";
2185 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
2186 MonitorElement * NumeratorEtaBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2187 NumeratorEtaBarrel->
getTH1();
2189 histoname = labelname+
"_NumeratorPhiBarrel";
2190 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
2191 MonitorElement * NumeratorPhiBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2192 NumeratorPhiBarrel->
getTH1();
2194 histoname = labelname+
"_NumeratorEtaEndcap";
2195 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
2196 MonitorElement * NumeratorEtaEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2197 NumeratorEtaEndcap->
getTH1();
2199 histoname = labelname+
"_NumeratorPhiEndcap";
2200 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
2201 MonitorElement * NumeratorPhiEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2202 NumeratorPhiEndcap->
getTH1();
2204 histoname = labelname+
"_NumeratorEtaForward";
2205 title = labelname+
"NumeratorEtaForward;Calo #eta ";
2206 MonitorElement * NumeratorEtaForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2207 NumeratorEtaForward->
getTH1();
2209 histoname = labelname+
"_NumeratorPhiForward";
2210 title = labelname+
"NumeratorPhiForward;Calo #Phi";
2211 MonitorElement * NumeratorPhiForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2212 NumeratorPhiForward->
getTH1();
2214 histoname = labelname+
"_NumeratorEta_LowpTcut";
2215 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
2216 MonitorElement * NumeratorEta_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2217 NumeratorEta_LowpTcut->
getTH1();
2219 histoname = labelname+
"_NumeratorPhi_LowpTcut";
2220 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
2221 MonitorElement * NumeratorPhi_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2222 NumeratorPhi_LowpTcut->
getTH1();
2224 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
2225 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2226 MonitorElement * NumeratorEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2227 NumeratorEtaPhi_LowpTcut->
getTH1();
2229 histoname = labelname+
"_NumeratorEta_MedpTcut";
2230 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
2231 MonitorElement * NumeratorEta_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2232 NumeratorEta_MedpTcut->
getTH1();
2234 histoname = labelname+
"_NumeratorPhi_MedpTcut";
2235 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
2236 MonitorElement * NumeratorPhi_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2237 NumeratorPhi_MedpTcut->
getTH1();
2239 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
2240 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2241 MonitorElement * NumeratorEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2242 NumeratorEtaPhi_MedpTcut->
getTH1();
2244 histoname = labelname+
"_NumeratorEta_HighpTcut";
2245 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
2246 MonitorElement * NumeratorEta_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2247 NumeratorEta_HighpTcut->
getTH1();
2249 histoname = labelname+
"_NumeratorPhi_HighpTcut";
2250 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
2251 MonitorElement * NumeratorPhi_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2252 NumeratorPhi_HighpTcut->
getTH1();
2254 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
2255 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2256 MonitorElement * NumeratorEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2257 NumeratorEtaPhi_HighpTcut->
getTH1();
2259 histoname = labelname+
"_DenominatorPt";
2260 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
2261 MonitorElement * DenominatorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2264 histoname = labelname+
"_DenominatorPtBarrel";
2265 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
2266 MonitorElement * DenominatorPtBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2267 DenominatorPtBarrel->
getTH1();
2269 histoname = labelname+
"_DenominatorPtEndcap";
2270 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
2271 MonitorElement * DenominatorPtEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2272 DenominatorPtEndcap->
getTH1();
2274 histoname = labelname+
"_DenominatorPtForward";
2275 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
2276 MonitorElement * DenominatorPtForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2277 DenominatorPtForward->
getTH1();
2279 histoname = labelname+
"_DenominatorEta";
2280 title = labelname+
"DenominatorEta;Calo #eta ";
2281 MonitorElement * DenominatorEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2282 DenominatorEta->
getTH1();
2284 histoname = labelname+
"_DenominatorPhi";
2285 title = labelname+
"DenominatorPhi;Calo #Phi";
2286 MonitorElement * DenominatorPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2287 DenominatorPhi->
getTH1();
2289 histoname = labelname+
"_DenominatorEtaPhi";
2290 title = labelname+
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
2291 MonitorElement * DenominatorEtaPhi = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2292 DenominatorEtaPhi->
getTH1();
2294 histoname = labelname+
"_DenominatorEtaBarrel";
2295 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
2296 MonitorElement * DenominatorEtaBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2297 DenominatorEtaBarrel->
getTH1();
2299 histoname = labelname+
"_DenominatorPhiBarrel";
2300 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
2301 MonitorElement * DenominatorPhiBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2302 DenominatorPhiBarrel->
getTH1();
2304 histoname = labelname+
"_DenominatorEtaEndcap";
2305 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
2306 MonitorElement * DenominatorEtaEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2307 DenominatorEtaEndcap->
getTH1();
2309 histoname = labelname+
"_DenominatorPhiEndcap";
2310 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
2311 MonitorElement * DenominatorPhiEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2312 DenominatorPhiEndcap->
getTH1();
2314 histoname = labelname+
"_DenominatorEtaForward";
2315 title = labelname+
"DenominatorEtaForward;Calo #eta ";
2316 MonitorElement * DenominatorEtaForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2317 DenominatorEtaForward->
getTH1();
2319 histoname = labelname+
"_DenominatorPhiForward";
2320 title = labelname+
"DenominatorPhiForward;Calo #Phi";
2321 MonitorElement * DenominatorPhiForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2322 DenominatorPhiForward->
getTH1();
2324 histoname = labelname+
"_DenominatorEta_LowpTcut";
2325 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
2326 MonitorElement * DenominatorEta_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2327 DenominatorEta_LowpTcut->
getTH1();
2329 histoname = labelname+
"_DenominatorPhi_LowpTcut";
2330 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
2331 MonitorElement * DenominatorPhi_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2332 DenominatorPhi_LowpTcut->
getTH1();
2334 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
2335 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2336 MonitorElement * DenominatorEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2337 DenominatorEtaPhi_LowpTcut->
getTH1();
2339 histoname = labelname+
"_DenominatorEta_MedpTcut";
2340 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
2341 MonitorElement * DenominatorEta_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2342 DenominatorEta_MedpTcut->
getTH1();
2344 histoname = labelname+
"_DenominatorPhi_MedpTcut";
2345 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
2346 MonitorElement * DenominatorPhi_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2347 DenominatorPhi_MedpTcut->
getTH1();
2349 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
2350 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2351 MonitorElement * DenominatorEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2352 DenominatorEtaPhi_MedpTcut->
getTH1();
2354 histoname = labelname+
"_DenominatorEta_HighpTcut";
2355 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
2356 MonitorElement * DenominatorEta_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2357 DenominatorEta_HighpTcut->
getTH1();
2359 histoname = labelname+
"_DenominatorPhi_HighpTcut";
2360 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
2361 MonitorElement * DenominatorPhi_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2362 DenominatorPhi_HighpTcut->
getTH1();
2364 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
2365 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2366 MonitorElement * DenominatorEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2367 DenominatorEtaPhi_HighpTcut->
getTH1();
2369 histoname = labelname+
"_DeltaR";
2370 title = labelname+
"DeltaR;";
2374 histoname = labelname+
"_DeltaPhi";
2375 title = labelname+
"DeltaPhi;";
2379 histoname = labelname+
"_NumeratorPFMHT";
2380 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
2381 MonitorElement * NumeratorPFMHT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2382 NumeratorPFMHT->
getTH1();
2384 histoname = labelname+
"_NumeratorPFPt";
2385 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c]";
2386 MonitorElement * NumeratorPFPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2389 histoname = labelname+
"_NumeratorPFPtBarrel";
2390 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
2391 MonitorElement * NumeratorPFPtBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2392 NumeratorPFPtBarrel->
getTH1();
2394 histoname = labelname+
"_NumeratorPFPtEndcap";
2395 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
2396 MonitorElement * NumeratorPFPtEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2397 NumeratorPFPtEndcap->
getTH1();
2399 histoname = labelname+
"_NumeratorPFPtForward";
2400 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
2401 MonitorElement * NumeratorPFPtForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2402 NumeratorPFPtForward->
getTH1();
2404 histoname = labelname+
"_NumeratorPFEta";
2405 title = labelname+
"NumeratorPFEta;PF #eta ";
2406 MonitorElement * NumeratorPFEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2407 NumeratorPFEta->
getTH1();
2409 histoname = labelname+
"_NumeratorPFPhi";
2410 title = labelname+
"NumeratorPFPhi;Calo #Phi";
2411 MonitorElement * NumeratorPFPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2412 NumeratorPFPhi->
getTH1();
2414 histoname = labelname+
"_NumeratorPFEtaPhi";
2415 title = labelname+
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
2416 MonitorElement * NumeratorPFEtaPhi = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2417 NumeratorPFEtaPhi->
getTH1();
2419 histoname = labelname+
"_NumeratorPFEtaBarrel";
2420 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
2421 MonitorElement * NumeratorPFEtaBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2422 NumeratorPFEtaBarrel->
getTH1();
2424 histoname = labelname+
"_NumeratorPFPhiBarrel";
2425 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
2426 MonitorElement * NumeratorPFPhiBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2427 NumeratorPFPhiBarrel->
getTH1();
2429 histoname = labelname+
"_NumeratorPFEtaEndcap";
2430 title = labelname+
"NumeratorPFEtaEndcap;Calo #eta ";
2431 MonitorElement * NumeratorPFEtaEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2432 NumeratorPFEtaEndcap->
getTH1();
2434 histoname = labelname+
"_NumeratorPFPhiEndcap";
2435 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
2436 MonitorElement * NumeratorPFPhiEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2437 NumeratorPFPhiEndcap->
getTH1();
2439 histoname = labelname+
"_NumeratorPFEtaForward";
2440 title = labelname+
"NumeratorPFEtaForward;Calo #eta ";
2441 MonitorElement * NumeratorPFEtaForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2442 NumeratorPFEtaForward->
getTH1();
2444 histoname = labelname+
"_NumeratorPFPhiForward";
2445 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
2446 MonitorElement * NumeratorPFPhiForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2447 NumeratorPFPhiForward->
getTH1();
2449 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
2450 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
2451 MonitorElement * NumeratorPFEta_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2452 NumeratorPFEta_LowpTcut->
getTH1();
2454 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
2455 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
2456 MonitorElement * NumeratorPFPhi_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2457 NumeratorPFPhi_LowpTcut->
getTH1();
2459 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
2460 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2461 MonitorElement * NumeratorPFEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2462 NumeratorPFEtaPhi_LowpTcut->
getTH1();
2464 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
2465 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
2466 MonitorElement * NumeratorPFEta_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2467 NumeratorPFEta_MedpTcut->
getTH1();
2469 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
2470 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
2471 MonitorElement * NumeratorPFPhi_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2472 NumeratorPFPhi_MedpTcut->
getTH1();
2474 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
2475 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
2476 MonitorElement * NumeratorPFEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2477 NumeratorPFEtaPhi_MedpTcut->
getTH1();
2479 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
2480 title = labelname+
"NumeratorPFEta_HighpTcut;Calo #eta ";
2481 MonitorElement * NumeratorPFEta_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2482 NumeratorPFEta_HighpTcut->
getTH1();
2484 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
2485 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
2486 MonitorElement * NumeratorPFPhi_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2487 NumeratorPFPhi_HighpTcut->
getTH1();
2489 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
2490 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
2491 MonitorElement * NumeratorPFEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2492 NumeratorPFEtaPhi_HighpTcut->
getTH1();
2494 histoname = labelname+
"_DenominatorPFMHT";
2495 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
2496 MonitorElement * DenominatorPFMHT = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2497 DenominatorPFMHT->
getTH1();
2499 histoname = labelname+
"_DenominatorPFPt";
2500 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
2501 MonitorElement * DenominatorPFPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2502 DenominatorPFPt->
getTH1();
2504 histoname = labelname+
"_DenominatorPFPtBarrel";
2505 title = labelname+
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
2506 MonitorElement * DenominatorPFPtBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2507 DenominatorPFPtBarrel->
getTH1();
2509 histoname = labelname+
"_DenominatorPFPtEndcap";
2510 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
2511 MonitorElement * DenominatorPFPtEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2512 DenominatorPFPtEndcap->
getTH1();
2514 histoname = labelname+
"_DenominatorPFPtForward";
2515 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
2516 MonitorElement * DenominatorPFPtForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2517 DenominatorPFPtForward->
getTH1();
2519 histoname = labelname+
"_DenominatorPFEta";
2520 title = labelname+
"DenominatorPFEta;PF #eta ";
2521 MonitorElement * DenominatorPFEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2522 DenominatorPFEta->
getTH1();
2524 histoname = labelname+
"_DenominatorPFPhi";
2525 title = labelname+
"DenominatorPFPhi;PF #Phi";
2526 MonitorElement * DenominatorPFPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2527 DenominatorPFPhi->
getTH1();
2529 histoname = labelname+
"_DenominatorPFEtaPhi";
2530 title = labelname+
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
2531 MonitorElement * DenominatorPFEtaPhi = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2532 DenominatorPFEtaPhi->
getTH1();
2534 histoname = labelname+
"_DenominatorPFEtaBarrel";
2535 title = labelname+
"DenominatorPFEtaBarrel;Calo #eta ";
2536 MonitorElement * DenominatorPFEtaBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2537 DenominatorPFEtaBarrel->
getTH1();
2539 histoname = labelname+
"_DenominatorPFPhiBarrel";
2540 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
2541 MonitorElement * DenominatorPFPhiBarrel = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2542 DenominatorPFPhiBarrel->
getTH1();
2544 histoname = labelname+
"_DenominatorPFEtaEndcap";
2545 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
2546 MonitorElement * DenominatorPFEtaEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2547 DenominatorPFEtaEndcap->
getTH1();
2549 histoname = labelname+
"_DenominatorPFPhiEndcap";
2550 title = labelname+
"DenominatorPFPhiEndcap;Calo #Phi";
2551 MonitorElement * DenominatorPFPhiEndcap = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2552 DenominatorPFPhiEndcap->
getTH1();
2554 histoname = labelname+
"_DenominatorPFEtaForward";
2555 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
2556 MonitorElement * DenominatorPFEtaForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2557 DenominatorPFEtaForward->
getTH1();
2559 histoname = labelname+
"_DenominatorPFPhiForward";
2560 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
2561 MonitorElement * DenominatorPFPhiForward = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2562 DenominatorPFPhiForward->
getTH1();
2564 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
2565 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
2566 MonitorElement * DenominatorPFEta_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2567 DenominatorPFEta_LowpTcut->
getTH1();
2569 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
2570 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
2571 MonitorElement * DenominatorPFPhi_LowpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2572 DenominatorPFPhi_LowpTcut->
getTH1();
2574 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
2575 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2576 MonitorElement * DenominatorPFEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2577 DenominatorPFEtaPhi_LowpTcut->
getTH1();
2579 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
2580 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
2581 MonitorElement * DenominatorPFEta_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2582 DenominatorPFEta_MedpTcut->
getTH1();
2584 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
2585 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
2586 MonitorElement * DenominatorPFPhi_MedpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2587 DenominatorPFPhi_MedpTcut->
getTH1();
2589 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
2590 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
2591 MonitorElement * DenominatorPFEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2592 DenominatorPFEtaPhi_MedpTcut->
getTH1();
2594 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
2595 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
2596 MonitorElement * DenominatorPFEta_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2597 DenominatorPFEta_HighpTcut->
getTH1();
2599 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
2600 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
2601 MonitorElement * DenominatorPFPhi_HighpTcut = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2602 DenominatorPFPhi_HighpTcut->
getTH1();
2604 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
2605 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
2606 MonitorElement * DenominatorPFEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2607 DenominatorPFEtaPhi_HighpTcut->
getTH1();
2609 histoname = labelname+
"_PFDeltaR";
2610 title = labelname+
"PFDeltaR;";
2614 histoname = labelname+
"_PFDeltaPhi";
2615 title = labelname+
"PFDeltaPhi;";
2619 v->setEffHistos(NumeratorPt,
2631 NumeratorEtaForward,
2632 NumeratorPhiForward,
2633 NumeratorEta_LowpTcut,
2634 NumeratorPhi_LowpTcut,
2635 NumeratorEtaPhi_LowpTcut,
2636 NumeratorEta_MedpTcut,
2637 NumeratorPhi_MedpTcut,
2638 NumeratorEtaPhi_MedpTcut,
2639 NumeratorEta_HighpTcut,
2640 NumeratorPhi_HighpTcut,
2641 NumeratorEtaPhi_HighpTcut,
2644 DenominatorPtBarrel,
2645 DenominatorPtEndcap,
2646 DenominatorPtForward,
2651 DenominatorEtaBarrel,
2652 DenominatorPhiBarrel,
2653 DenominatorEtaEndcap,
2654 DenominatorPhiEndcap,
2655 DenominatorEtaForward,
2656 DenominatorPhiForward,
2657 DenominatorEta_LowpTcut,
2658 DenominatorPhi_LowpTcut,
2659 DenominatorEtaPhi_LowpTcut,
2660 DenominatorEta_MedpTcut,
2661 DenominatorPhi_MedpTcut,
2662 DenominatorEtaPhi_MedpTcut,
2663 DenominatorEta_HighpTcut,
2664 DenominatorPhi_HighpTcut,
2665 DenominatorEtaPhi_HighpTcut,
2671 NumeratorPFPtBarrel,
2672 NumeratorPFPtEndcap,
2673 NumeratorPFPtForward,
2677 NumeratorPFEtaBarrel,
2678 NumeratorPFPhiBarrel,
2679 NumeratorPFEtaEndcap,
2680 NumeratorPFPhiEndcap,
2681 NumeratorPFEtaForward,
2682 NumeratorPFPhiForward,
2683 NumeratorPFEta_LowpTcut,
2684 NumeratorPFPhi_LowpTcut,
2685 NumeratorPFEtaPhi_LowpTcut,
2686 NumeratorPFEta_MedpTcut,
2687 NumeratorPFPhi_MedpTcut,
2688 NumeratorPFEtaPhi_MedpTcut,
2689 NumeratorPFEta_HighpTcut,
2690 NumeratorPFPhi_HighpTcut,
2691 NumeratorPFEtaPhi_HighpTcut,
2694 DenominatorPFPtBarrel,
2695 DenominatorPFPtEndcap,
2696 DenominatorPFPtForward,
2699 DenominatorPFEtaPhi,
2700 DenominatorPFEtaBarrel,
2701 DenominatorPFPhiBarrel,
2702 DenominatorPFEtaEndcap,
2703 DenominatorPFPhiEndcap,
2704 DenominatorPFEtaForward,
2705 DenominatorPFPhiForward,
2706 DenominatorPFEta_LowpTcut,
2707 DenominatorPFPhi_LowpTcut,
2708 DenominatorPFEtaPhi_LowpTcut,
2709 DenominatorPFEta_MedpTcut,
2710 DenominatorPFPhi_MedpTcut,
2711 DenominatorPFEtaPhi_MedpTcut,
2712 DenominatorPFEta_HighpTcut,
2713 DenominatorPFPhi_HighpTcut,
2714 DenominatorPFEtaPhi_HighpTcut,
2721 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
2723 histoname = labelname+
"_NumeratorAvrgPt";
2724 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c]";
2725 MonitorElement * NumeratorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2728 histoname = labelname+
"_NumeratorAvrgEta";
2729 title = labelname+
"NumeratorAvrgEta;Calo #eta";
2730 MonitorElement * NumeratorEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2733 histoname = labelname+
"_DenominatorAvrgPt";
2734 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
2735 MonitorElement * DenominatorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2738 histoname = labelname+
"_DenominatorAvrgEta";
2739 title = labelname+
"DenominatorAvrgEta;Calo #eta";
2740 MonitorElement * DenominatorEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2741 DenominatorEta->
getTH1();
2743 histoname = labelname+
"_DeltaR";
2744 title = labelname+
"DeltaR;";
2748 histoname = labelname+
"_DeltaPhi";
2749 title = labelname+
"DeltaPhi;";
2754 histoname = labelname+
"_NumeratorAvrgPFPt";
2755 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
2756 MonitorElement * NumeratorPFPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2759 histoname = labelname+
"_NumeratorAvrgPFEta";
2760 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
2761 MonitorElement * NumeratorPFEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2762 NumeratorPFEta->
getTH1();
2764 histoname = labelname+
"_DenominatorAvrgPFPt";
2765 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
2766 MonitorElement * DenominatorPFPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2767 DenominatorPFPt->
getTH1();
2769 histoname = labelname+
"_DenominatorAvrgPFEta";
2770 title = labelname+
"DenominatorAvrgPFEta;PF #eta";
2771 MonitorElement * DenominatorPFEta = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2772 DenominatorPFEta->
getTH1();
2774 histoname = labelname+
"_PFDeltaR";
2775 title = labelname+
"PFDeltaR;";
2779 histoname = labelname+
"_PFDeltaPhi";
2780 title = labelname+
"PFDeltaPhi;";
2784 v->setEffHistos( dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2785 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2786 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2787 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2788 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2789 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2790 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2791 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2792 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2793 dummy, dummy, dummy, dummy
2799 histoname = labelname+
"_NumeratorPt";
2800 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
2801 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
2803 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
2804 MonitorElement * NumeratorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2807 histoname = labelname+
"_NumeratorPhi";
2808 title = labelname+
"NumeratorPhi; #Phi";
2809 MonitorElement * NumeratorPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2812 histoname = labelname+
"_DenominatorPt";
2813 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
2814 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
2816 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
2817 MonitorElement * DenominatorPt = iBooker.
book1D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_);
2820 histoname = labelname+
"_DenominatorPhi";
2821 title = labelname+
"DenominatorPhi; #Phi";
2822 MonitorElement * DenominatorPhi = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2823 DenominatorPhi->
getTH1();
2825 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
2826 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2827 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, dummy, dummy,
2828 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2829 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2830 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2831 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2832 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2833 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2834 dummy, dummy, dummy, dummy
2849 double PtMax_ = 1000.;
2850 double EtaMin_ = -5.;
2851 double EtaMax_ = 5.;
2852 double PhiMin_ = -3.14159;
2853 double PhiMax_ = 3.14159;
2868 histoname = labelname+
"_TriggerSummary";
2869 title = labelname+
"Summary of trigger levels";
2872 std::vector<std::string> trigger;
2873 trigger.push_back(
"Nevt");
2874 trigger.push_back(
"L1 failed");
2875 trigger.push_back(
"L1 & HLT failed");
2876 trigger.push_back(
"L1 failed but not HLT");
2877 trigger.push_back(
"L1 passed");
2878 trigger.push_back(
"L1 & HLT passed");
2879 trigger.push_back(
"L1 passed but not HLT");
2881 for(
unsigned int i =0;
i < trigger.size();
i++)
2884 if((
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
2885 histoname = labelname+
"_JetPt";
2886 title = labelname+
"Leading jet pT;Pt[GeV/c]";
2890 histoname = labelname+
"_JetEtaVsPt";
2891 title = labelname+
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
2892 MonitorElement * JetEtaVsPt = iBooker.
book2D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_,Ptbins_,PtMin_,PtMax_);
2895 histoname = labelname+
"_JetPhiVsPt";
2896 title = labelname+
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
2897 MonitorElement * JetPhiVsPt = iBooker.
book2D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_,Ptbins_,PtMin_,PtMax_);
2900 v->setDgnsHistos( TriggerSummary, dummy, JetPt, JetEtaVsPt, JetPhiVsPt, dummy, dummy, dummy, dummy, dummy, dummy);
2903 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
2904 histoname = labelname+
"_JetSize";
2905 title = labelname+
"Jet Size;multiplicity";
2909 histoname = labelname+
"_AvergPt";
2910 title = labelname+
"Average Pt;Pt[GeV/c]";
2914 histoname = labelname+
"_AvergEta";
2915 title = labelname+
"Average Eta;#eta";
2916 MonitorElement * Eta12 = iBooker.
book1D(histoname.c_str(),title.c_str(),Etabins_,EtaMin_,EtaMax_);
2919 histoname = labelname+
"_PhiDifference";
2920 title = labelname+
"#Delta#Phi;#Delta#Phi";
2921 MonitorElement * Phi12 = iBooker.
book1D(histoname.c_str(),title.c_str(),Phibins_,PhiMin_,PhiMax_);
2924 histoname = labelname+
"_Pt3Jet";
2925 title = labelname+
"Pt of 3rd Jet;Pt[GeV/c]";
2929 histoname = labelname+
"_Pt12VsPt3Jet";
2930 title = labelname+
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
2931 MonitorElement * Pt12Pt3 = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
2934 histoname = labelname+
"_Pt12VsPhi12";
2935 title = labelname+
"Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
2936 MonitorElement * Pt12Phi12 = iBooker.
book2D(histoname.c_str(),title.c_str(),Ptbins_,PtMin_,PtMax_,Phibins_,PhiMin_,PhiMax_);
2939 v->setDgnsHistos( TriggerSummary, JetSize, dummy, dummy, dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
2942 if((
v->getTriggerType().compare(
"MET_Trigger") == 0)){
2943 histoname = labelname+
"_MET";
2944 title = labelname+
"MET;Pt[GeV/c]";
2948 v->setDgnsHistos(TriggerSummary, dummy, MET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
2951 if((
v->getTriggerType().compare(
"TET_Trigger") == 0)){
2952 histoname = labelname+
"_TET";
2953 title = labelname+
"TET;Pt[GeV/c]";
2957 v->setDgnsHistos(TriggerSummary, dummy, TET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
2975 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin();
2976 numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2979 l1pathname = *numpathmodule;
2989 if (fabs(eta)<=1.3) output=
true;
2996 if (fabs(eta)<=3.0 && fabs(eta)>1.3) output=
true;
3003 if (fabs(eta)>3.0) output=
true;
3033 double binVal = -100;
3034 for(
int ibin=1; ibin<nbins+1; ibin++)
3036 const char * binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
3037 if(binLabel[0]==
'\0')
continue;
3040 if(trigName.compare(binLabel)!=0)
continue;
3042 if(trigName.compare(binLabel)==0){
3057 edm::LogInfo(
"JetMETHLTOfflineSource") <<
"no index "<< index <<
" of that name ";
3060 if (k.size()) output=
true;
unsigned int size() const
number of trigger paths in trigger table
T getParameter(std::string const &) const
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
edm::EDGetTokenT< edm::TriggerResults > triggerResultsFUToken
edm::EDGetTokenT< reco::VertexCollection > vertexToken
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken
const std::string moduleType(const std::string &module) const
C++ class name of module.
virtual bool isEndCap(double eta)
const std::string & triggerName(unsigned int triggerIndex) const
JetMETHLTOfflineSource(const edm::ParameterSet &)
edm::TriggerNames triggerNames_
edm::Handle< reco::PFJetCollection > pfjetColl_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual double TriggerPosition(std::string trigName)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
edm::Handle< edm::TriggerResults > triggerResults_
edm::LuminosityBlockNumber_t luminosityBlock() const
virtual double phi() const final
momentum azimuthal angle
edm::InputTag triggerResultsLabel_
reco::PFJetCollection pfjet
Strings::size_type size() const
edm::Handle< reco::PFMETCollection > pfmetColl_
PathInfoCollection hltPathsAllTriggerSummary_
virtual bool validPathHLT(std::string path)
edm::InputTag triggerSummaryLabel_
static const std::string removeVersion(const std::string &trigger)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &run, edm::EventSetup const &c) override
virtual void fillMEforMonAllTrigger(const edm::Event &iEvent, const edm::EventSetup &)
virtual bool isBarrel(double eta)
MonitorElement * NVertices
std::vector< std::string > pathFilter_
virtual void fillMEforTriggerNTfired()
unsigned int triggerIndex(std::string const &name) const
edm::EDGetTokenT< reco::JetCorrector > CaloJetCorToken_
std::vector< std::string > MBTrigPaths_
double dPhi(double phi1, double phi2)
virtual bool isTriggerObjectFound(std::string objectName)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
virtual bool isForward(double eta)
MonitorElement * correlation_AllWrtMu
std::vector< std::string > pathRejectKeyword_
MonitorElement * book1D(Args &&...args)
Abs< T >::type abs(const T &t)
~JetMETHLTOfflineSource()
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken
reco::CaloJetCollection calojet
std::vector< std::string > MuonTrigPaths_
virtual bool isHLTPathAccepted(std::string pathName)
edm::Handle< reco::CaloJetCollection > calojetColl_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
double deltaR(double eta1, double eta2, double phi1, double phi2)
virtual void dqmBeginRun(edm::Run const &run, edm::EventSetup const &c) override
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryFUToken
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
virtual void fillMEforMonTriggerSummary(const edm::Event &iEvent, const edm::EventSetup &)
void setCurrentFolder(const std::string &fullpath)
std::vector< std::pair< std::string, std::string > > custompathnamepairs_
T const * product() const
MonitorElement * book2D(Args &&...args)
edm::EDGetTokenT< reco::PFMETCollection > pfMetToken
std::vector< size_type > Keys
PathInfoCollection hltPathsAll_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
const std::string getL1ConditionModuleName(const std::string &pathname)
edm::Handle< trigger::TriggerEvent > triggerObj_
MonitorElement * correlation_AllWrtMB
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken
HLTConfigProvider hltConfig_
MonitorElement * correlation_All
edm::Handle< reco::CaloMETCollection > calometColl_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual double et() const final
transverse energy
virtual void fillMEforEffAllTrigger(const edm::Event &iEvent, const edm::EventSetup &)
MonitorElement * rate_AllWrtMB
MonitorElement * bookFloat(Args &&...args)
volatile std::atomic< bool > shutdown_flag false
MonitorElement * rate_AllWrtMu
reco::helper::JetIDHelper * jetID
edm::EDGetTokenT< reco::JetCorrector > PFJetCorToken_
void calculate(const edm::Event &event, const reco::CaloJet &jet, const int iDbg=0)
MonitorElement * rate_All
PathInfoCollection hltPathsEff_
virtual double pt() const final
transverse momentum