518 LogDebug(
"HLTInclusiveVBFSource") <<
"HLTConfigProvider failed to initialize.";
522 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
523 bool numFound =
false;
526 unsigned int usedPrescale = 1;
527 unsigned int objectType = 0;
530 if (
pathname.find(
"HLT_Di") == std::string::npos)
532 if (
pathname.find(
"Jet") == std::string::npos)
534 if (
pathname.find(
"MJJ") == std::string::npos)
536 if (
pathname.find(
"VBF_v") == std::string::npos)
548 for (
unsigned int i = 0;
i != numberOfPaths; ++
i) {
554 if (numFound ==
false)
557 auto numpathmodule = numpathmodules.begin();
558 for (; numpathmodule != numpathmodules.end(); ++numpathmodule) {
571 if (objectType == 0 || numFound ==
false)
586 cout <<
"Storing: " <<
v.getPath() <<
", Prescale = " <<
v.getprescaleUsed() << endl;
609 RECO_deltaEta_DiJet = iBooker.
bookFloat(
"RECO_deltaEta_DiJet");
610 RECO_deltaPhi_DiJet = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet");
611 RECO_invMass_DiJet = iBooker.
bookFloat(
"RECO_invMass_DiJet");
612 HLT_deltaEta_DiJet = iBooker.
bookFloat(
"HLT_deltaEta_DiJet");
613 HLT_deltaPhi_DiJet = iBooker.
bookFloat(
"HLT_deltaPhi_DiJet ");
614 HLT_invMass_DiJet = iBooker.
bookFloat(
"HLT_invMass_DiJet");
615 RECO_deltaEta_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaEta_DiJet_Match");
616 RECO_deltaPhi_DiJet_Match = iBooker.
bookFloat(
"RECO_deltaPhi_DiJet_Match");
617 RECO_invMass_DiJet_Match = iBooker.
bookFloat(
"RECO_invMass_DiJet_Match");
618 RECOHLT_deltaEta = iBooker.
bookFloat(
"RECOHLT_deltaEta");
619 RECOHLT_deltaPhi = iBooker.
bookFloat(
"RECOHLT_deltaPhi ");
620 RECOHLT_invMass = iBooker.
bookFloat(
"RECOHLT_invMass");
621 NumberOfMatches = iBooker.
bookFloat(
"NumberOfMatches");
622 NumberOfEvents = iBooker.
bookFloat(
"NumberOfEvents");
629 histoname = labelname +
"_RECO_deltaEta_DiJet";
630 title = labelname +
"_RECO_deltaEta_DiJet " + trigPath;
631 RECO_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
632 RECO_deltaEta_DiJet->
getTH1F();
635 histoname = labelname +
"_RECO_deltaPhi_DiJet";
636 title = labelname +
"_RECO_deltaPhi_DiJet " + trigPath;
637 RECO_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
638 RECO_deltaPhi_DiJet->
getTH1F();
641 histoname = labelname +
"_RECO_invMass_DiJet";
642 title = labelname +
"_RECO_invMass_DiJet " + trigPath;
643 RECO_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
647 histoname = labelname +
"_HLT_deltaEta_DiJet";
648 title = labelname +
"_HLT_deltaEta_DiJet " + trigPath;
649 HLT_deltaEta_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
653 histoname = labelname +
"_HLT_deltaPhi_DiJet";
654 title = labelname +
"_HLT_deltaPhi_DiJet " + trigPath;
655 HLT_deltaPhi_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
659 histoname = labelname +
"_HLT_invMass_DiJet";
660 title = labelname +
"_HLT_invMass_DiJet " + trigPath;
661 HLT_invMass_DiJet = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
665 histoname = labelname +
"_RECO_deltaEta_DiJet_Match";
666 title = labelname +
"_RECO_deltaEta_DiJet_Match " + trigPath;
667 RECO_deltaEta_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 50, -10., 10.);
668 RECO_deltaEta_DiJet_Match->
getTH1F();
671 histoname = labelname +
"_RECO_deltaPhi_DiJet_Match";
672 title = labelname +
"_RECO_deltaPhi_DiJet_Match " + trigPath;
673 RECO_deltaPhi_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5);
674 RECO_deltaPhi_DiJet_Match->
getTH1F();
677 histoname = labelname +
"_RECO_invMass_DiJet_Match";
678 title = labelname +
"_RECO_invMass_DiJet_Match " + trigPath;
679 RECO_invMass_DiJet_Match = iBooker.
book1D(histoname.c_str(),
title.c_str(), 100, 500., 2000.);
680 RECO_invMass_DiJet_Match->
getTH1F();
683 histoname = labelname +
"_RECOHLT_deltaEta";
684 title = labelname +
"_RECOHLT_deltaEta " + trigPath;
685 RECOHLT_deltaEta = iBooker.
book2D(histoname.c_str(),
title.c_str(), 50, -10., 10., 50, -10., 10.);
689 histoname = labelname +
"_RECOHLT_deltaPhi";
690 title = labelname +
"_RECOHLT_deltaPhi " + trigPath;
691 RECOHLT_deltaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(), 35, -3.5, 3.5, 35, -3.5, 3.5);
695 histoname = labelname +
"_RECOHLT_invMass";
696 title = labelname +
"_RECOHLT_invMass " + trigPath;
697 RECOHLT_invMass = iBooker.
book2D(histoname.c_str(),
title.c_str(), 100, 500., 2000., 100, 500., 2000.);
701 histoname = labelname +
"_NumberOfMatches ";
702 title = labelname +
"_NumberOfMatches " + trigPath;
703 NumberOfMatches = iBooker.
book1D(histoname.c_str(),
title.c_str(), 2, 0., 2.);
707 histoname = labelname +
"_NumberOfEvents";
708 title = labelname +
"_NumberOfEvents " + trigPath;
709 NumberOfEvents = iBooker.
book1D(histoname.c_str(),
title.c_str(), 10, 0., 10.);
713 v.setHistos(RECO_deltaEta_DiJet,
719 RECO_deltaEta_DiJet_Match,
720 RECO_deltaPhi_DiJet_Match,
721 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())