101 int nSubsystems = 10;
106 currentFolder =
moduleName +
"/EventInfo/reportSummaryContents";
121 for (
int i = 0;
i < nSubsystems; ++
i) {
164 std::vector<std::string> entries;
167 entries.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDEntries");
168 entries.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDEntries");
169 entries.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDEntries");
174 entries.push_back(
"SiStrip/" +
fedFolderName +
"/FEDEntries");
176 for (
auto ent = entries.begin(); ent != entries.end(); ++ent) {
184 if (TH1F* rootHisto = me->
getTH1F()) {
190 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
196 entry = rootHisto->GetBinContent(bin);
205 int nSubsystems = 10;
207 std::vector<std::string> fatal;
210 fatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDFatal");
211 fatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDFatal");
212 fatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDFatal");
223 auto ent = entries.begin();
224 for (
auto fat = fatal.begin(); fat != fatal.end(); ++fat) {
243 if (TH1F* rootHisto = me->
getTH1F()) {
244 if (TH1F* rootHistoNorm = meNorm->
getTH1F()) {
248 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
252 xmax = (
int)rootHisto->GetXaxis()->GetXmax();
261 binentry = rootHisto->GetBinContent(bin);
263 norm += rootHistoNorm->GetBinContent(bin);
275 if ((k == 2 || k == 3)
291 std::vector<std::string> nonfatal;
294 nonfatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDNonFatal");
295 nonfatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDNonFatal");
296 nonfatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDNonFatal");
297 nonfatal.push_back(
"Hcal/" +
fedFolderName +
"/FEDNonFatal");
299 nonfatal.push_back(
"Pixel/" +
fedFolderName +
"/FEDNonFatal");
301 nonfatal.push_back(
"SiStrip/" +
fedFolderName +
"/FEDNonFatal");
303 for (
auto non = nonfatal.begin(); non != nonfatal.end(); ++non) {
311 if (TH1F* rootHisto = me->
getTH1F()) {
317 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
323 entry = rootHisto->GetBinContent(bin);
MonitorElement * FedEntries
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * book2D(char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * FedNonFatal
virtual TH1F * getTH1F() const
std::string fedFolderName
MonitorElement * get(std::string const &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
DQMFEDIntegrityClient(const edm::ParameterSet &)
virtual int getNbinsX() const
get # of bins in X-axis
void endRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * reportSummaryContent[10]
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 beginRun(const edm::Run &r, const edm::EventSetup &c) override
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c) override
~DQMFEDIntegrityClient() override
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * FedFatal
edm::ParameterSet parameters_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
void setCurrentFolder(std::string const &fullpath)
MonitorElement * reportSummary
MonitorElement * bookFloat(char_string const &name)
Book float.
MonitorElement * book1D(char_string const &name, char_string const &title, int const nchX, double const lowX, double const highX)
Book 1D histogram.
MonitorElement * reportSummaryMap
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)