|
|
Go to the documentation of this file.
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) {
182 if (TH1F* rootHisto =
me->getTH1F()) {
188 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
194 entry = rootHisto->GetBinContent(
bin);
203 int nSubsystems = 10;
205 std::vector<std::string> fatal;
208 fatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDFatal");
209 fatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDFatal");
210 fatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDFatal");
221 auto ent = entries.begin();
222 for (
auto fat = fatal.begin(); fat != fatal.end(); ++fat) {
241 if (TH1F* rootHisto =
me->getTH1F()) {
242 if (TH1F* rootHistoNorm = meNorm->
getTH1F()) {
246 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
250 xmax = (
int)rootHisto->GetXaxis()->GetXmax();
259 binentry = rootHisto->GetBinContent(
bin);
261 norm += rootHistoNorm->GetBinContent(
bin);
273 if ((
k == 2 ||
k == 3)
289 std::vector<std::string> nonfatal;
292 nonfatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDNonFatal");
293 nonfatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDNonFatal");
294 nonfatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDNonFatal");
295 nonfatal.push_back(
"Hcal/" +
fedFolderName +
"/FEDNonFatal");
297 nonfatal.push_back(
"Pixel/" +
fedFolderName +
"/FEDNonFatal");
299 nonfatal.push_back(
"SiStrip/" +
fedFolderName +
"/FEDNonFatal");
301 for (
auto non = nonfatal.begin(); non != nonfatal.end(); ++non) {
309 if (TH1F* rootHisto =
me->getTH1F()) {
315 xmin = (
int)rootHisto->GetXaxis()->GetXmin();
321 entry = rootHisto->GetBinContent(
bin);
MonitorElement * reportSummaryContent[10]
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
MonitorElement * FedNonFatal
T getUntrackedParameter(std::string const &, T const &) const
virtual TH1F * getTH1F() const
MonitorElement * FedFatal
DQMFEDIntegrityClient(const edm::ParameterSet &)
void setCurrentFolder(std::string const &fullpath) override
edm::ParameterSet parameters_
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)
std::string fedFolderName
MonitorElement * FedEntries
void endRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * reportSummary
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
~DQMFEDIntegrityClient() override
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * reportSummaryMap
virtual MonitorElement * get(std::string const &fullpath) const
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())