17 edm::LogInfo(
"DQMExample_Step2") <<
"Constructor DQMExample_Step2::DQMExample_Step2 " << std::endl;
30 edm::LogInfo(
"DQMExample_Step2") <<
"Destructor DQMExample_Step2::~DQMExample_Step2 " << std::endl;
38 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::beginJob " << std::endl;
52 if (!numerator || !denominator)
54 edm::LogError(
"DQMExample_Step2") <<
"MEs not found!" << std::endl;
60 h_ptRatio = ibooker_.
book1D(
"ptRatio",
"pt ratio pf matched objects",50,0.,100.);
63 for (
int iBin=1; iBin<numerator->
getNbinsX(); ++iBin)
77 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