17 edm::LogInfo(
"DQMExample_Step2") <<
"Constructor DQMExample_Step2::DQMExample_Step2 " << std::endl;
33 edm::LogInfo(
"DQMExample_Step2") <<
"Destructor DQMExample_Step2::~DQMExample_Step2 " << std::endl;
41 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::beginJob " << std::endl;
48 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::beginRun" << std::endl;
58 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::beginLuminosityBlock" << std::endl;
67 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::analyze" << std::endl;
77 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::endLuminosityBlock" << std::endl;
86 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::endRun" << std::endl;
95 if (!numerator || !denominator)
97 edm::LogError(
"DQMExample_Step2") <<
"MEs not found!" << std::endl;
106 for (
int iBin=1; iBin<numerator->
getNbinsX(); ++iBin)
120 edm::LogInfo(
"DQMExample_Step2") <<
"DQMExample_Step2::endJob" << std::endl;
T getParameter(std::string const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
virtual ~DQMExample_Step2()
MonitorElement * h_ptRatio
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
DQMExample_Step2(const edm::ParameterSet &ps)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
std::string denMonitorName_
double getBinContent(int binx) const
get content of bin (1-D)
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)
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)
void setCurrentFolder(const std::string &fullpath)