5 me.numerator->setAxisTitle(titleX, 1);
6 me.numerator->setAxisTitle(titleY, 2);
10 me.denominator->setAxisTitle(titleX, 1);
11 me.denominator->setAxisTitle(titleY, 2);
23 me.numerator = ibooker.
book1D(histname +
"_numerator", histtitle +
" (numerator)",
nbins,
min,
max);
26 me.denominator = ibooker.
book1D(histname +
"_denominator", histtitle +
" (denominator)",
nbins,
min,
max);
34 const std::vector<double>&
binning,
38 float* arr = &fbinning[0];
40 me.numerator = ibooker.
book1D(histname +
"_numerator", histtitle +
" (numerator)",
nbins, arr);
43 me.denominator = ibooker.
book1D(histname +
"_denominator", histtitle +
" (denominator)",
nbins, arr);
90 const std::vector<double>& binningX,
91 const std::vector<double>& binningY,
94 std::vector<float> fbinningX(binningX.begin(), binningX.end());
95 float* arrX = &fbinningX[0];
97 std::vector<float> fbinningY(binningY.begin(), binningY.end());
98 float* arrY = &fbinningY[0];
100 me.numerator = ibooker.
book2D(histname +
"_numerator", histtitle +
" (numerator)",
nbinsX, arrX,
nbinsY, arrY);
104 ibooker.
book2D(histname +
"_denominator", histtitle +
" (denominator)",
nbinsX, arrX,
nbinsY, arrY);
110 pset.add<
double>(
"xmin");
111 pset.add<
double>(
"xmax");
116 pset.add<
double>(
"xmin", 0.);
117 pset.add<
double>(
"xmax", 2500.);
122 pset.getParameter<uint32_t>(
"nbins"),
pset.getParameter<
double>(
"xmin"),
pset.getParameter<
double>(
"xmax")};
127 pset.getParameter<uint32_t>(
"nbins"), 0.,
double(
pset.getParameter<uint32_t>(
"nbins"))};
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
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)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())