516 LogDebug(
"HLTInclusiveVBFSource") <<
"HLTConfigProvider failed to initialize.";
520 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
521 bool numFound =
false;
524 unsigned int usedPrescale = 1;
525 unsigned int objectType = 0;
528 if (
pathname.find(
"HLT_Di") == std::string::npos)
530 if (
pathname.find(
"Jet") == std::string::npos)
532 if (
pathname.find(
"MJJ") == std::string::npos)
534 if (
pathname.find(
"VBF_v") == std::string::npos)
546 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
552 if (numFound ==
false)
555 auto numpathmodule = numpathmodules.begin();
556 for (; numpathmodule != numpathmodules.end(); ++numpathmodule) {
569 if (objectType == 0 || numFound ==
false)
584 cout <<
"Storing: " <<
v.getPath() <<
", Prescale = " <<
v.getprescaleUsed() << endl;
607 RECO_deltaEta_DiJet = iBooker.
bookFloat(
"RECO_deltaEta_DiJet");
608 RECO_deltaPhi_DiJet = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet");
609 RECO_invMass_DiJet = iBooker.
bookFloat(
"RECO_invMass_DiJet");
610 HLT_deltaEta_DiJet = iBooker.
bookFloat(
"HLT_deltaEta_DiJet");
611 HLT_deltaPhi_DiJet = iBooker.
bookFloat(
"HLT_deltaPhi_DiJet ");
612 HLT_invMass_DiJet = iBooker.
bookFloat(
"HLT_invMass_DiJet");
613 RECO_deltaEta_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaEta_DiJet_Match");
614 RECO_deltaPhi_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet_Match");
615 RECO_invMass_DiJet_Match = iBooker.
bookFloat(
"RECO_invMass_DiJet_Match");
616 RECOHLT_deltaEta = iBooker.
bookFloat(
"RECOHLT_deltaEta");
617 RECOHLT_deltaPhi = iBooker.
bookFloat(
"RECOHLT_deltaPhi ");
618 RECOHLT_invMass = iBooker.
bookFloat(
"RECOHLT_invMass");
619 NumberOfMatches = iBooker.
bookFloat(
"NumberOfMatches");
620 NumberOfEvents = iBooker.
bookFloat(
"NumberOfEvents");
627 histoname = labelname +
"_RECO_deltaEta_DiJet";
628 title = labelname +
"_RECO_deltaEta_DiJet " + trigPath;
629 RECO_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
630 RECO_deltaEta_DiJet->
getTH1F();
633 histoname = labelname +
"_RECO_deltaPhi_DiJet";
634 title = labelname +
"_RECO_deltaPhi_DiJet " + trigPath;
635 RECO_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
636 RECO_deltaPhi_DiJet->
getTH1F();
639 histoname = labelname +
"_RECO_invMass_DiJet";
640 title = labelname +
"_RECO_invMass_DiJet " + trigPath;
641 RECO_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
645 histoname = labelname +
"_HLT_deltaEta_DiJet";
646 title = labelname +
"_HLT_deltaEta_DiJet " + trigPath;
647 HLT_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
651 histoname = labelname +
"_HLT_deltaPhi_DiJet";
652 title = labelname +
"_HLT_deltaPhi_DiJet " + trigPath;
653 HLT_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
657 histoname = labelname +
"_HLT_invMass_DiJet";
658 title = labelname +
"_HLT_invMass_DiJet " + trigPath;
659 HLT_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
663 histoname = labelname +
"_RECO_deltaEta_DiJet_Match";
664 title = labelname +
"_RECO_deltaEta_DiJet_Match " + trigPath;
665 RECO_deltaEta_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
666 RECO_deltaEta_DiJet_Match->
getTH1F();
669 histoname = labelname +
"_RECO_deltaPhi_DiJet_Match";
670 title = labelname +
"_RECO_deltaPhi_DiJet_Match " + trigPath;
671 RECO_deltaPhi_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
672 RECO_deltaPhi_DiJet_Match->
getTH1F();
675 histoname = labelname +
"_RECO_invMass_DiJet_Match";
676 title = labelname +
"_RECO_invMass_DiJet_Match " + trigPath;
677 RECO_invMass_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
678 RECO_invMass_DiJet_Match->
getTH1F();
681 histoname = labelname +
"_RECOHLT_deltaEta";
682 title = labelname +
"_RECOHLT_deltaEta " + trigPath;
683 RECOHLT_deltaEta = iBooker.
book2D(histoname.c_str(),
title.c_str(), 50, -10., 10., 50, -10., 10.);
687 histoname = labelname +
"_RECOHLT_deltaPhi";
688 title = labelname +
"_RECOHLT_deltaPhi " + trigPath;
689 RECOHLT_deltaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5, 35, -3.5, 3.5);
693 histoname = labelname +
"_RECOHLT_invMass";
694 title = labelname +
"_RECOHLT_invMass " + trigPath;
695 RECOHLT_invMass = iBooker.
book2D(histoname.c_str(),
title.c_str(), 100, 500., 2000., 100, 500., 2000.);
699 histoname = labelname +
"_NumberOfMatches ";
700 title = labelname +
"_NumberOfMatches " + trigPath;
701 NumberOfMatches = iBooker.
book1D(histoname.c_str(),
title.c_str(), 2, 0., 2.);
705 histoname = labelname +
"_NumberOfEvents";
706 title = labelname +
"_NumberOfEvents " + trigPath;
707 NumberOfEvents = iBooker.
book1D(histoname.c_str(),
title.c_str(), 10, 0., 10.);
711 v.setHistos(RECO_deltaEta_DiJet,
717 RECO_deltaEta_DiJet_Match,
718 RECO_deltaPhi_DiJet_Match,
719 RECO_invMass_DiJet_Match,
const std::string & triggerName(unsigned int triggerIndex) const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
virtual void setCurrentFolder(std::string const &fullpath)
PathInfoCollection hltPathsAll_
const std::string moduleType(const std::string &module) const
C++ class name of module.
virtual TH2F * getTH2F() const
unsigned int size() const
number of trigger paths in trigger table
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
virtual TH1F * getTH1F() const
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
HLTConfigProvider hltConfig_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())