|
|
|
void | copyLabels (MonitorElement *h2Src, MonitorElement *h2Dst) |
|
void | createSummaryHist (edm::Service< DQMStore > &store, MonitorElement *h2Src, MonitorElement *&h2Sum, std::vector< std::string > &listLayers) |
|
void | createSummaryVFAT (edm::Service< DQMStore > &store, MonitorElement *h2Src, std::string strSuffix, MonitorElement *&h2Sum) |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | drawSummaryHistogram (edm::Service< DQMStore > &store) |
|
Float_t | refineSummaryHistogram (MonitorElement *h2Sum, MonitorElement *h2SrcOcc, MonitorElement *h2SrcStatusE, MonitorElement *h2SrcStatusW=nullptr, Bool_t bVarXBin=false) |
|
Definition at line 24 of file GEMDQMHarvester.cc.
◆ GEMDQMHarvester()
◆ ~GEMDQMHarvester()
GEMDQMHarvester::~GEMDQMHarvester |
( |
| ) |
|
|
inlineoverride |
◆ copyLabels()
Definition at line 124 of file GEMDQMHarvester.cc.
127 for (Int_t
i = 1;
i <=
nBinX;
i++) {
130 for (Int_t
i = 1;
i <=
nBinY;
i++) {
References dqm::impl::MonitorElement::getAxisTitle(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), dqm::legacy::MonitorElement::getTH2F(), dqm::impl::MonitorElement::getTitle(), mps_fire::i, anotherprimaryvertexanalyzer_cfi::nBinX, anotherprimaryvertexanalyzer_cfi::nBinY, dqm::impl::MonitorElement::setBinLabel(), dqm::impl::MonitorElement::setTitle(), dqm::impl::MonitorElement::setXTitle(), and dqm::impl::MonitorElement::setYTitle().
◆ createSummaryHist()
Definition at line 138 of file GEMDQMHarvester.cc.
153 for (Int_t
i = 1;
i <=
nBinY;
i++) {
155 auto nPos = strLabelFull.find(
';');
156 auto strLabel = strLabelFull.substr(0, nPos);
157 listLayers.push_back(strLabelFull.substr(nPos + 1));
References dqm::implementation::IBooker::book2D(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), dqm::legacy::MonitorElement::getTH2F(), mps_fire::i, anotherprimaryvertexanalyzer_cfi::nBinX, anotherprimaryvertexanalyzer_cfi::nBinY, dqm::impl::MonitorElement::setBinLabel(), dqm::impl::MonitorElement::setTitle(), dqm::impl::MonitorElement::setXTitle(), dqm::impl::MonitorElement::setYTitle(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ createSummaryVFAT()
◆ dqmEndJob()
◆ dqmEndLuminosityBlock()
◆ drawSummaryHistogram()
Definition at line 85 of file GEMDQMHarvester.cc.
86 std::string strSrcDigiOcc =
"GEM/Digis/summaryOccDigi";
87 std::string strSrcStatusW =
"GEM/DAQStatus/chamberWarnings";
88 std::string strSrcStatusE =
"GEM/DAQStatus/chamberErrors";
91 std::string strSrcVFATStatusW =
"GEM/DAQStatus/vfat_statusWarnSum";
92 std::string strSrcVFATStatusE =
"GEM/DAQStatus/vfat_statusErrSum";
100 if (h2SrcDigiOcc !=
nullptr && h2SrcStatusW !=
nullptr && h2SrcStatusE !=
nullptr) {
109 if (h2SrcVFATOcc ==
nullptr || h2SrcVFATStatusW ==
nullptr || h2SrcVFATStatusE ==
nullptr)
114 TString strNewTitle = h2SrcVFATStatusE->
getTitle();
115 h2SumVFAT->
setTitle((
const char *)strNewTitle.ReplaceAll(
"errors",
"errors/warnings"));
References dqm::implementation::IBooker::bookFloat(), dqm::impl::MonitorElement::Fill(), dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getAxisTitle(), dqm::impl::MonitorElement::getTitle(), dqm::implementation::DQMStore::setCurrentFolder(), dqm::impl::MonitorElement::setTitle(), dqm::impl::MonitorElement::setXTitle(), dqm::impl::MonitorElement::setYTitle(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ fillDescriptions()
◆ refineSummaryHistogram()
◆ fReportSummary_
Float_t GEMDQMHarvester::fReportSummary_ |
|
protected |
◆ listLayer_
std::vector<std::string> GEMDQMHarvester::listLayer_ |
|
protected |
◆ strDirRecHit_
std::string GEMDQMHarvester::strDirRecHit_ |
|
protected |
◆ strDirStatus_
std::string GEMDQMHarvester::strDirStatus_ |
|
protected |
◆ strDirSummary_
std::string GEMDQMHarvester::strDirSummary_ |
|
protected |
◆ strOutFile_
std::string GEMDQMHarvester::strOutFile_ |
|
protected |
void drawSummaryHistogram(edm::Service< DQMStore > &store)
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
virtual void setTitle(const std::string &title)
set (ie. change) histogram/profile title
virtual std::string getAxisTitle(int axis=1) const
get x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::string strDirRecHit_
std::string strDirSummary_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Float_t refineSummaryHistogram(MonitorElement *h2Sum, MonitorElement *h2SrcOcc, MonitorElement *h2SrcStatusE, MonitorElement *h2SrcStatusW=nullptr, Bool_t bVarXBin=false)
std::string strDirStatus_
void setCurrentFolder(std::string const &fullpath) override
virtual void setXTitle(std::string const &title)
void createSummaryVFAT(edm::Service< DQMStore > &store, MonitorElement *h2Src, std::string strSuffix, MonitorElement *&h2Sum)
virtual int getNbinsY() const
get # of bins in Y-axis
virtual void setYTitle(std::string const &title)
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void createSummaryHist(edm::Service< DQMStore > &store, MonitorElement *h2Src, MonitorElement *&h2Sum, std::vector< std::string > &listLayers)
virtual std::string getTitle() const
get MonitorElement title
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual int getNbinsX() const
get # of bins in X-axis
virtual MonitorElement * get(std::string const &fullpath) const
std::vector< std::string > listLayer_
virtual double getBinContent(int binx) const
get content of bin (1-D)
void copyLabels(MonitorElement *h2Src, MonitorElement *h2Dst)
virtual TH2F * getTH2F() const