474 LogDebug(
"HLTInclusiveVBFSource") <<
"HLTConfigProvider failed to initialize.";
478 for(
unsigned int i=0;
i!=numberOfPaths; ++
i){
479 bool numFound =
false;
482 unsigned int usedPrescale = 1;
483 unsigned int objectType = 0;
486 if(
pathname.find(
"HLT_Di") == std::string::npos)
continue;
487 if(
pathname.find(
"Jet") == std::string::npos)
continue;
488 if(
pathname.find(
"MJJ") == std::string::npos)
continue;
489 if(
pathname.find(
"VBF_v") == std::string::npos)
continue;
496 triggerType =
"DiJet_Trigger";
500 for (
unsigned int i=0;
i!=numberOfPaths; ++
i) {
502 if(HLTname ==
pathname)numFound =
true;
505 if(numFound==
false)
continue;
507 auto numpathmodule = numpathmodules.begin();
508 for(; numpathmodule!= numpathmodules.end(); ++numpathmodule){
520 if(objectType == 0 || numFound==
false)
continue;
533 if(
debug_)
cout<<
"Storing: "<<
v.getPath()<<
", Prescale = "<<
v.getprescaleUsed()<<endl;
556 RECO_deltaEta_DiJet = iBooker.
bookFloat(
"RECO_deltaEta_DiJet");
557 RECO_deltaPhi_DiJet = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet");
558 RECO_invMass_DiJet = iBooker.
bookFloat(
"RECO_invMass_DiJet");
559 HLT_deltaEta_DiJet = iBooker.
bookFloat(
"HLT_deltaEta_DiJet");
560 HLT_deltaPhi_DiJet = iBooker.
bookFloat(
"HLT_deltaPhi_DiJet ");
561 HLT_invMass_DiJet = iBooker.
bookFloat(
"HLT_invMass_DiJet");
562 RECO_deltaEta_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaEta_DiJet_Match");
563 RECO_deltaPhi_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet_Match");
564 RECO_invMass_DiJet_Match = iBooker.
bookFloat(
"RECO_invMass_DiJet_Match");
565 RECOHLT_deltaEta = iBooker.
bookFloat(
"RECOHLT_deltaEta");
566 RECOHLT_deltaPhi = iBooker.
bookFloat(
"RECOHLT_deltaPhi ");
567 RECOHLT_invMass = iBooker.
bookFloat(
"RECOHLT_invMass");
568 NumberOfMatches = iBooker.
bookFloat(
"NumberOfMatches");
569 NumberOfEvents = iBooker.
bookFloat(
"NumberOfEvents");
576 histoname = labelname+
"_RECO_deltaEta_DiJet";
577 title = labelname+
"_RECO_deltaEta_DiJet "+trigPath;
578 RECO_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),50,-10.,10.);
579 RECO_deltaEta_DiJet->
getTH1F();
582 histoname = labelname+
"_RECO_deltaPhi_DiJet";
583 title = labelname+
"_RECO_deltaPhi_DiJet "+trigPath;
584 RECO_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),35,-3.5,3.5);
585 RECO_deltaPhi_DiJet->
getTH1F();
588 histoname = labelname+
"_RECO_invMass_DiJet";
589 title = labelname+
"_RECO_invMass_DiJet "+trigPath;
590 RECO_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),100,500.,2000.);
594 histoname = labelname+
"_HLT_deltaEta_DiJet";
595 title = labelname+
"_HLT_deltaEta_DiJet "+trigPath;
596 HLT_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),50,-10.,10.);
600 histoname = labelname+
"_HLT_deltaPhi_DiJet";
601 title = labelname+
"_HLT_deltaPhi_DiJet "+trigPath;
602 HLT_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),35,-3.5,3.5);
606 histoname = labelname+
"_HLT_invMass_DiJet";
607 title = labelname+
"_HLT_invMass_DiJet "+trigPath;
608 HLT_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(),100,500.,2000.);
612 histoname = labelname+
"_RECO_deltaEta_DiJet_Match";
613 title = labelname+
"_RECO_deltaEta_DiJet_Match "+trigPath;
614 RECO_deltaEta_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(),50,-10.,10.);
615 RECO_deltaEta_DiJet_Match->
getTH1F();
618 histoname = labelname+
"_RECO_deltaPhi_DiJet_Match";
619 title = labelname+
"_RECO_deltaPhi_DiJet_Match "+trigPath;
620 RECO_deltaPhi_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(),35,-3.5,3.5);
621 RECO_deltaPhi_DiJet_Match->
getTH1F();
624 histoname = labelname+
"_RECO_invMass_DiJet_Match";
625 title = labelname+
"_RECO_invMass_DiJet_Match "+trigPath;
626 RECO_invMass_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(),100,500.,2000.);
627 RECO_invMass_DiJet_Match->
getTH1F();
630 histoname = labelname+
"_RECOHLT_deltaEta";
631 title = labelname+
"_RECOHLT_deltaEta "+trigPath;
632 RECOHLT_deltaEta = iBooker.
book2D(histoname.c_str(),
title.c_str(),50,-10.,10.,50,-10.,10.);
636 histoname = labelname+
"_RECOHLT_deltaPhi";
637 title = labelname+
"_RECOHLT_deltaPhi "+trigPath;
638 RECOHLT_deltaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),35,-3.5,3.5,35,-3.5,3.5);
642 histoname = labelname+
"_RECOHLT_invMass";
643 title = labelname+
"_RECOHLT_invMass "+trigPath;
644 RECOHLT_invMass = iBooker.
book2D(histoname.c_str(),
title.c_str(),100,500.,2000.,100,500.,2000.);
648 histoname = labelname+
"_NumberOfMatches ";
649 title = labelname+
"_NumberOfMatches "+trigPath;
650 NumberOfMatches = iBooker.
book1D(histoname.c_str(),
title.c_str(),2,0.,2.);
654 histoname = labelname+
"_NumberOfEvents";
655 title = labelname+
"_NumberOfEvents "+trigPath;
656 NumberOfEvents = iBooker.
book1D(histoname.c_str(),
title.c_str(),10,0.,10.);
667 RECO_deltaEta_DiJet_Match,
668 RECO_deltaPhi_DiJet_Match,
669 RECO_invMass_DiJet_Match,
unsigned int size() const
number of trigger paths in trigger table
const std::string moduleType(const std::string &module) const
C++ class name of module.
const std::string & triggerName(unsigned int triggerIndex) const
PathInfoCollection hltPathsAll_
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
MonitorElement * book2D(Args &&...args)
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
HLTConfigProvider hltConfig_
MonitorElement * bookFloat(Args &&...args)