CMS 3D CMS Logo

LaserTask.cc
Go to the documentation of this file.
2 
3 using namespace hcaldqm;
4 using namespace hcaldqm::constants;
5 using namespace hcaldqm::filter;
7  _nevents = ps.getUntrackedParameter<int>("nevents", 2000);
8 
9  // tags
10  _tagQIE11 = ps.getUntrackedParameter<edm::InputTag>("tagHE", edm::InputTag("hcalDigis"));
11  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO", edm::InputTag("hcalDigis"));
12  _tagQIE10 = ps.getUntrackedParameter<edm::InputTag>("tagHF", edm::InputTag("hcalDigis"));
13  _taguMN = ps.getUntrackedParameter<edm::InputTag>("taguMN", edm::InputTag("hcalDigis"));
14  _tagLaserMon = ps.getUntrackedParameter<edm::InputTag>("tagLaserMon", edm::InputTag("LASERMON"));
15  _tokQIE11 = consumes<QIE11DigiCollection>(_tagQIE11);
16  _tokHO = consumes<HODigiCollection>(_tagHO);
17  _tokQIE10 = consumes<QIE10DigiCollection>(_tagQIE10);
18  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
19  _tokLaserMon = consumes<QIE10DigiCollection>(_tagLaserMon);
20 
21  _vflags.resize(nLaserFlag);
22  _vflags[fBadTiming] = hcaldqm::flag::Flag("BadTiming");
23  _vflags[fMissingLaserMon] = hcaldqm::flag::Flag("MissingLaserMon");
24 
25  // constants
26  _lowHBHE = ps.getUntrackedParameter<double>("lowHBHE", 50);
27  _lowHO = ps.getUntrackedParameter<double>("lowHO", 100);
28  _lowHF = ps.getUntrackedParameter<double>("lowHF", 50);
29  _laserType = (uint32_t)ps.getUntrackedParameter<uint32_t>("laserType");
30 
31  // Laser mon digi ordering list
32  _vLaserMonIPhi = ps.getUntrackedParameter<std::vector<int>>("vLaserMonIPhi");
33  _laserMonIEta = ps.getUntrackedParameter<int>("laserMonIEta");
34  _laserMonCBox = ps.getUntrackedParameter<int>("laserMonCBox");
35  _laserMonDigiOverlap = ps.getUntrackedParameter<int>("laserMonDigiOverlap");
36  _laserMonTS0 = ps.getUntrackedParameter<int>("laserMonTS0");
37  _laserMonThreshold = ps.getUntrackedParameter<double>("laserMonThreshold", 1.e5);
38  _thresh_frac_timingreflm = ps.getUntrackedParameter<double>("_thresh_frac_timingreflm", 0.01);
39  _thresh_min_lmsumq = ps.getUntrackedParameter<double>("thresh_min_lmsumq", 50000.);
40 
41  std::vector<double> vTimingRangeHB =
42  ps.getUntrackedParameter<std::vector<double>>("thresh_timingreflm_HB", std::vector<double>({-70, -10.}));
43  std::vector<double> vTimingRangeHE =
44  ps.getUntrackedParameter<std::vector<double>>("thresh_timingreflm_HE", std::vector<double>({-60., 0.}));
45  std::vector<double> vTimingRangeHO =
46  ps.getUntrackedParameter<std::vector<double>>("thresh_timingreflm_HO", std::vector<double>({-50., 20.}));
47  std::vector<double> vTimingRangeHF =
48  ps.getUntrackedParameter<std::vector<double>>("thresh_timingreflm_HF", std::vector<double>({-50., 20.}));
49  _thresh_timingreflm[HcalBarrel] = std::make_pair(vTimingRangeHB[0], vTimingRangeHB[1]);
50  _thresh_timingreflm[HcalEndcap] = std::make_pair(vTimingRangeHE[0], vTimingRangeHE[1]);
51  _thresh_timingreflm[HcalOuter] = std::make_pair(vTimingRangeHO[0], vTimingRangeHO[1]);
52  _thresh_timingreflm[HcalForward] = std::make_pair(vTimingRangeHF[0], vTimingRangeHF[1]);
53 }
54 
55 /* virtual */ void LaserTask::bookHistograms(DQMStore::IBooker& ib, edm::Run const& r, edm::EventSetup const& es) {
56  if (_ptype == fLocal)
57  if (r.runAuxiliary().run() == 1)
58  return;
59 
61 
63  es.get<HcalDbRecord>().get(dbService);
64  _emap = dbService->getHcalMapping();
65 
66  std::vector<uint32_t> vhashVME;
67  std::vector<uint32_t> vhashuTCA;
68  std::vector<uint32_t> vhashC36;
69  vhashVME.push_back(
71  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
74 
75  // INITIALIZE
77  "SignalMean",
81  0);
83  "SignalRMS",
87  0);
89  "TimingMean",
93  0);
95  "TimingRMS",
99  0);
100 
102  "ADC",
106  0);
107 
108  if (_ptype == fLocal) { // hidefed2crate
110  "SignalMean",
115  0);
117  "SignalMean",
122  0);
124  "SignalRMS",
129  0);
131  "SignalRMS",
136  0);
138  "TimingMean",
143  0);
145  "TimingMean",
150  0);
152  "TimingRMS",
157  0);
159  "TimingRMS",
164  0);
166  "Missing",
171  0);
173  "Missing",
178  0);
179 
181  "Shape",
185  0);
186  }
188  "TimingvsEvent",
192  0);
194  "SignalvsEvent",
198  0);
200  "TimingvsLS",
204  0);
206  "SignalvsLS",
210  0);
212  "TimingvsBX",
216  0);
218  "SignalvsBX",
222  0);
223 
225  "SignalMean",
230  0);
232  "SignalRMS",
237  0);
239  "TimingMean",
244  0);
246  "TimingRMS",
251  0);
252 
254  "Missing",
259  0);
260 
261  // initialize compact containers
267 
268  // LaserMon containers
269  if (_ptype == fOnline || _ptype == fLocal) {
271  "LaserMonSumQ",
274  0);
276 
278  "LaserMonTiming",
281  0);
283 
284  if (_ptype == fOnline) {
286  "LaserMonSumQ_LS",
290  "LaserMonTiming_LS",
294  "TimingDiff_DigiMinusLaserMon",
299  0);
301  } else if (_ptype == fLocal) {
303  "LaserMonSumQ_Event",
307  "LaserMonTiming_Event",
311  "TimingDiff_DigiMinusLaserMon",
316  0);
318  }
320  _name,
321  "Timing_DigivsLaserMon",
326  0);
329 
334  _xMissingLaserMon = 0;
335 
336  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
337  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
338  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
339  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
340  _vhashFEDs.push_back(
342  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
343  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
344  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
345  }
346 
348  "SummaryvsLS",
353  0);
355  "SummaryvsLS",
359  0);
360  } // End if (_ptype == fOnline || _ptype == fLocal) {
361 
362  // BOOK
367 
372 
373  if (_ptype == fLocal) {
376  } else {
381  }
382 
383  if (_ptype == fLocal) { // hidefed2crate
395  }
397 
399 
405 
406  if (_ptype == fOnline || _ptype == fLocal) {
409  if (_ptype == fOnline) {
413  } else if (_ptype == fLocal) {
417  }
422  _xNChs.book(_emap);
425  }
426 
428 }
429 
430 /* virtual */ void LaserTask::_resetMonitors(hcaldqm::UpdateFreq uf) { DQTask::_resetMonitors(uf); }
431 
432 /* virtual */ void LaserTask::_dump() {
441 
442  if (_ptype == fLocal) { // hidefed2crate
451  }
452  if (_ptype != fOffline) {
453  _xNChs.reset();
454  }
455 
456  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
457  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
458  if (!it->isHcalDetId())
459  continue;
460  HcalDetId did = HcalDetId(it->rawId());
462  int n = _xEntries.get(did);
463  // channels missing or low signal
464  if (n == 0) {
465  _cMissing_depth.fill(did);
466  if (_ptype == fLocal) { // hidefed2crate
467  if (eid.isVMEid())
469  else
471  }
472  continue;
473  }
474 
475  _xNChs.get(eid)++;
476 
477  double msig = _xSignalSum.get(did) / n;
478  double mtim = _xTimingSum.get(did) / n;
479  double rsig = sqrt(_xSignalSum2.get(did) / n - msig * msig);
480  double rtim = sqrt(_xTimingSum2.get(did) / n - mtim * mtim);
481 
482  _cSignalMean_Subdet.fill(did, msig);
483  _cSignalMean_depth.fill(did, msig);
484  _cSignalRMS_Subdet.fill(did, rsig);
485  _cSignalRMS_depth.fill(did, rsig);
486  _cTimingMean_Subdet.fill(did, mtim);
487  _cTimingMean_depth.fill(did, mtim);
488  _cTimingRMS_Subdet.fill(did, rtim);
489  _cTimingRMS_depth.fill(did, rtim);
490  if (_ptype == fLocal) { // hidefed2crate
491  if (eid.isVMEid()) {
493  _cSignalRMS_FEDVME.fill(eid, rsig);
495  _cTimingRMS_FEDVME.fill(eid, rtim);
496  } else {
501  }
502  }
503 
504  // Bad timing
505 
506  double timingreflm_mean = _xTimingRefLMSum.get(did) / n;
507  //double timingreflm_rms = sqrt(_xTimingRefLMSum2.get(did) / n - timingreflm_mean * timingreflm_mean);
508 
509  if ((timingreflm_mean < _thresh_timingreflm[did.subdet()].first) ||
510  (timingreflm_mean > _thresh_timingreflm[did.subdet()].second)) {
512  }
513  }
514  if (_ptype != fOffline) { // hidefed2crate
515  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
516  hcaldqm::flag::Flag fSum("LASER");
518  std::vector<uint32_t>::const_iterator jt = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), (*it));
519  if (jt == _vcdaqEids.end()) {
520  // not @cDAQ
521  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
524  continue;
525  }
526  // @cDAQ
528  int min_nchs = 10;
529  if (_xNChs.get(eid) < min_nchs) {
531  } else {
532  double frbadtimingreflm = double(_xNBadTimingRefLM.get(eid)) / double(_xNChs.get(eid));
533  if (frbadtimingreflm > _thresh_frac_timingreflm) {
535  } else {
537  }
538  }
539  if (_xMissingLaserMon) {
541  } else {
543  }
544  }
545 
546  // Set SummaryVsLS bins
547  int iflag = 0;
548  for (std::vector<hcaldqm::flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
549  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, iflag, int(ft->_state));
550  fSum += (*ft);
551  iflag++;
552  ft->reset();
553  }
555  } // End loop over FEDs
556 
557  // Reset per-LS containers
559  _xMissingLaserMon = 0;
560  } // End if _ptype != fOffline
561 }
562 
563 /* virtual */ void LaserTask::_process(edm::Event const& e, edm::EventSetup const& es) {
567 
568  if (!e.getByToken(_tokQIE11, c_QIE11))
569  _logger.dqmthrow("Collection QIE11DigiCollection isn't available " + _tagQIE11.label() + " " +
570  _tagQIE11.instance());
571  if (!e.getByToken(_tokHO, c_ho))
572  _logger.dqmthrow("Collection HODigiCollection isn't available " + _tagHO.label() + " " + _tagHO.instance());
573  if (!e.getByToken(_tokQIE10, c_QIE10))
574  _logger.dqmthrow("Collection QIE10DigiCollection isn't available " + _tagQIE10.label() + " " +
575  _tagQIE10.instance());
576 
577  // int currentEvent = e.eventAuxiliary().id().event();
578  int bx = e.bunchCrossing();
579 
580  // LASERMON
582  if (!e.getByToken(_tokLaserMon, cLaserMon)) {
583  _logger.dqmthrow("QIE10DigiCollection for laserMonDigis isn't available.");
584  }
585  std::vector<int> laserMonADC;
586  processLaserMon(cLaserMon, laserMonADC);
587 
588  // SumQ = peak +/- 3 TSes
589  // Timing = fC-weighted average (TS-TS0) * 25 ns, also in peak +/- 3 TSes
590  int peakTS = -1;
591  double peakLaserMonADC = -1;
592  for (unsigned int iTS = 0; iTS < laserMonADC.size(); ++iTS) {
593  if (laserMonADC[iTS] > peakLaserMonADC) {
594  peakLaserMonADC = laserMonADC[iTS];
595  peakTS = iTS;
596  }
597  }
598 
599  double laserMonSumQ = 0;
600  double laserMonTiming = 0.;
601 
602  if (peakTS >= 0) {
603  int minTS = std::max(0, peakTS - 3);
604  int maxTS = std::min(int(laserMonADC.size() - 1), peakTS + 3);
605  for (int iTS = minTS; iTS <= maxTS; ++iTS) {
606  double this_fC = hcaldqm::constants::adc2fC[laserMonADC[iTS]];
607  laserMonSumQ += this_fC;
608  laserMonTiming += 25. * (iTS - _laserMonTS0) * this_fC;
609  }
610  }
611  if (laserMonSumQ > 0.) {
612  laserMonTiming = laserMonTiming / laserMonSumQ;
613  } else {
615  }
616 
617  if (laserMonSumQ > _laserMonThreshold) {
618  _cLaserMonSumQ.fill(laserMonSumQ);
619  _cLaserMonTiming.fill(laserMonTiming);
620  if (_ptype == fOnline) {
621  _cLaserMonSumQ_LS.fill(_currentLS, laserMonSumQ);
622  _cLaserMonTiming_LS.fill(_currentLS, laserMonTiming);
623  } else if (_ptype == fLocal) {
624  int currentEvent = e.eventAuxiliary().id().event();
625  _cLaserMonSumQ_Event.fill(currentEvent, laserMonSumQ);
626  _cLaserMonTiming_Event.fill(currentEvent, laserMonTiming);
627  }
628  }
629 
630  for (QIE11DigiCollection::const_iterator it = c_QIE11->begin(); it != c_QIE11->end(); ++it) {
631  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
632  HcalDetId const& did = digi.detid();
633  if ((did.subdet() != HcalBarrel) && (did.subdet() != HcalEndcap)) {
634  continue;
635  }
636  uint32_t rawid = _ehashmap.lookup(did);
637  HcalElectronicsId const& eid(rawid);
638 
639  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
640  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
641  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples() - 1);
642  if (sumQ < _lowHBHE)
643  continue;
644 
645  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
646  double aveTS = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples() - 1);
647  _xSignalSum.get(did) += sumQ;
648  _xSignalSum2.get(did) += sumQ * sumQ;
649  _xTimingSum.get(did) += aveTS;
650  _xTimingSum2.get(did) += aveTS * aveTS;
651  _xEntries.get(did)++;
652 
653  for (int i = 0; i < digi.samples(); i++) {
654  if (_ptype == fLocal) {
656  eid, i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, digi, i));
657  }
658  _cADC_SubdetPM.fill(did, digi[i].adc());
659  }
660 
661  // select based on local global
662  double digiTimingSOI = (aveTS - digi.presamples()) * 25.;
663  double deltaTiming = digiTimingSOI - laserMonTiming;
664  _cTiming_DigivsLaserMon_SubdetPM.fill(did, laserMonTiming, digiTimingSOI);
665  _xTimingRefLMSum.get(did) += deltaTiming;
666  _xTimingRefLMSum2.get(did) += deltaTiming * deltaTiming;
667  if (_ptype == fLocal) {
668  int currentEvent = e.eventAuxiliary().id().event();
669  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
670  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
671  _cTimingDiffEvent_SubdetPM.fill(did, currentEvent, hcaldqm::utilities::getRBX(did.iphi()), deltaTiming);
672  } else {
678  }
679  }
680  for (HODigiCollection::const_iterator it = c_ho->begin(); it != c_ho->end(); ++it) {
681  const HODataFrame digi = (const HODataFrame)(*it);
682  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(digi, 8.5, 0, digi.size() - 1);
683  if (sumQ < _lowHO)
684  continue;
685  HcalDetId did = digi.id();
686  HcalElectronicsId eid = digi.elecId();
687 
688  double aveTS = hcaldqm::utilities::aveTS<HODataFrame>(digi, 8.5, 0, digi.size() - 1);
689  _xSignalSum.get(did) += sumQ;
690  _xSignalSum2.get(did) += sumQ * sumQ;
691  _xTimingSum.get(did) += aveTS;
692  _xTimingSum2.get(did) += aveTS * aveTS;
693  _xEntries.get(did)++;
694 
695  for (int i = 0; i < digi.size(); i++) {
696  if (_ptype == fLocal) { // hidefed2crate
697  _cShapeCut_FEDSlot.fill(eid, i, digi.sample(i).nominal_fC() - 8.5);
698  }
699  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
700  }
701 
702  // select based on local global
703  double digiTimingSOI = (aveTS - digi.presamples()) * 25.;
704  double deltaTiming = digiTimingSOI - laserMonTiming;
705  _cTiming_DigivsLaserMon_SubdetPM.fill(did, laserMonTiming, digiTimingSOI);
706  _xTimingRefLMSum.get(did) += deltaTiming;
707  _xTimingRefLMSum2.get(did) += deltaTiming * deltaTiming;
708  if (_ptype == fLocal) {
709  int currentEvent = e.eventAuxiliary().id().event();
710  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
711  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
712  _cTimingDiffEvent_SubdetPM.fill(did, currentEvent, hcaldqm::utilities::getRBX(did.iphi()), deltaTiming);
713  } else {
719  }
720  }
721  for (QIE10DigiCollection::const_iterator it = c_QIE10->begin(); it != c_QIE10->end(); ++it) {
722  const QIE10DataFrame digi = (const QIE10DataFrame)(*it);
723  HcalDetId did = digi.detid();
724  if (did.subdet() != HcalForward) {
725  continue;
726  }
728 
729  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
730  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples() - 1);
731  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
732  if (sumQ < _lowHF)
733  continue;
734 
735  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
736  double aveTS = hcaldqm::utilities::aveTSDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples() - 1);
737 
738  _xSignalSum.get(did) += sumQ;
739  _xSignalSum2.get(did) += sumQ * sumQ;
740  _xTimingSum.get(did) += aveTS;
741  _xTimingSum2.get(did) += aveTS * aveTS;
742  _xEntries.get(did)++;
743 
744  for (int i = 0; i < digi.samples(); i++) {
745  if (_ptype == fLocal) { // hidefed2crate
747  eid, (int)i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i));
748  }
749  _cADC_SubdetPM.fill(did, digi[i].adc());
750  }
751 
752  // select based on local global
753  double digiTimingSOI = (aveTS - digi.presamples()) * 25.;
754  double deltaTiming = digiTimingSOI - laserMonTiming;
755  _cTiming_DigivsLaserMon_SubdetPM.fill(did, laserMonTiming, digiTimingSOI);
756  _xTimingRefLMSum.get(did) += deltaTiming;
757  _xTimingRefLMSum2.get(did) += deltaTiming * deltaTiming;
758  if (_ptype == fLocal) {
759  int currentEvent = e.eventAuxiliary().id().event();
760  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
761  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
762  _cTimingDiffEvent_SubdetPM.fill(did, currentEvent, hcaldqm::utilities::getRBX(did.iphi()), deltaTiming);
763  } else {
769  }
770  }
771 }
772 
773 void LaserTask::processLaserMon(edm::Handle<QIE10DigiCollection>& col, std::vector<int>& iLaserMonADC) {
774  for (QIE10DigiCollection::const_iterator it = col->begin(); it != col->end(); ++it) {
775  const QIE10DataFrame digi = (const QIE10DataFrame)(*it);
776  HcalCalibDetId hcdid(digi.id());
777 
778  if ((hcdid.ieta() != _laserMonIEta) || (hcdid.cboxChannel() != _laserMonCBox)) {
779  continue;
780  }
781 
782  unsigned int digiIndex =
783  std::find(_vLaserMonIPhi.begin(), _vLaserMonIPhi.end(), hcdid.iphi()) - _vLaserMonIPhi.begin();
784  if (digiIndex == _vLaserMonIPhi.size()) {
785  continue;
786  }
787 
788  // First digi: initialize the vectors to -1 (need to know the length of the digi)
789  if (iLaserMonADC.empty()) {
790  int totalNSamples = (digi.samples() - _laserMonDigiOverlap) * _vLaserMonIPhi.size();
791  for (int i = 0; i < totalNSamples; ++i) {
792  iLaserMonADC.push_back(-1);
793  }
794  }
795 
796  for (int subindex = 0; subindex < digi.samples() - _laserMonDigiOverlap; ++subindex) {
797  int totalIndex = (digi.samples() - _laserMonDigiOverlap) * digiIndex + subindex;
798  iLaserMonADC[totalIndex] = (digi[subindex].ok() ? digi[subindex].adc() : -1);
799  }
800  }
801 }
802 
804  auto lumiCache = luminosityBlockCache(lb.index());
805  _currentLS = lumiCache->currentLS;
806 
807  if (_ptype == fLocal)
808  return;
809  this->_dump();
810 
811  DQTask::globalEndLuminosityBlock(lb, es);
812 }
813 
814 /* virtual */ bool LaserTask::_isApplicable(edm::Event const& e) {
815  if (_ptype != fOnline)
816  return true;
817  else {
818  // fOnline mode
820  if (!e.getByToken(_tokuMN, cumn))
821  return false;
822 
823  // event type check first
824  uint8_t eventType = cumn->eventType();
826  return false;
827 
828  // check if this analysis task is of the right laser type
829  uint32_t laserType = cumn->valueUserWord(0);
830  if (laserType == _laserType)
831  return true;
832  }
833 
834  return false;
835 }
836 
hcaldqm::flag::Flag
Definition: Flag.h:24
hcaldqm::quantity::FEDQuantity
Definition: ElectronicsQuantity.h:356
LaserTask::_cSignalMean_FEDuTCA
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:116
hcaldqm::quantity::fADC_128
Definition: ValueQuantity.h:15
LaserTask::_cSignalvsEvent_SubdetPM
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
Definition: LaserTask.h:99
hcaldqm::ContainerSingle1D::showOverflowX
virtual void showOverflowX(bool showOverflow)
Definition: ContainerSingle1D.cc:203
HODataFrame::sample
constexpr const HcalQIESample & sample(int i) const
access a sample
Definition: HODataFrame.h:40
LaserTask::_laserMonCBox
int _laserMonCBox
Definition: LaserTask.h:135
hcaldqm::constants::FED_VME_MIN
const int FED_VME_MIN
Definition: Constants.h:80
hcaldqm::ContainerXXX::initialize
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
LaserTask::_cMissing_FEDVME
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:126
LaserTask::globalEndLuminosityBlock
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: LaserTask.cc:803
HcalQIESample::nominal_fC
constexpr double nominal_fC() const
get the nominal FC (no calibrations applied)
Definition: HcalQIESample.h:45
hcaldqm::Container1D::showOverflowX
virtual void showOverflowX(bool showOverflow)
Definition: Container1D.cc:769
hcaldqm::flag::Flag::_state
State _state
Definition: Flag.h:62
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::quantity::ffC_1000
Definition: ValueQuantity.h:19
hcaldqm::constants
Definition: Constants.h:9
LaserTask::_cSignalMean_FEDVME
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:115
LaserTask::_cSignalRMS_FEDuTCA
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:120
hcaldqm::Container2D::initialize
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:25
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
hcaldqm::UpdateFreq
UpdateFreq
Definition: DQTask.h:32
hcaldqm::quantity::fTiming_100TS
Definition: ValueQuantity.h:33
LaserTask::fBadTiming
Definition: LaserTask.h:58
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
hcaldqm::quantity::FlagQuantity
Definition: ValueQuantity.h:364
hcaldqm::electronicsmap::ElectronicsMap::lookup
uint32_t lookup(DetId const &)
Definition: ElectronicsMap.cc:122
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HcalUMNioDigi::eventType
uint8_t eventType() const
Definition: HcalUMNioDigi.cc:35
LaserTask::_cTimingRMS_FEDVME
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:121
LaserTask::_tagLaserMon
edm::InputTag _tagLaserMon
Definition: LaserTask.h:130
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
QIE11DataFrame::presamples
constexpr int presamples() const
for backward compatibility
Definition: QIE11DataFrame.h:79
hcaldqm::quantity::fSlotuTCA
Definition: ElectronicsQuantity.h:21
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
QIE10DataFrame::samples
constexpr int samples() const
total number of samples in the digi
Definition: QIE10DataFrame.h:86
LaserTask::_resetMonitors
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LaserTask.cc:430
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
min
T min(T a, T b)
Definition: MathUtil.h:58
LaserTask::_cSignalRMS_Subdet
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LaserTask.h:88
hcaldqm::ContainerProf2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: ContainerProf2D.cc:47
hcaldqm::quantity::ValueQuantity
Definition: ValueQuantity.h:309
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:145
LaserTask::_cMissing_FEDuTCA
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LaserTask.h:127
LaserTask::_ehashmap
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:62
edm::LuminosityBlock::index
LuminosityBlockIndex index() const
Definition: LuminosityBlock.cc:28
HcalCalibDetId
Definition: HcalCalibDetId.h:45
HcalQIESample::adc
constexpr int adc() const
get the ADC sample
Definition: HcalQIESample.h:43
hcaldqm::Container1D::reset
virtual void reset()
Definition: Container1D.cc:60
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition: gpuClusterChargeCut.h:20
hcaldqm::flag::fGOOD
Definition: Flag.h:17
LaserTask::_dump
virtual void _dump()
Definition: LaserTask.cc:432
LaserTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LaserTask.cc:55
hcaldqm
Definition: Constants.h:8
LaserTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LaserTask.h:63
cuy.col
col
Definition: cuy.py:1010
QIE10DataFrame::presamples
constexpr int presamples() const
for backward compatibility
Definition: QIE10DataFrame.h:88
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
hcaldqm::electronicsmap::ElectronicsMap::initialize
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
Definition: ElectronicsMap.cc:6
hcaldqm::hashfunctions::fSubdetPM
Definition: HashFunctions.h:127
LaserTask.laserType
laserType
Definition: LaserTask.py:24
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:118
hcaldqm::utilities::getRBX
int getRBX(uint32_t iphi)
Definition: Utilities.cc:233
hcaldqm::fLocal
Definition: DQModule.h:26
hcaldqm::ContainerSingleProf1D::initialize
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
Definition: ContainerSingleProf1D.cc:17
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:105
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:126
LaserTask::_process
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LaserTask.cc:563
LaserTask::_tokuMN
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LaserTask.h:56
LaserTask::_xNChs
hcaldqm::ContainerXXX< int > _xNChs
Definition: LaserTask.h:84
LaserTask::_thresh_frac_timingreflm
double _thresh_frac_timingreflm
Definition: LaserTask.h:140
LaserTask::_xTimingRefLMSum2
hcaldqm::ContainerXXX< double > _xTimingRefLMSum2
Definition: LaserTask.h:82
LaserTask::_cSignalMean_depth
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:108
LaserTask::_cSignalRMS_depth
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LaserTask.h:109
LaserTask::_cTimingvsBX_SubdetPM
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
Definition: LaserTask.h:103
hcaldqm::quantity::fTime_ns_250_coarse
Definition: ValueQuantity.h:65
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
LaserTask::_xEntries
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:78
hcaldqm::utilities::maxTS
int maxTS(DIGI const &digi, double ped=0)
Definition: Utilities.h:102
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:136
HcalBarrel
Definition: HcalAssistant.h:33
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:43
LaserTask::_vflags
std::vector< hcaldqm::flag::Flag > _vflags
Definition: LaserTask.h:59
hcaldqm::flag::fBAD
Definition: Flag.h:19
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
LaserTask::_laserMonIEta
int _laserMonIEta
Definition: LaserTask.h:134
edm::Handle
Definition: AssociativeIterator.h:50
LaserTask::_cTimingRMS_Subdet
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:92
hcaldqm::hashfunctions::fdepth
Definition: HashFunctions.h:131
hcaldqm::quantity::LumiSectionCoarse
Definition: ValueQuantity.h:413
LaserTask::_laserMonThreshold
double _laserMonThreshold
Definition: LaserTask.h:138
HODataFrame::elecId
constexpr HcalElectronicsId const & elecId() const
Definition: HODataFrame.h:24
hcaldqm::utilities::getFEDList
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:83
hcaldqm::utilities::sumQ
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:126
LaserTask::_thresh_timingreflm
std::map< HcalSubdetector, std::pair< double, double > > _thresh_timingreflm
Definition: LaserTask.h:139
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
hcaldqm::hashfunctions::fFEDSlot
Definition: HashFunctions.h:138
hcaldqm::quantity::ffC_1000000
Definition: ValueQuantity.h:64
hcaldqm::quantity::fTimingDiff_ns
Definition: ValueQuantity.h:63
hcaldqm::quantity::ffC_3000
Definition: ValueQuantity.h:20
HcalElectronicsMap::allPrecisionId
std::vector< HcalGenericDetId > allPrecisionId() const
Definition: HcalElectronicsMap.cc:139
LaserTask::_tokQIE10
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: LaserTask.h:55
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
LaserTask::_lowHF
double _lowHF
Definition: LaserTask.h:72
hcaldqm::quantity::fBX
Definition: ValueQuantity.h:45
LaserTask::_cTimingMean_Subdet
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:91
hcaldqm::quantity::fieta
Definition: DetectorQuantity.h:15
LaserTask::_cSignalvsLS_SubdetPM
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:101
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
LaserTask::_cTimingMean_depth
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LaserTask.h:112
QIE10DataFrame::detid
constexpr DetId detid() const
Get the detector id.
Definition: QIE10DataFrame.h:76
hcaldqm::quantity::fiphi
Definition: DetectorQuantity.h:14
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
hcaldqm::DQModule::_currentLS
int _currentLS
Definition: DQModule.h:52
hcaldqm::ContainerProf2D::initialize
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
Definition: ContainerProf2D.cc:22
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
hcaldqm::ContainerXXX::reset
virtual void reset()
Definition: ContainerXXX.h:292
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:98
hcaldqm::filter::HashFilter::initialize
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:123
edm::ESHandle< HcalDbService >
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::DQModule::_name
std::string _name
Definition: DQModule.h:41
LaserTask
Definition: LaserTask.py:1
LaserTask::_tagQIE11
edm::InputTag _tagQIE11
Definition: LaserTask.h:49
HcalUMNioDigi::valueUserWord
uint32_t valueUserWord(int iword) const
Definition: HcalUMNioDigi.cc:62
HcalOuter
Definition: HcalAssistant.h:35
LaserTask::_cShapeCut_FEDSlot
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LaserTask.h:97
QIE11DataFrame::samples
constexpr int samples() const
total number of samples in the digi
Definition: QIE11DataFrame.h:77
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:132
hcaldqm::hashfunctions::fSubdet
Definition: HashFunctions.h:123
LaserTask::_laserMonTS0
int _laserMonTS0
Definition: LaserTask.h:137
hcaldqm::quantity::DetectorQuantity
Definition: DetectorQuantity.h:59
hcaldqm::utilities::isFEDHF
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:156
LaserTask::_lowHBHE
double _lowHBHE
Definition: LaserTask.h:69
LaserTask::_cSignalvsBX_SubdetPM
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
Definition: LaserTask.h:104
LaserTask::_nevents
int _nevents
Definition: LaserTask.h:68
hcaldqm::Container2D::setBinContent
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
LaserTask::_cTimingMean_FEDuTCA
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LaserTask.h:118
hcaldqm::flag::fNA
Definition: Flag.h:16
LaserTask::_vhashFEDs
std::vector< uint32_t > _vhashFEDs
Definition: LaserTask.h:65
LaserTask::LaserTask
LaserTask(edm::ParameterSet const &)
Definition: LaserTask.cc:6
LaserTask::_laserMonDigiOverlap
int _laserMonDigiOverlap
Definition: LaserTask.h:136
hcaldqm::constants::EVENTTYPE_LASER
const uint8_t EVENTTYPE_LASER
Definition: Constants.h:290
Logger::dqmthrow
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
edm::ParameterSet
Definition: ParameterSet.h:47
hcaldqm::quantity::fQIE10fC_100000Coarse
Definition: ValueQuantity.h:60
LaserTask::nLaserFlag
Definition: LaserTask.h:58
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:558
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
LaserTask::_cTimingRMS_FEDuTCA
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LaserTask.h:122
hcaldqm::hashfunctions::fDChannel
Definition: HashFunctions.h:134
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
hcaldqm::Container1D::fill
virtual void fill(uint32_t)
Definition: Container1D.cc:73
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
hcaldqm::flag::Flag::reset
void reset()
Definition: Flag.h:59
LaserTask::_xTimingSum
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:79
LaserTask::processLaserMon
void processLaserMon(edm::Handle< QIE10DigiCollection > &col, std::vector< int > &iLaserMonADC)
Definition: LaserTask.cc:773
LaserTask::_cMissing_depth
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:125
hcaldqm::DQModule::_logger
Logger _logger
Definition: DQModule.h:54
LaserTask::_tokLaserMon
edm::EDGetTokenT< QIE10DigiCollection > _tokLaserMon
Definition: LaserTask.h:131
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
LaserTask::_cTimingRMS_depth
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:113
HcalDetId
Definition: HcalDetId.h:12
LaserTask::fMissingLaserMon
Definition: LaserTask.h:58
LaserTask::_cLaserMonTiming_Event
hcaldqm::ContainerSingleProf1D _cLaserMonTiming_Event
Definition: LaserTask.h:149
LaserTask::_isApplicable
bool _isApplicable(edm::Event const &) override
Definition: LaserTask.cc:814
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
LaserTask::_cADC_SubdetPM
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:94
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
hcaldqm::DQTask::_dbService
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:79
LaserTask::_cLaserMonTiming_LS
hcaldqm::ContainerSingleProf1D _cLaserMonTiming_LS
Definition: LaserTask.h:147
hcaldqm::ContainerSingle1D::fill
virtual void fill(int)
Definition: ContainerSingle1D.cc:80
HODataFrame::size
constexpr int size() const
total number of samples in the digi
Definition: HODataFrame.h:27
hcaldqm::quantity::fTiming_TS200
Definition: ValueQuantity.h:22
cuy.ib
ib
Definition: cuy.py:662
hcaldqm::ContainerSingle1D::book
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerSingle1D.cc:57
LaserTask::_cSignalRMS_FEDVME
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:119
LaserTask::_cTimingDiffEvent_SubdetPM
hcaldqm::ContainerProf2D _cTimingDiffEvent_SubdetPM
Definition: LaserTask.h:152
edm::EventSetup
Definition: EventSetup.h:58
CaloSamples
Definition: CaloSamples.h:14
LaserTask::_cTimingvsLS_SubdetPM
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:100
hcaldqm::quantity::fSpigot
Definition: ElectronicsQuantity.h:23
QIE11DataFrame::detid
constexpr DetId detid() const
Get the detector id.
Definition: QIE11DataFrame.h:67
get
#define get
LaserTask::_tokHO
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:54
hcaldqm::utilities::aveTS
double aveTS(DIGI const &digi, double ped=0, int i=0, int j=3)
Definition: Utilities.h:114
LaserTask::_taguMN
edm::InputTag _taguMN
Definition: LaserTask.h:52
hcalcalib_dqm_sourceclient-live_cfg.eventType
eventType
Definition: hcalcalib_dqm_sourceclient-live_cfg.py:205
LaserTask::_cSignalMean_Subdet
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:87
hcaldqm::DQTask::_vcdaqEids
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:68
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:48
alignCSCRings.r
r
Definition: alignCSCRings.py:93
hcaldqm::ContainerProf2D::fill
void fill(HcalDetId const &) override
Definition: ContainerProf2D.cc:228
HcalForward
Definition: HcalAssistant.h:36
LaserTask::_cTimingMean_FEDVME
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:117
HODataFrame::presamples
constexpr int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition: HODataFrame.h:29
hcaldqm::DQModule::_maxLS
int _maxLS
Definition: DQModule.h:53
LaserTask::_cTiming_DigivsLaserMon_SubdetPM
hcaldqm::Container2D _cTiming_DigivsLaserMon_SubdetPM
Definition: LaserTask.h:150
hcaldqm::quantity::ElectronicsQuantity
Definition: ElectronicsQuantity.h:333
hcaldqm::ContainerProf1D::initialize
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
Definition: ContainerProf1D.cc:22
hcaldqm::electronicsmap::fD2EHashMap
Definition: ElectronicsMap.h:25
QIE10DataFrame
Definition: QIE10DataFrame.h:11
HcalEndcap
Definition: HcalAssistant.h:34
hcaldqm::quantity::fFiberuTCAFiberCh
Definition: ElectronicsQuantity.h:31
LaserTask::_cLaserMonSumQ_Event
hcaldqm::ContainerSingleProf1D _cLaserMonSumQ_Event
Definition: LaserTask.h:148
hcaldqm::constants::adc2fC
const double adc2fC[256]
Definition: Constants.h:250
LaserTask::_tagHO
edm::InputTag _tagHO
Definition: LaserTask.h:50
hcaldqm::utilities::isFEDHBHE
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:142
nanoDQM_cff.Flag
Flag
Definition: nanoDQM_cff.py:65
HODataFrame
Definition: HODataFrame.h:14
LaserTask.h
hcaldqm::ContainerSingle2D::setBinContent
virtual void setBinContent(int, int, int)
Definition: ContainerSingle2D.cc:154
LaserTask::_cLaserMonSumQ
hcaldqm::ContainerSingle1D _cLaserMonSumQ
Definition: LaserTask.h:144
HcalElectronicsId::rawId
constexpr uint32_t rawId() const
Definition: HcalElectronicsId.h:59
QIE11DataFrame
Definition: QIE11DataFrame.h:11
hcaldqm::quantity::fFiberVMEFiberCh
Definition: ElectronicsQuantity.h:32
LaserTask::_xNBadTimingRefLM
hcaldqm::ContainerXXX< int > _xNBadTimingRefLM
Definition: LaserTask.h:83
hcaldqm::DQTask::_emap
const HcalElectronicsMap * _emap
Definition: DQTask.h:80
hcaldqm::ContainerSingle2D::book
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerSingle2D.cc:68
LaserTask::_cSummaryvsLS
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: LaserTask.h:156
LaserTask::_xSignalSum2
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:77
hcaldqm::utilities::fed2crate
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
LaserTask::_tagQIE10
edm::InputTag _tagQIE10
Definition: LaserTask.h:51
hcaldqm::utilities::isFEDHO
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:180
hcaldqm::quantity::fRBX
Definition: ValueQuantity.h:62
hcaldqm::utilities::getFEDVMEList
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:101
hcaldqm::ContainerXXX::book
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
LaserTask::_laserType
uint32_t _laserType
Definition: LaserTask.h:73
hcaldqm::ContainerXXX::get
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
dqm::implementation::IBooker
Definition: DQMStore.h:43
LaserTask::_xMissingLaserMon
int _xMissingLaserMon
Definition: LaserTask.h:142
LaserTask::_xSignalSum
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:76
LaserTask::_vLaserMonIPhi
std::vector< int > _vLaserMonIPhi
Definition: LaserTask.h:133
LaserTask::_cTimingDiffLS_SubdetPM
hcaldqm::ContainerProf2D _cTimingDiffLS_SubdetPM
Definition: LaserTask.h:151
hcaldqm::ContainerSingle1D::initialize
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: ContainerSingle1D.cc:37
hcaldqm::quantity::EventNumber
Definition: ValueQuantity.h:473
hcaldqm::DQTask
Definition: DQTask.h:33
HcalDbRecord
Definition: HcalDbRecord.h:30
hcaldqm::ContainerSingle2D::initialize
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: ContainerSingle2D.cc:46
hcaldqm::Container1D::initialize
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:33
hcaldqm::ContainerProf1D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: ContainerProf1D.cc:40
hcaldqm::flag::fNCDAQ
Definition: Flag.h:15
LaserTask::_cLaserMonTiming
hcaldqm::ContainerSingle1D _cLaserMonTiming
Definition: LaserTask.h:145
hcaldqm::fOnline
Definition: DQModule.h:26
hcaldqm::quantity::fState
Definition: ValueQuantity.h:47
LaserTask::_tokQIE11
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: LaserTask.h:53
HODataFrame::id
constexpr HcalDetId const & id() const
Definition: HODataFrame.h:23
QIE10DataFrame::id
constexpr edm::DataFrame::id_type id() const
Definition: QIE10DataFrame.h:77
edm::Event
Definition: Event.h:73
hcaldqm::quantity::fTiming_TS
Definition: ValueQuantity.h:21
LaserTask::_cTimingvsEvent_SubdetPM
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:98
hcaldqm::utilities::getFEDuTCAList
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:121
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
LaserTask::_cSummaryvsLS_FED
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: LaserTask.h:155
edm::InputTag
Definition: InputTag.h:15
LaserTask::_filter_VME
hcaldqm::filter::HashFilter _filter_VME
Definition: LaserTask.h:64
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:93
hcaldqm::filter::fFilter
Definition: HashFilter.h:19
hcaldqm::Container1D::book
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:592
hcaldqm::filter
Definition: HashFilter.h:18
LaserTask::_xTimingSum2
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:80
hcaldqm::quantity::fTime_ns_250
Definition: ValueQuantity.h:53
LaserTask::_lowHO
double _lowHO
Definition: LaserTask.h:71
hcaldqm::ContainerSingleProf1D::book
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
Definition: ContainerSingleProf1D.cc:33
hcaldqm::fOffline
Definition: DQModule.h:26
LaserTask::_xTimingRefLMSum
hcaldqm::ContainerXXX< double > _xTimingRefLMSum
Definition: LaserTask.h:81
LaserTask::_cLaserMonSumQ_LS
hcaldqm::ContainerSingleProf1D _cLaserMonSumQ_LS
Definition: LaserTask.h:146
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
LaserTask::_thresh_min_lmsumq
double _thresh_min_lmsumq
Definition: LaserTask.h:141
hcaldqm::quantity::LumiSection
Definition: ValueQuantity.h:390
hcaldqm::Container1D::showOverflowY
virtual void showOverflowY(bool showOverflow)
Definition: Container1D.cc:771