20 : bookPrefix_(
"ele"), bookIndex_(0), histoNamesReady(
false), finalDone_(
false)
50 std::ostringstream oss ;
67 {
edm::LogWarning(
"ElectronDqmAnalyzerBase::endRun")<<
"finalize() already called" ; }
83 {
edm::LogWarning(
"ElectronDqmAnalyzerBase::endLuminosityBlock")<<
"finalize() already called" ; }
90 edm::LogInfo(
"DQMAnalyzeBase::bookHistograms") << std::endl;
96 int nchX,
double lowX,
double highX,
102 if (titleX!=
"") { me->
getTH1F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
103 if (titleY!=
"") { me->
getTH1F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
104 if (TString(option)!=
"") { me->
getTH1F()->SetOption(option) ; }
111 int nchX,
double lowX,
double highX,
118 if (titleX!=
"") { me->
getTH1F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
119 if (titleY!=
"") { me->
getTH1F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
120 if (TString(option)!=
"") { me->
getTH1F()->SetOption(option) ; }
127 int nchX,
double lowX,
double highX,
128 int nchY,
double lowY,
double highY,
134 if (titleX!=
"") { me->
getTH2F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
135 if (titleY!=
"") { me->
getTH2F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
136 if (TString(option)!=
"") { me->
getTH2F()->SetOption(option) ; }
143 int nchX,
double lowX,
double highX,
144 int nchY,
double lowY,
double highY,
151 if (titleX!=
"") { me->
getTH2F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
152 if (titleY!=
"") { me->
getTH2F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
153 if (TString(option)!=
"") { me->
getTH2F()->SetOption(option) ; }
160 int nchX,
double lowX,
double highX,
161 double lowY,
double highY,
167 if (titleX!=
"") { me->
getTProfile()->GetXaxis()->SetTitle(titleX.c_str()) ; }
168 if (titleY!=
"") { me->
getTProfile()->GetYaxis()->SetTitle(titleY.c_str()) ; }
169 if (TString(option)!=
"") { me->
getTProfile()->SetOption(option) ; }
TProfile * getTProfile() const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool bookStatOverflowFlag_
MonitorElement * bookH2withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
MonitorElement * bookProfile(Args &&...args)
MonitorElement * bookH1withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
MonitorElement * bookH2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
MonitorElement * book1D(Args &&...args)
void setBookPrefix(const std::string &)
ElectronDqmAnalyzerBase(const edm::ParameterSet &conf)
std::string outputInternalPath_
MonitorElement * bookP1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
void setBookEfficiencyFlag(const bool &)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
~ElectronDqmAnalyzerBase() override
MonitorElement * bookH1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
void endRun(edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void setBookStatOverflowFlag(const bool &)
std::string inputInternalPath_
std::string newName(const std::string &name)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override