16 edm::LogInfo(
"DQMExample_Step2") <<
"Constructor DQMExample_Step2::DQMExample_Step2 " << std::endl;
27 edm::LogInfo(
"DQMExample_Step2") <<
"Destructor DQMExample_Step2::~DQMExample_Step2 " << std::endl;
47 if (!numerator || !denominator) {
48 edm::LogError(
"DQMExample_Step2") <<
"MEs not found!" << std::endl;
53 h_ptRatio = ibooker_.
book1D(
"ptRatio",
"pt ratio pf matched objects", 50, 0., 100.);
56 for (
int iBin = 1; iBin < numerator->
getNbinsX(); ++iBin) {
72 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::endLumi " << std::endl;
T getParameter(std::string const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * h_ptRatio
void setCurrentFolder(std::string const &fullpath)
~DQMExample_Step2() override
DQMExample_Step2(const edm::ParameterSet &ps)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
MonitorElement * book1D(Args &&...args)
MonitorElement * get(std::string const &path)
std::string denMonitorName_
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX() const
get # of bins in X-axis
std::string numMonitorName_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override