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 dqmEndLuminosityBlock(DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual ~DQMExample_Step2()
MonitorElement * get(const std::string &path)
MonitorElement * h_ptRatio
DQMExample_Step2(const edm::ParameterSet &ps)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
std::string denMonitorName_
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX(void) 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)