21 histname =
"ht_variable";
27 histtitle =
"PFHT vs PFMET";
32 histtitle =
"PFHT vs LS";
48 const bool passCond) {
51 for (
auto const& htjet : htjets) {
74 std::vector<double> bins = {0., 50., 100., 150., 200., 250., 300., 350., 400., 450., 500.,
75 550., 600., 650., 700., 750., 800., 900., 1000., 1200., 1500., 2000.};
76 histoPSet.
add<std::vector<double> >(
"htBinning", bins);
78 std::vector<double> metbins = {0., 20., 40., 60., 80., 100., 120., 140., 160., 180., 200., 220.,
79 240., 260., 280., 300., 320., 340., 360., 380., 400., 450., 500., 1000.};
80 histoPSet.
add<std::vector<double> >(
"metBinning2", metbins);
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
void bookHistograms(DQMStore::IBooker &)
void initialise(const edm::ParameterSet &iConfig)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
std::vector< double > ht_variable_binning_
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
std::vector< double > met_variable_binning_
MonitorElement * denominator
MonitorElement * numerator
static void fillHtDescription(edm::ParameterSetDescription &histoPSet)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
void fillHistograms(const std::vector< reco::PFJet > &htjets, const double &met, const int &ls, const bool passCond)
ObjME htME_variableBinning_