|
|
Go to the documentation of this file.
19 : bookPrefix_(
"ele"), bookIndex_(0), histoNamesReady(
false) {
44 std::ostringstream oss;
54 edm::LogInfo(
"DQMAnalyzeBase::bookHistograms") << std::endl;
68 if (!titleX.empty()) {
69 me->setAxisTitle(titleX);
71 if (!titleY.empty()) {
72 me->setAxisTitle(titleY, 2);
74 if (TString(
option) !=
"") {
78 me->setStatOverflows(kTRUE);
94 if (
me->getTH1F()->GetSumw2N() == 0)
96 if (!titleX.empty()) {
97 me->setAxisTitle(titleX);
99 if (!titleY.empty()) {
100 me->setAxisTitle(titleY, 2);
102 if (TString(
option) !=
"") {
106 me->setStatOverflows(kTRUE);
125 if (!titleX.empty()) {
126 me->setAxisTitle(titleX);
128 if (!titleY.empty()) {
129 me->setAxisTitle(titleY, 2);
131 if (TString(
option) !=
"") {
135 me->setStatOverflows(kTRUE);
154 if (
me->getTH2F()->GetSumw2N() == 0)
156 if (!titleX.empty()) {
157 me->setAxisTitle(titleX);
159 if (!titleY.empty()) {
160 me->setAxisTitle(titleY, 2);
162 if (TString(
option) !=
"") {
166 me->setStatOverflows(kTRUE);
184 if (!titleX.empty()) {
185 me->getTProfile()->GetXaxis()->SetTitle(titleX.c_str());
187 if (!titleY.empty()) {
188 me->setAxisTitle(titleY, 2);
190 if (TString(
option) !=
"") {
191 me->getTProfile()->SetOption(
option);
194 me->setStatOverflows(kTRUE);
void setBookEfficiencyFlag(const bool &)
std::string outputInternalPath_
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")
ElectronDqmAnalyzerBase(const edm::ParameterSet &conf)
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
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")
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
~ElectronDqmAnalyzerBase() override
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
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")
std::string inputInternalPath_
std::string newName(const std::string &name)
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 &)
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")
T getParameter(std::string const &) const
bool bookStatOverflowFlag_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void setBookPrefix(const std::string &)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())