20 : bookPrefix_(
"ele"), bookIndex_(0), histoNamesReady(
false)
50 std::ostringstream oss ;
61 edm::LogInfo(
"DQMAnalyzeBase::bookHistograms") << std::endl;
67 int nchX,
double lowX,
double highX,
73 if (!titleX.empty()) { me->
getTH1F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
74 if (!titleY.empty()) { me->
getTH1F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
75 if (TString(option)!=
"") { me->
getTH1F()->SetOption(option) ; }
82 int nchX,
double lowX,
double highX,
89 if (!titleX.empty()) { me->
getTH1F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
90 if (!titleY.empty()) { me->
getTH1F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
91 if (TString(option)!=
"") { me->
getTH1F()->SetOption(option) ; }
98 int nchX,
double lowX,
double highX,
99 int nchY,
double lowY,
double highY,
105 if (!titleX.empty()) { me->
getTH2F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
106 if (!titleY.empty()) { me->
getTH2F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
107 if (TString(option)!=
"") { me->
getTH2F()->SetOption(option) ; }
114 int nchX,
double lowX,
double highX,
115 int nchY,
double lowY,
double highY,
122 if (!titleX.empty()) { me->
getTH2F()->GetXaxis()->SetTitle(titleX.c_str()) ; }
123 if (!titleY.empty()) { me->
getTH2F()->GetYaxis()->SetTitle(titleY.c_str()) ; }
124 if (TString(option)!=
"") { me->
getTH2F()->SetOption(option) ; }
131 int nchX,
double lowX,
double highX,
132 double lowY,
double highY,
138 if (!titleX.empty()) { me->
getTProfile()->GetXaxis()->SetTitle(titleX.c_str()) ; }
139 if (!titleY.empty()) { me->
getTProfile()->GetYaxis()->SetTitle(titleY.c_str()) ; }
140 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")
void setCurrentFolder(std::string const &fullpath)
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 &)
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 setBookStatOverflowFlag(const bool &)
std::string inputInternalPath_
std::string newName(const std::string &name)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override