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;
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX)
T getParameter(std::string const &) const
void setCurrentFolder(std::string const &fullpath)
MonitorElement * h_ptRatio
virtual int getNbinsX() const
get # of bins in X-axis
~DQMExample_Step2() override
DQMExample_Step2(const edm::ParameterSet &ps)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual double getBinContent(int binx) const
get content of bin (1-D)
std::string denMonitorName_
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * get(std::string const &path)
std::string numMonitorName_
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)