CMS 3D CMS Logo

GEMDAQStatusSource.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 using namespace edm;
5 
7  tagVFAT_ = consumes<GEMVFATStatusCollection>(cfg.getParameter<edm::InputTag>("VFATInputLabel"));
8  tagOH_ = consumes<GEMOHStatusCollection>(cfg.getParameter<edm::InputTag>("OHInputLabel"));
9  tagAMC_ = consumes<GEMAMCStatusCollection>(cfg.getParameter<edm::InputTag>("AMCInputLabel"));
10  tagAMC13_ = consumes<GEMAMC13StatusCollection>(cfg.getParameter<edm::InputTag>("AMC13InputLabel"));
11 
12  nAMCSlots_ = cfg.getParameter<Int_t>("AMCSlots");
13 }
14 
17  desc.add<edm::InputTag>("VFATInputLabel", edm::InputTag("muonGEMDigis", "VFATStatus"));
18  desc.add<edm::InputTag>("OHInputLabel", edm::InputTag("muonGEMDigis", "OHStatus"));
19  desc.add<edm::InputTag>("AMCInputLabel", edm::InputTag("muonGEMDigis", "AMCStatus"));
20  desc.add<edm::InputTag>("AMC13InputLabel", edm::InputTag("muonGEMDigis", "AMC13Status"));
21 
22  desc.add<Int_t>("AMCSlots", 13);
23  desc.addUntracked<std::string>("logCategory", "GEMDAQStatusSource");
24 
25  descriptions.add("GEMDAQStatusSource", desc);
26 }
27 
29  unsigned int unBinPos = 1;
30  h2Status->setBinLabel(unBinPos++, "Good", 2);
31  h2Status->setBinLabel(unBinPos++, "Invalid AMC", 2);
32  h2Status->setBinLabel(unBinPos++, "Invalid size", 2);
33  h2Status->setBinLabel(unBinPos++, "Fail trailer check", 2);
34  h2Status->setBinLabel(unBinPos++, "Fail fragment length", 2);
35  h2Status->setBinLabel(unBinPos++, "Fail trailer match", 2);
36  h2Status->setBinLabel(unBinPos++, "More trailer", 2);
37  h2Status->setBinLabel(unBinPos++, "CRC modified", 2);
38  h2Status->setBinLabel(unBinPos++, "S-link error", 2);
39  h2Status->setBinLabel(unBinPos++, "Wrong FED ID", 2);
40 
41  h2Status->setBinLabel(1, "GE11-N", 1);
42  h2Status->setBinLabel(2, "GE11-P", 1);
43 }
44 
46  unsigned int unBinPos = 1;
47  h2Status->setBinLabel(unBinPos++, "Good", 2);
48  h2Status->setBinLabel(unBinPos++, "Invalid OH", 2);
49  h2Status->setBinLabel(unBinPos++, "Back pressure", 2);
50  h2Status->setBinLabel(unBinPos++, "Bad EC", 2);
51  h2Status->setBinLabel(unBinPos++, "Bad BC", 2);
52  h2Status->setBinLabel(unBinPos++, "Bad OC", 2);
53  h2Status->setBinLabel(unBinPos++, "Bad run type", 2);
54  h2Status->setBinLabel(unBinPos++, "Bad CRC", 2);
55  h2Status->setBinLabel(unBinPos++, "MMCM locked", 2);
56  h2Status->setBinLabel(unBinPos++, "DAQ clock locked", 2);
57  h2Status->setBinLabel(unBinPos++, "DAQ not ready", 2);
58  h2Status->setBinLabel(unBinPos++, "BC0 not locked", 2);
59 }
60 
62  unsigned int unBinPos = 1;
63  h2Status->setBinLabel(unBinPos++, "Good", 2);
64  h2Status->setBinLabel(unBinPos++, "Event FIFO near full", 2);
65  h2Status->setBinLabel(unBinPos++, "Input FIFO near full", 2);
66  h2Status->setBinLabel(unBinPos++, "L1A FIFO near full", 2);
67  h2Status->setBinLabel(unBinPos++, "Event size warn", 2);
68  h2Status->setBinLabel(unBinPos++, "Invalid VFAT", 2);
69  h2Status->setBinLabel(unBinPos++, "Event FIFO full", 2);
70  h2Status->setBinLabel(unBinPos++, "Input FIFO full", 2);
71  h2Status->setBinLabel(unBinPos++, "L1A FIFO full", 2);
72  h2Status->setBinLabel(unBinPos++, "Event size overflow", 2);
73  h2Status->setBinLabel(unBinPos++, "Invalid event", 2);
74  h2Status->setBinLabel(unBinPos++, "Out of Sync AMC vs VFAT", 2);
75  h2Status->setBinLabel(unBinPos++, "Out of Sync VFAT vs VFAT", 2);
76  h2Status->setBinLabel(unBinPos++, "BX mismatch AMC vs VFAT", 2);
77  h2Status->setBinLabel(unBinPos++, "BX mismatch VFAT vs VFAT", 2);
78  h2Status->setBinLabel(unBinPos++, "Input FIFO underflow", 2);
79  h2Status->setBinLabel(unBinPos++, "Bad VFAT count", 2);
80 }
81 
83  unsigned int unBinPos = 1;
84  h2Status->setBinLabel(unBinPos++, "Good", 2);
85  h2Status->setBinLabel(unBinPos++, "Basic overflow", 2);
86  h2Status->setBinLabel(unBinPos++, "Zero-sup overflow", 2);
87  h2Status->setBinLabel(unBinPos++, "VFAT CRC error", 2);
88  h2Status->setBinLabel(unBinPos++, "Invalid header", 2);
89  h2Status->setBinLabel(unBinPos++, "AMC EC mismatch", 2);
90  h2Status->setBinLabel(unBinPos++, "AMC BC mismatch", 2);
91 }
92 
94  initGeometry(iSetup);
95  if (GEMGeometry_ == nullptr)
96  return;
97  loadChambers();
98 
99  nBXMin_ = -10;
100  nBXMax_ = 10;
101 
102  mapFEDIdToRe_[1467] = -1; // FIXME: Need more systematic way
103  mapFEDIdToRe_[1468] = 1;
104 
105  ibooker.cd();
106  ibooker.setCurrentFolder("GEM/DAQStatus");
107 
109  ibooker.book2D("amc13_status", "AMC13 Status;AMC13;", 2, 0.5, 2.5, nBitAMC13_, 0.5, nBitAMC13_ + 0.5);
110  h2AMCStatusNeg_ = ibooker.book2D("amc_status_GE11-N",
111  "AMC Status GE11-N;AMC slot;",
112  nAMCSlots_,
113  -0.5,
114  nAMCSlots_ - 0.5,
115  nBitAMC_,
116  0.5,
117  nBitAMC_ + 0.5);
118  h2AMCStatusPos_ = ibooker.book2D("amc_status_GE11-P",
119  "AMC Status GE11-P;AMC slot;",
120  nAMCSlots_,
121  -0.5,
122  nAMCSlots_ - 0.5,
123  nBitAMC_,
124  0.5,
125  nBitAMC_ + 0.5);
126 
130 
131  mapStatusOH_ =
132  MEMap3Inf(this, "oh_status", "OptoHybrid Status", 36, 0.5, 36.5, nBitOH_, 0.5, nBitOH_ + 0.5, "Chamber");
134  MEMap3Inf(this, "vfat_status", "VFAT Status", 24, -0.5, 24 - 0.5, nBitVFAT_, 0.5, nBitVFAT_ + 0.5, "VFAT");
135 
137  this, "vfat_statusWarnSum", "VFAT reporting warnings", 36, 0.5, 36.5, 24, -0.5, 24 - 0.5, "Chamber", "VFAT");
139  this, "vfat_statusErrSum", "VFAT reporting errors", 36, 0.5, 36.5, 24, -0.5, 24 - 0.5, "Chamber", "VFAT");
141  MEMap4Inf(this, "vfat_status", "VFAT Status", 24, -0.5, 24 - 0.5, nBitVFAT_, 0.5, nBitVFAT_ + 0.5, "VFAT");
142 
143  GenerateMEPerChamber(ibooker);
144 
145  h2SummaryStatusWarning = CreateSummaryHist(ibooker, "chamberWarnings");
146  h2SummaryStatusError = CreateSummaryHist(ibooker, "chamberErrors");
147 
148  h2SummaryStatusWarning->setTitle("Summary of OH or VFAT warnings of each chambers");
149  h2SummaryStatusError->setTitle("Summary of OH or VFAT errors of each chambers");
150 }
151 
153  MEStationInfo &stationInfo = mapStationInfo_[key];
154 
156  mapStatusOH_.bookND(bh, key);
158 
160 
166 
172 
173  mapStatusVFAT_.SetBinConfX(stationInfo.nMaxVFAT_, -0.5);
176 
178 
179  return 0;
180 }
181 
183  ME3IdsKey key3 = key4Tokey3(key);
184  MEStationInfo &stationInfo = mapStationInfo_[key3];
185 
186  mapStatusVFATPerCh_.SetBinConfX(stationInfo.nMaxVFAT_, -0.5);
190 
191  return 0;
192 }
193 
199 
200  event.getByToken(tagVFAT_, gemVFAT);
201  event.getByToken(tagOH_, gemOH);
202  event.getByToken(tagAMC_, gemAMC);
203  event.getByToken(tagAMC13_, gemAMC13);
204 
205  for (auto amc13It = gemAMC13->begin(); amc13It != gemAMC13->end(); ++amc13It) {
206  int fedId = (*amc13It).first;
207  if (mapFEDIdToRe_.find(fedId) == mapFEDIdToRe_.end())
208  continue;
209  int nXBin = 0;
210  if (mapFEDIdToRe_[fedId] < 0) {
211  nXBin = 1;
212  } else if (mapFEDIdToRe_[fedId] > 0) {
213  nXBin = 2;
214  } else {
215  edm::LogError(log_category_) << "+++ Error : Unknown FED Id +++\n" << std::endl;
216  continue;
217  }
218 
219  const auto &range = (*amc13It).second;
220  for (auto amc13 = range.first; amc13 != range.second; ++amc13) {
221  Bool_t bWarn = false;
222  Bool_t bErr = false;
223 
225  if (warnings.InValidAMC)
226  FillWithRiseErr(h2AMC13Status_, nXBin, 2, bWarn);
227 
229  if (errors.InValidSize)
230  FillWithRiseErr(h2AMC13Status_, nXBin, 3, bErr);
231  if (errors.failTrailerCheck)
232  FillWithRiseErr(h2AMC13Status_, nXBin, 4, bErr);
233  if (errors.failFragmentLength)
234  FillWithRiseErr(h2AMC13Status_, nXBin, 5, bErr);
235  if (errors.failTrailerMatch)
236  FillWithRiseErr(h2AMC13Status_, nXBin, 6, bErr);
237  if (errors.moreTrailers)
238  FillWithRiseErr(h2AMC13Status_, nXBin, 7, bErr);
239  if (errors.crcModified)
240  FillWithRiseErr(h2AMC13Status_, nXBin, 8, bErr);
241  if (errors.slinkError)
242  FillWithRiseErr(h2AMC13Status_, nXBin, 9, bErr);
243  if (errors.wrongFedId)
244  FillWithRiseErr(h2AMC13Status_, nXBin, 10, bErr);
245 
246  if (!bWarn && !bErr)
247  h2AMC13Status_->Fill(nXBin, 1);
248  }
249  }
250 
251  MonitorElement *h2AMCStatus = nullptr;
252 
253  for (auto amcIt = gemAMC->begin(); amcIt != gemAMC->end(); ++amcIt) {
254  int fedId = (*amcIt).first;
255  if (mapFEDIdToRe_.find(fedId) == mapFEDIdToRe_.end())
256  continue;
257  if (mapFEDIdToRe_[fedId] < 0) {
258  h2AMCStatus = h2AMCStatusNeg_;
259  } else if (mapFEDIdToRe_[fedId] > 0) {
260  h2AMCStatus = h2AMCStatusPos_;
261  } else {
262  edm::LogError(log_category_) << "+++ Error : Unknown FED Id +++\n" << std::endl;
263  continue;
264  }
265 
266  const GEMAMCStatusCollection::Range &range = (*amcIt).second;
267  for (auto amc = range.first; amc != range.second; ++amc) {
268  Bool_t bWarn = false;
269  Bool_t bErr = false;
270 
271  Int_t nAMCNum = amc->amcNumber();
272 
273  GEMAMCStatus::Warnings warnings{amc->warnings()};
274  if (warnings.InValidOH)
275  FillWithRiseErr(h2AMCStatus, nAMCNum, 2, bWarn);
276  if (warnings.backPressure)
277  FillWithRiseErr(h2AMCStatus, nAMCNum, 3, bWarn);
278 
279  GEMAMCStatus::Errors errors{amc->errors()};
280  if (errors.badEC)
281  FillWithRiseErr(h2AMCStatus, nAMCNum, 4, bErr);
282  if (errors.badBC)
283  FillWithRiseErr(h2AMCStatus, nAMCNum, 5, bErr);
284  if (errors.badOC)
285  FillWithRiseErr(h2AMCStatus, nAMCNum, 6, bErr);
286  if (errors.badRunType)
287  FillWithRiseErr(h2AMCStatus, nAMCNum, 7, bErr);
288  if (errors.badCRC)
289  FillWithRiseErr(h2AMCStatus, nAMCNum, 8, bErr);
290  if (errors.MMCMlocked)
291  FillWithRiseErr(h2AMCStatus, nAMCNum, 9, bErr);
292  if (errors.DAQclocklocked)
293  FillWithRiseErr(h2AMCStatus, nAMCNum, 10, bErr);
294  if (errors.DAQnotReday)
295  FillWithRiseErr(h2AMCStatus, nAMCNum, 11, bErr);
296  if (errors.BC0locked)
297  FillWithRiseErr(h2AMCStatus, nAMCNum, 12, bErr);
298 
299  if (!bWarn && !bErr)
300  h2AMCStatus->Fill(nAMCNum, 1);
301  }
302  }
303 
304  // WARNING: ME4IdsKey for region, station, layer, chamber (not iEta)
305  std::map<ME4IdsKey, bool> mapChamberWarning;
306  std::map<ME4IdsKey, bool> mapChamberError;
307 
308  for (auto ohIt = gemOH->begin(); ohIt != gemOH->end(); ++ohIt) {
309  GEMDetId gid = (*ohIt).first;
310  ME3IdsKey key3{gid.region(), gid.station(), gid.layer()};
311  ME4IdsKey key4{gid.region(), gid.station(), gid.layer(), gid.chamber()}; // WARNING: Chamber, not iEta
312 
313  const GEMOHStatusCollection::Range &range = (*ohIt).second;
314  for (auto OHStatus = range.first; OHStatus != range.second; ++OHStatus) {
315  GEMOHStatus::Warnings warnings{OHStatus->warnings()};
316  if (warnings.EvtNF)
317  mapStatusOH_.Fill(key3, gid.chamber(), 2);
318  if (warnings.InNF)
319  mapStatusOH_.Fill(key3, gid.chamber(), 3);
320  if (warnings.L1aNF)
321  mapStatusOH_.Fill(key3, gid.chamber(), 4);
322  if (warnings.EvtSzW)
323  mapStatusOH_.Fill(key3, gid.chamber(), 5);
324  if (warnings.InValidVFAT)
325  mapStatusOH_.Fill(key3, gid.chamber(), 6);
326 
327  GEMOHStatus::Errors errors{OHStatus->errors()};
328  if (errors.EvtF)
329  mapStatusOH_.Fill(key3, gid.chamber(), 7);
330  if (errors.InF)
331  mapStatusOH_.Fill(key3, gid.chamber(), 8);
332  if (errors.L1aF)
333  mapStatusOH_.Fill(key3, gid.chamber(), 9);
334  if (errors.EvtSzOFW)
335  mapStatusOH_.Fill(key3, gid.chamber(), 10);
336  if (errors.Inv)
337  mapStatusOH_.Fill(key3, gid.chamber(), 11);
338  if (errors.OOScAvV)
339  mapStatusOH_.Fill(key3, gid.chamber(), 12);
340  if (errors.OOScVvV)
341  mapStatusOH_.Fill(key3, gid.chamber(), 13);
342  if (errors.BxmAvV)
343  mapStatusOH_.Fill(key3, gid.chamber(), 14);
344  if (errors.BxmVvV)
345  mapStatusOH_.Fill(key3, gid.chamber(), 15);
346  if (errors.InUfw)
347  mapStatusOH_.Fill(key3, gid.chamber(), 16);
348  if (errors.badVFatCount)
349  mapStatusOH_.Fill(key3, gid.chamber(), 17);
350 
351  Bool_t bWarn = warnings.wcodes != 0;
352  Bool_t bErr = errors.codes != 0;
353  if (!bWarn && !bErr)
354  mapStatusOH_.Fill(key3, gid.chamber(), 1);
355  if (bWarn)
356  mapChamberWarning[key4] = false;
357  if (bErr)
358  mapChamberError[key4] = false;
359  }
360  }
361 
362  for (auto vfatIt = gemVFAT->begin(); vfatIt != gemVFAT->end(); ++vfatIt) {
363  GEMDetId gid = (*vfatIt).first;
364  ME3IdsKey key3{gid.region(), gid.station(), gid.layer()};
365  ME4IdsKey key4Ch{gid.region(), gid.station(), gid.layer(), gid.chamber()}; // WARNING: Chamber, not iEta
366  const GEMVFATStatusCollection::Range &range = (*vfatIt).second;
367 
368  for (auto vfatStat = range.first; vfatStat != range.second; ++vfatStat) {
369  Int_t nIdxVFAT = getVFATNumber(gid.station(), gid.ieta(), vfatStat->vfatPosition());
370 
371  GEMVFATStatus::Warnings warnings{vfatStat->warnings()};
372  if (warnings.basicOFW)
373  mapStatusVFAT_.Fill(key3, nIdxVFAT, 2);
374  if (warnings.zeroSupOFW)
375  mapStatusVFAT_.Fill(key3, nIdxVFAT, 3);
376  if (warnings.basicOFW)
377  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 2);
378  if (warnings.zeroSupOFW)
379  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 3);
380 
381  GEMVFATStatus::Errors errors{(uint8_t)vfatStat->errors()};
382  if (errors.vc)
383  mapStatusVFAT_.Fill(key3, nIdxVFAT, 4);
384  if (errors.InValidHeader)
385  mapStatusVFAT_.Fill(key3, nIdxVFAT, 5);
386  if (errors.EC)
387  mapStatusVFAT_.Fill(key3, nIdxVFAT, 6);
388  if (errors.BC)
389  mapStatusVFAT_.Fill(key3, nIdxVFAT, 7);
390  if (errors.vc)
391  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 4);
392  if (errors.InValidHeader)
393  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 5);
394  if (errors.EC)
395  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 6);
396  if (errors.BC)
397  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 7);
398 
399  Bool_t bWarn = warnings.wcodes != 0;
400  Bool_t bErr = errors.codes != 0;
401  if (!bWarn && !bErr)
402  mapStatusVFAT_.Fill(key3, nIdxVFAT, 1);
403  if (!bWarn && !bErr)
404  mapStatusVFATPerCh_.Fill(key4Ch, nIdxVFAT, 1);
405  if (bWarn)
406  mapChamberWarning[key4Ch] = false;
407  if (bErr)
408  mapChamberError[key4Ch] = false;
409  if (bWarn)
410  mapStatusWarnVFATPerLayer_.Fill(key3, gid.chamber(), nIdxVFAT);
411  if (bErr)
412  mapStatusErrVFATPerLayer_.Fill(key3, gid.chamber(), nIdxVFAT);
413  }
414  }
415 
416  // Summarizing the warning occupancy
417  for (auto const &[key4, bWarning] : mapChamberWarning) {
418  ME3IdsKey key3 = key4Tokey3(key4);
419  Int_t nChamber = keyToChamber(key4);
420  h2SummaryStatusWarning->Fill(nChamber, mapStationToIdx_[key3]);
421  }
422 
423  // Summarizing the error occupancy
424  for (auto const &[key4, bErr] : mapChamberError) {
425  ME3IdsKey key3 = key4Tokey3(key4);
426  Int_t nChamber = keyToChamber(key4);
427  h2SummaryStatusError->Fill(nChamber, mapStationToIdx_[key3]);
428  }
429 }
430 
GEMDQMBase::MEMapInfT::SetBinConfX
void SetBinConfX(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
Definition: GEMDQMBase.h:273
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
GEMAMC13Status::Errors
Definition: GEMAMC13Status.h:12
GEMOHStatus::Warnings
Definition: GEMOHStatus.h:26
GEMDAQStatusSource::nAMCSlots_
Int_t nAMCSlots_
Definition: GEMDAQStatusSource.h:78
dqm::impl::MonitorElement::setTitle
virtual void setTitle(const std::string &title)
set (ie. change) histogram/profile title
Definition: MonitorElement.cc:818
GEMDAQStatusSource::ProcessWithMEMap3WithChamber
int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key) override
Definition: GEMDAQStatusSource.cc:182
GEMDAQStatusSource::GEMDAQStatusSource
GEMDAQStatusSource(const edm::ParameterSet &cfg)
Definition: GEMDAQStatusSource.cc:6
GEMDetId::layer
constexpr int layer() const
Definition: GEMDetId.h:190
GEMVFATStatus::Warnings
Definition: GEMVFATStatus.h:19
GEMDQMBase::MEStationInfo
Definition: GEMDQMBase.h:422
edm::Run
Definition: Run.h:45
GEMDetId::region
constexpr int region() const
Definition: GEMDetId.h:171
GEMDQMBase::GEMGeometry_
const GEMGeometry * GEMGeometry_
Definition: GEMDQMBase.h:511
edm
HLT enums.
Definition: AlignableModifier.h:19
GEMDAQStatusSource::SetLabelAMC13Status
void SetLabelAMC13Status(MonitorElement *h2Status)
Definition: GEMDAQStatusSource.cc:28
ME4IdsKey
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
Definition: GEMValidationUtils.h:20
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
GEMDAQStatusSource::SetLabelAMCStatus
void SetLabelAMCStatus(MonitorElement *h2Status)
Definition: GEMDAQStatusSource.cc:45
GEMDAQStatusSource::nBitOH_
int nBitOH_
Definition: GEMDAQStatusSource.h:82
amc13
Definition: AMC13Spec.h:14
GEMDQMBase::MEMapInfT::Fill
int Fill(K key, Double_t x)
Definition: GEMDQMBase.h:361
edm::Handle
Definition: AssociativeIterator.h:50
GEMDQMBase::key4Tokey3
ME3IdsKey key4Tokey3(ME4IdsKey key)
Definition: GEMDQMBase.h:491
GEMDAQStatusSource::tagAMC_
edm::EDGetToken tagAMC_
Definition: GEMDAQStatusSource.h:58
GEMDQMBase::keyToChamber
int keyToChamber(ME4IdsKey key)
Definition: GEMDQMBase.h:482
GEMDQMBase::MEMapInfT::SetLabelForVFATs
int SetLabelForVFATs(K key, Int_t nNumEtaPartitions, Int_t nAxis, Int_t nNumBin=-1)
Definition: GEMDQMBase.h:340
GEMDAQStatusSource::SetLabelVFATStatus
void SetLabelVFATStatus(MonitorElement *h2Status)
Definition: GEMDAQStatusSource.cc:82
GEMDAQStatusSource::nBXMax_
Int_t nBXMax_
Definition: GEMDAQStatusSource.h:75
GEMDAQStatusSource::nBitVFAT_
int nBitVFAT_
Definition: GEMDAQStatusSource.h:83
GEMDAQStatusSource::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GEMDAQStatusSource.cc:93
GEMDQMBase::MEMapInfT::SetLabelForChambers
int SetLabelForChambers(K key, Int_t nAxis, Int_t nNumBin=-1)
Definition: GEMDQMBase.h:318
GEMDQMBase::BookingHelper
Definition: GEMDQMBase.h:32
GEMOHStatus::Errors
Definition: GEMOHStatus.h:10
GEMDAQStatusSource::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: GEMDAQStatusSource.cc:15
GEMAMCStatus::Errors
Definition: GEMAMCStatus.h:10
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
errors
Definition: errors.py:1
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
GEMDQMBase::MEStationInfo::nNumEtaPartitions_
Int_t nNumEtaPartitions_
Definition: GEMDQMBase.h:450
GEMDAQStatusSource::ProcessWithMEMap3
int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key) override
Definition: GEMDAQStatusSource.cc:152
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
GEMDAQStatusSource::nBitAMC13_
int nBitAMC13_
Definition: GEMDAQStatusSource.h:80
MuonDigiCollection::end
DigiRangeIterator end() const
Definition: MuonDigiCollection.h:136
GEMDAQStatusSource::tagOH_
edm::EDGetToken tagOH_
Definition: GEMDAQStatusSource.h:57
GEMDAQStatusSource::mapStatusVFAT_
MEMap3Inf mapStatusVFAT_
Definition: GEMDAQStatusSource.h:66
GEMDAQStatusSource.h
MuonDigiCollection::begin
DigiRangeIterator begin() const
Definition: MuonDigiCollection.h:134
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
GEMDQMBase::CreateSummaryHist
dqm::impl::MonitorElement * CreateSummaryHist(DQMStore::IBooker &ibooker, TString strName)
Definition: GEMDQMBase.cc:122
GEMDQMBase::MEStationInfo::nMaxVFAT_
Int_t nMaxVFAT_
Definition: GEMDQMBase.h:451
GEMDetId::chamber
constexpr int chamber() const
Definition: GEMDetId.h:183
GEMDQMBase::initGeometry
int initGeometry(edm::EventSetup const &iSetup)
Definition: GEMDQMBase.cc:15
edm::ParameterSet
Definition: ParameterSet.h:47
GEMDQMBase::MEMap4Inf
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
Definition: GEMDQMBase.h:420
GEMDQMBase::getVFATNumber
int getVFATNumber(const int, const int, const int)
Definition: GEMDQMBase.h:552
GEMDQMBase::MEStationInfo::nNumChambers_
Int_t nNumChambers_
Definition: GEMDQMBase.h:449
GEMDetId
Definition: GEMDetId.h:18
GEMDAQStatusSource::FillWithRiseErr
void FillWithRiseErr(MonitorElement *h, Int_t nX, Int_t nY, Bool_t &bErr)
Definition: GEMDAQStatusSource.h:42
GEMDAQStatusSource::SetLabelOHStatus
void SetLabelOHStatus(MonitorElement *h2Status)
Definition: GEMDAQStatusSource.cc:61
GEMDAQStatusSource::tagVFAT_
edm::EDGetToken tagVFAT_
Definition: GEMDAQStatusSource.h:56
GEMDAQStatusSource::nBitAMC_
int nBitAMC_
Definition: GEMDAQStatusSource.h:81
dqm::impl::MonitorElement::setBinLabel
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)
Definition: MonitorElement.cc:771
GEMDAQStatusSource::mapStatusVFATPerCh_
MEMap4Inf mapStatusVFATPerCh_
Definition: GEMDAQStatusSource.h:70
edm::EventSetup
Definition: EventSetup.h:58
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:89
GEMDAQStatusSource::nBXMin_
Int_t nBXMin_
Definition: GEMDAQStatusSource.h:75
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
debug_messages_cfi.warnings
warnings
Definition: debug_messages_cfi.py:48
looper.cfg
cfg
Definition: looper.py:296
GEMDAQStatusSource::tagAMC13_
edm::EDGetToken tagAMC13_
Definition: GEMDAQStatusSource.h:59
GEMDAQStatusSource::h2AMCStatusPos_
MonitorElement * h2AMCStatusPos_
Definition: GEMDAQStatusSource.h:62
GEMDAQStatusSource::h2SummaryStatusError
MonitorElement * h2SummaryStatusError
Definition: GEMDAQStatusSource.h:73
GEMDQMBase::loadChambers
int loadChambers()
Definition: GEMDQMBase.cc:46
GEMDQMBase::MEMap3Inf
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
Definition: GEMDQMBase.h:419
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
std
Definition: JetResolutionObject.h:76
GEMDQMBase::log_category_
std::string log_category_
Definition: GEMDQMBase.h:457
GEMDAQStatusSource::h2SummaryStatusWarning
MonitorElement * h2SummaryStatusWarning
Definition: GEMDAQStatusSource.h:72
GEMDQMBase::mapStationInfo_
std::map< ME3IdsKey, MEStationInfo > mapStationInfo_
Definition: GEMDQMBase.h:525
GEMDQMBase::MEMapInfT::SetBinConfY
void SetBinConfY(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
Definition: GEMDQMBase.h:281
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
GEMDQMBase::MEMapInfT::FindHist
dqm::impl::MonitorElement * FindHist(K key)
Definition: GEMDQMBase.h:310
GEMDAQStatusSource::mapFEDIdToRe_
std::map< UInt_t, int > mapFEDIdToRe_
Definition: GEMDAQStatusSource.h:77
GEMVFATStatus::Errors
Definition: GEMVFATStatus.h:10
ME3IdsKey
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
Definition: GEMValidationUtils.h:19
MuonDigiCollection::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
GEMDQMBase
Definition: GEMDQMBase.h:29
amc
Definition: AMCSpec.h:8
GEMDAQStatusSource::analyze
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
Definition: GEMDAQStatusSource.cc:194
GEMDAQStatusSource::mapStatusWarnVFATPerLayer_
MEMap3Inf mapStatusWarnVFATPerLayer_
Definition: GEMDAQStatusSource.h:68
dqm::implementation::IBooker
Definition: DQMStore.h:43
GEMDQMBase::mapStationToIdx_
std::map< ME3IdsKey, int > mapStationToIdx_
Definition: GEMDQMBase.h:524
GEMDAQStatusSource::mapStatusOH_
MEMap3Inf mapStatusOH_
Definition: GEMDAQStatusSource.h:65
GEMDAQStatusSource::h2AMC13Status_
MonitorElement * h2AMC13Status_
Definition: GEMDAQStatusSource.h:61
GEMDetId::station
constexpr int station() const
Definition: GEMDetId.h:179
GEMAMCStatus::Warnings
Definition: GEMAMCStatus.h:24
GEMDetId::ieta
constexpr int ieta() const
Definition: GEMDetId.h:199
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
GEMDAQStatusSource::h2AMCStatusNeg_
MonitorElement * h2AMCStatusNeg_
Definition: GEMDAQStatusSource.h:63
crabWrapper.key
key
Definition: crabWrapper.py:19
GEMAMC13Status::Warnings
Definition: GEMAMC13Status.h:25
GEMDQMBase::MEMapInfT::bookND
int bookND(BookingHelper &bh, K key)
Definition: GEMDQMBase.h:290
edm::InputTag
Definition: InputTag.h:15
GEMDAQStatusSource::mapStatusErrVFATPerLayer_
MEMap3Inf mapStatusErrVFATPerLayer_
Definition: GEMDAQStatusSource.h:69
GEMDAQStatusSource
Definition: GEMDAQStatusSource.h:31
GEMDQMBase::GenerateMEPerChamber
int GenerateMEPerChamber(DQMStore::IBooker &ibooker)
Definition: GEMDQMBase.cc:158