19 : bookPrefix_(
"ele"), bookIndex_(0), histoNamesReady(
false) {
44 std::ostringstream oss;
54 edm::LogInfo(
"DQMAnalyzeBase::bookHistograms") << std::endl;
68 if (!titleX.empty()) {
71 if (!titleY.empty()) {
74 if (TString(option) !=
"") {
94 if (me->
getTH1F()->GetSumw2N() == 0)
96 if (!titleX.empty()) {
99 if (!titleY.empty()) {
102 if (TString(option) !=
"") {
125 if (!titleX.empty()) {
128 if (!titleY.empty()) {
131 if (TString(option) !=
"") {
154 if (me->
getTH2F()->GetSumw2N() == 0)
156 if (!titleX.empty()) {
159 if (!titleY.empty()) {
162 if (TString(option) !=
"") {
184 if (!titleX.empty()) {
185 me->
getTProfile()->GetXaxis()->SetTitle(titleX.c_str());
187 if (!titleY.empty()) {
190 if (TString(option) !=
"") {
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool bookStatOverflowFlag_
virtual void setOption(const char *option)
void setCurrentFolder(std::string const &fullpath)
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")
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")
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, char const *option="s")
void setBookPrefix(const std::string &)
ElectronDqmAnalyzerBase(const edm::ParameterSet &conf)
virtual TProfile * getTProfile()
std::string outputInternalPath_
void setBookEfficiencyFlag(const bool &)
virtual DQM_DEPRECATED void setStatOverflows(unsigned int value)
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 * 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 * 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 * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
virtual void enableSumw2()
~ElectronDqmAnalyzerBase() 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
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)