157 int nSubsystems = 10;
162 currentFolder =
moduleName +
"/EventInfo/reportSummaryContents";
177 for (
int i = 0;
i < nSubsystems; ++
i) {
220 std::vector<std::string> entries;
223 entries.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDEntries");
224 entries.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDEntries");
225 entries.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDEntries");
230 entries.push_back(
"SiStrip/" +
fedFolderName +
"/FEDEntries");
232 for (
auto ent = entries.begin(); ent != entries.end(); ++ent) {
238 if (TH1F* rootHisto =
me->getTH1F()) {
241 int xmin = (
int)rootHisto->GetXaxis()->GetXmin();
249 entry = rootHisto->GetBinContent(
bin);
258 int nSubsystems = 10;
260 std::vector<std::string> fatal;
263 fatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDFatal");
264 fatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDFatal");
265 fatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDFatal");
276 auto ent = entries.begin();
277 for (
auto fat = fatal.begin(); fat != fatal.end(); ++fat) {
292 if (TH1F* rootHisto =
me->getTH1F()) {
293 if (TH1F* rootHistoNorm = meNorm->
getTH1F()) {
295 int xmin = (
int)rootHisto->GetXaxis()->GetXmin();
304 binentry = rootHisto->GetBinContent(
bin);
306 norm += rootHistoNorm->GetBinContent(
bin);
315 if ((
k == 2 ||
k == 3)
331 std::vector<std::string> nonfatal;
334 nonfatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDNonFatal");
335 nonfatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDNonFatal");
336 nonfatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDNonFatal");
337 nonfatal.push_back(
"Hcal/" +
fedFolderName +
"/FEDNonFatal");
339 nonfatal.push_back(
"Pixel/" +
fedFolderName +
"/FEDNonFatal");
341 nonfatal.push_back(
"SiStrip/" +
fedFolderName +
"/FEDNonFatal");
343 for (
auto non = nonfatal.begin(); non != nonfatal.end(); ++non) {
350 if (TH1F* rootHisto =
me->getTH1F()) {
353 int xmin = (
int)rootHisto->GetXaxis()->GetXmin();
359 entry = rootHisto->GetBinContent(
bin);
MonitorElement * FedEntries
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * FedNonFatal
void setCurrentFolder(std::string const &fullpath) override
std::string fedFolderName
T getUntrackedParameter(std::string const &, T const &) const
dqm::legacy::DQMStore DQMStore
DQMFEDIntegrityClient(const edm::ParameterSet &)
void endRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * reportSummaryContent[10]
#define DEFINE_FWK_MODULE(type)
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
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * FedFatal
virtual TH1F * getTH1F() const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual MonitorElement * get(std::string const &fullpath) const
edm::ParameterSet parameters_
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c) override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * reportSummary
~DQMFEDIntegrityClient() override=default
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * reportSummaryMap
dqm::legacy::MonitorElement MonitorElement
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)