521 LogDebug(
"HLTInclusiveVBFSource") <<
"HLTConfigProvider failed to initialize.";
525 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
526 bool numFound =
false;
529 unsigned int usedPrescale = 1;
530 unsigned int objectType = 0;
533 if (
pathname.find(
"HLT_Di") == std::string::npos)
535 if (
pathname.find(
"Jet") == std::string::npos)
537 if (
pathname.find(
"MJJ") == std::string::npos)
539 if (
pathname.find(
"VBF_v") == std::string::npos)
547 triggerType =
"DiJet_Trigger";
551 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
557 if (numFound ==
false)
560 auto numpathmodule = numpathmodules.begin();
561 for (; numpathmodule != numpathmodules.end(); ++numpathmodule) {
574 if (objectType == 0 || numFound ==
false)
589 cout <<
"Storing: " <<
v.getPath() <<
", Prescale = " <<
v.getprescaleUsed() << endl;
612 RECO_deltaEta_DiJet = iBooker.
bookFloat(
"RECO_deltaEta_DiJet");
613 RECO_deltaPhi_DiJet = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet");
614 RECO_invMass_DiJet = iBooker.
bookFloat(
"RECO_invMass_DiJet");
615 HLT_deltaEta_DiJet = iBooker.
bookFloat(
"HLT_deltaEta_DiJet");
616 HLT_deltaPhi_DiJet = iBooker.
bookFloat(
"HLT_deltaPhi_DiJet ");
617 HLT_invMass_DiJet = iBooker.
bookFloat(
"HLT_invMass_DiJet");
618 RECO_deltaEta_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaEta_DiJet_Match");
619 RECO_deltaPhi_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet_Match");
620 RECO_invMass_DiJet_Match = iBooker.
bookFloat(
"RECO_invMass_DiJet_Match");
621 RECOHLT_deltaEta = iBooker.
bookFloat(
"RECOHLT_deltaEta");
622 RECOHLT_deltaPhi = iBooker.
bookFloat(
"RECOHLT_deltaPhi ");
623 RECOHLT_invMass = iBooker.
bookFloat(
"RECOHLT_invMass");
624 NumberOfMatches = iBooker.
bookFloat(
"NumberOfMatches");
625 NumberOfEvents = iBooker.
bookFloat(
"NumberOfEvents");
632 histoname = labelname +
"_RECO_deltaEta_DiJet";
633 title = labelname +
"_RECO_deltaEta_DiJet " + trigPath;
634 RECO_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
635 RECO_deltaEta_DiJet->
getTH1F();
638 histoname = labelname +
"_RECO_deltaPhi_DiJet";
639 title = labelname +
"_RECO_deltaPhi_DiJet " + trigPath;
640 RECO_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
641 RECO_deltaPhi_DiJet->
getTH1F();
644 histoname = labelname +
"_RECO_invMass_DiJet";
645 title = labelname +
"_RECO_invMass_DiJet " + trigPath;
646 RECO_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
650 histoname = labelname +
"_HLT_deltaEta_DiJet";
651 title = labelname +
"_HLT_deltaEta_DiJet " + trigPath;
652 HLT_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
656 histoname = labelname +
"_HLT_deltaPhi_DiJet";
657 title = labelname +
"_HLT_deltaPhi_DiJet " + trigPath;
658 HLT_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
662 histoname = labelname +
"_HLT_invMass_DiJet";
663 title = labelname +
"_HLT_invMass_DiJet " + trigPath;
664 HLT_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
668 histoname = labelname +
"_RECO_deltaEta_DiJet_Match";
669 title = labelname +
"_RECO_deltaEta_DiJet_Match " + trigPath;
670 RECO_deltaEta_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
671 RECO_deltaEta_DiJet_Match->
getTH1F();
674 histoname = labelname +
"_RECO_deltaPhi_DiJet_Match";
675 title = labelname +
"_RECO_deltaPhi_DiJet_Match " + trigPath;
676 RECO_deltaPhi_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
677 RECO_deltaPhi_DiJet_Match->
getTH1F();
680 histoname = labelname +
"_RECO_invMass_DiJet_Match";
681 title = labelname +
"_RECO_invMass_DiJet_Match " + trigPath;
682 RECO_invMass_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
683 RECO_invMass_DiJet_Match->
getTH1F();
686 histoname = labelname +
"_RECOHLT_deltaEta";
687 title = labelname +
"_RECOHLT_deltaEta " + trigPath;
688 RECOHLT_deltaEta = iBooker.
book2D(histoname.c_str(),
title.c_str(), 50, -10., 10., 50, -10., 10.);
692 histoname = labelname +
"_RECOHLT_deltaPhi";
693 title = labelname +
"_RECOHLT_deltaPhi " + trigPath;
694 RECOHLT_deltaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5, 35, -3.5, 3.5);
698 histoname = labelname +
"_RECOHLT_invMass";
699 title = labelname +
"_RECOHLT_invMass " + trigPath;
700 RECOHLT_invMass = iBooker.
book2D(histoname.c_str(),
title.c_str(), 100, 500., 2000., 100, 500., 2000.);
704 histoname = labelname +
"_NumberOfMatches ";
705 title = labelname +
"_NumberOfMatches " + trigPath;
706 NumberOfMatches = iBooker.
book1D(histoname.c_str(),
title.c_str(), 2, 0., 2.);
710 histoname = labelname +
"_NumberOfEvents";
711 title = labelname +
"_NumberOfEvents " + trigPath;
712 NumberOfEvents = iBooker.
book1D(histoname.c_str(),
title.c_str(), 10, 0., 10.);
716 v.setHistos(RECO_deltaEta_DiJet,
722 RECO_deltaEta_DiJet_Match,
723 RECO_deltaPhi_DiJet_Match,
724 RECO_invMass_DiJet_Match,
unsigned int size() const
number of trigger paths in trigger table
virtual TH2F * getTH2F() const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
const edm::EventSetup & c
const std::string moduleType(const std::string &module) const
C++ class name of module.
const std::string & triggerName(unsigned int triggerIndex) const
virtual void setCurrentFolder(std::string const &fullpath)
PathInfoCollection hltPathsAll_
virtual TH1F * getTH1F() const
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
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())