|
|
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()) {
185 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) {
236 if (TH1F* rootHisto =
me->getTH1F()) {
237 if (TH1F* rootHistoNorm = meNorm->
getTH1F()) {
239 int xmin = (
int)rootHisto->GetXaxis()->GetXmin();
250 binentry = rootHisto->GetBinContent(
bin);
252 norm += rootHistoNorm->GetBinContent(
bin);
264 if ((
k == 2 ||
k == 3)
280 std::vector<std::string> nonfatal;
283 nonfatal.push_back(
"EcalBarrel/" +
fedFolderName +
"/FEDNonFatal");
284 nonfatal.push_back(
"EcalEndcap/" +
fedFolderName +
"/FEDNonFatal");
285 nonfatal.push_back(
"EcalPreshower/" +
fedFolderName +
"/FEDNonFatal");
286 nonfatal.push_back(
"Hcal/" +
fedFolderName +
"/FEDNonFatal");
288 nonfatal.push_back(
"Pixel/" +
fedFolderName +
"/FEDNonFatal");
290 nonfatal.push_back(
"SiStrip/" +
fedFolderName +
"/FEDNonFatal");
292 for (
auto non = nonfatal.begin(); non != nonfatal.end(); ++non) {
300 if (TH1F* rootHisto =
me->getTH1F()) {
303 int xmin = (
int)rootHisto->GetXaxis()->GetXmin();
309 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())