101 int nSubsystems = 10;
106 currentFolder =
moduleName +
"/EventInfo/reportSummaryContents";
121 for (
int i = 0;
i < nSubsystems; ++
i) {
162 std::vector<std::string> entries;
165 entries.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDEntries");
166 entries.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDEntries");
167 entries.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDEntries");
172 entries.push_back(
"SiStrip/" +
fedFolderName +
"/FEDEntries");
174 for (
auto ent = entries.begin(); ent != entries.end(); ++ent) {
180 if (TH1F* rootHisto = me->
getTH1F()) {
183 int xmin = (int)rootHisto->GetXaxis()->GetXmin();
191 entry = rootHisto->GetBinContent(bin);
200 int nSubsystems = 10;
202 std::vector<std::string> fatal;
205 fatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDFatal");
206 fatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDFatal");
207 fatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDFatal");
218 auto ent = entries.begin();
219 for (
auto fat = fatal.begin(); fat != fatal.end(); ++fat) {
234 if (TH1F* rootHisto = me->
getTH1F()) {
235 if (TH1F* rootHistoNorm = meNorm->
getTH1F()) {
237 int xmin = (int)rootHisto->GetXaxis()->GetXmin();
246 binentry = rootHisto->GetBinContent(bin);
248 norm += rootHistoNorm->GetBinContent(bin);
257 if ((k == 2 || k == 3)
273 std::vector<std::string> nonfatal;
276 nonfatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDNonFatal");
277 nonfatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDNonFatal");
278 nonfatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDNonFatal");
279 nonfatal.push_back(
"Hcal/" +
fedFolderName +
"/FEDNonFatal");
281 nonfatal.push_back(
"Pixel/" +
fedFolderName +
"/FEDNonFatal");
283 nonfatal.push_back(
"SiStrip/" +
fedFolderName +
"/FEDNonFatal");
285 for (
auto non = nonfatal.begin(); non != nonfatal.end(); ++non) {
292 if (TH1F* rootHisto = me->
getTH1F()) {
295 int xmin = (int)rootHisto->GetXaxis()->GetXmin();
301 entry = rootHisto->GetBinContent(bin);
MonitorElement * FedEntries
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * FedNonFatal
virtual TH1F * getTH1F() const
void setCurrentFolder(std::string const &fullpath) override
std::string fedFolderName
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 MonitorElement * get(std::string const &fullpath) const
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
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
edm::ParameterSet parameters_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * reportSummary
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * reportSummaryMap
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)