CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RawTask.cc
Go to the documentation of this file.
2 
3 using namespace hcaldqm;
4 using namespace hcaldqm::constants;
5 
7  : DQTask(ps), hcalDbServiceToken_(esConsumes<HcalDbService, HcalDbRecord, edm::Transition::BeginRun>()) {
8  _tagFEDs = ps.getUntrackedParameter<edm::InputTag>("tagFEDs", edm::InputTag("rawDataCollector"));
9  _tagReport = ps.getUntrackedParameter<edm::InputTag>("tagReport", edm::InputTag("hcalDigis"));
10  _calibProcessing = ps.getUntrackedParameter<bool>("calibProcessing", false);
11  _thresh_calib_nbadq = ps.getUntrackedParameter<int>("thresh_calib_nbadq", 5000);
12 
13  _tokFEDs = consumes<FEDRawDataCollection>(_tagFEDs);
14  _tokReport = consumes<HcalUnpackerReport>(_tagReport);
15 
16  _vflags.resize(nRawFlag);
17  _vflags[fEvnMsm] = flag::Flag("EvnMsm");
18  _vflags[fBcnMsm] = flag::Flag("BcnMsm");
19  _vflags[fBadQ] = flag::Flag("BadQ");
20  _vflags[fOrnMsm] = flag::Flag("OrnMsm");
21 }
22 
23 /* virtual */ void RawTask::bookHistograms(DQMStore::IBooker& ib, edm::Run const& r, edm::EventSetup const& es) {
24  DQTask::bookHistograms(ib, r, es);
25 
26  // GET WHAT YOU NEED
28  _emap = dbs->getHcalMapping();
29  std::vector<uint32_t> vVME;
30  std::vector<uint32_t> vuTCA;
31  vVME.push_back(
33  vuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
36 
38  "BadQualityvsLS",
41  0);
43  "BadQualityvsBX",
46  0);
48  "BadQuality",
53  0);
54 
55  // FED-based plots
56  if (_ptype != fOffline) { // hidefed2crate
57  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
58  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
59  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
60 
61  std::vector<uint32_t> vhashFEDsVME;
62  std::vector<uint32_t> vhashFEDsuTCA;
63 
64  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it) {
65  vhashFEDsVME.push_back(
68  .rawId());
69  _vhashFEDs.push_back(
72  .rawId());
73  }
74  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
75  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
76  vhashFEDsuTCA.push_back(
77  HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
78  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
79  }
82 
83  // INITIALIZE FIRST
85  "EvnMsm",
87  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
90  0);
92  "BcnMsm",
94  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
97  0);
99  "OrnMsm",
101  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
104  0);
105 
106  // Bad Quality
108  "BadQuality",
113  0);
114 
115  // Online only
116  if (_ptype == fOnline) {
122  "SummaryvsLS",
127  0);
129  "SummaryvsLS",
133  0);
134  // FED Size vs LS
136  "DataSizevsLS",
140  0);
141  }
142  }
143 
144  // BOOK HISTOGRAMS
145  if (_ptype != fOffline) {
149 
151  }
152  if (_ptype == fOffline) {
153  auto scope = DQMStore::IBooker::UseLumiScope(ib);
155  } else {
157  }
160 
161  // BOOK HISTOGRAMS to be used in ONLINE ONLY!
162  if (_ptype == fOnline) {
170  }
171 
172  // FOR OFFLINE PROCESSING MARK THESE HISTOGRAMS AS LUMI BASED
173  //if (_ptype == fOffline) {
174  //if (_ptype != fOffline) { // hidefed2crate
175  // Note that this is deliberately contradictory for the fed2crate fix, so it can be reversed if fed2crate is ever fixed properly,
176  // TODO: set LUMI scope while booking.
177  // _cEvnMsm_ElectronicsVME.setLumiFlag();
178  // _cBcnMsm_ElectronicsVME.setLumiFlag();
179  // _cEvnMsm_ElectronicsuTCA.setLumiFlag();
180  // _cBcnMsm_ElectronicsuTCA.setLumiFlag();
181  //}
182  //}
183 
184  // initialize hash map
186 }
187 
189  // base reset
190  DQTask::_resetMonitors(uf);
191 }
192 
193 /* virtual */ void RawTask::_process(edm::Event const& e, edm::EventSetup const&) {
196  if (!e.getByToken(_tokFEDs, craw))
197  _logger.dqmthrow("Collection FEDRawDataCollection isn't available" + _tagFEDs.label() + " " + _tagFEDs.instance());
198  if (!e.getByToken(_tokReport, creport))
199  _logger.dqmthrow("Collection HcalUnpackerReport isn't available" + _tagReport.label() + " " +
200  _tagReport.instance());
201 
202  // extract some info
203  int bx = e.bunchCrossing();
204 
205  auto lumiCache = luminosityBlockCache(e.getLuminosityBlock().index());
206  _currentLS = lumiCache->currentLS;
207  _xQuality.reset();
208  _xQuality = lumiCache->xQuality;
209 
210  /*
211  * For Calibration/Abort Gap Processing
212  * check if the #channels taht are bad from the unpacker
213  * is > 5000. If it is skip...
214  */
215  if (_calibProcessing) {
216  int nbadq = creport->badQualityDigis();
217  if (nbadq >= _thresh_calib_nbadq)
218  return;
219  }
220 
221  int nn = 0;
222  // loop thru and fill the detIds with bad quality
223  // NOTE: Calibration Channels are skipped!
224  // TODO: Include for Online Calibration Channels marked as bad
225  // a comment below is left on purpose!
226  //_cBadQualityvsBX.fill(bx, creport->badQualityDigis());
227  for (std::vector<DetId>::const_iterator it = creport->bad_quality_begin(); it != creport->bad_quality_end(); ++it) {
228  // skip non HCAL det ids
229  if (!HcalGenericDetId(*it).isHcalDetId())
230  continue;
231 
232  // skip those that are of bad quality from conditions
233  // Masked or Dead
234  if (_xQuality.exists(HcalDetId(*it))) {
235  HcalChannelStatus cs(it->rawId(), _xQuality.get(HcalDetId(*it)));
237  continue;
238  }
239 
240  nn++;
243  // ONLINE ONLY!
244  if (_ptype == fOnline)
245  _xBadQLS.get(eid)++;
246  if (_ptype != fOffline) { // hidefed2crate
247  if (!eid.isVMEid()) {
248  if (_filter_FEDsuTCA.filter(eid))
249  continue;
251  }
252  }
253  }
254  _cBadQualityvsLS.fill(_currentLS, nn);
255  _cBadQualityvsBX.fill(bx, nn);
256 
257  if (_ptype != fOffline) { // hidefed2crate
258  for (int fed = FEDNumbering::MINHCALFEDID; fed <= FEDNumbering::MAXHCALuTCAFEDID; fed++) {
259  // skip nonHCAL FEDs
262  continue;
263  FEDRawData const& raw = craw->FEDData(fed);
264  if (raw.size() < constants::RAW_EMPTY)
265  continue;
266 
267  if (fed <= FEDNumbering::MAXHCALFEDID) // VME
268  {
269  HcalDCCHeader const* hdcc = (HcalDCCHeader const*)(raw.data());
270  if (!hdcc)
271  continue;
272 
273  uint32_t bcn = hdcc->getBunchId();
274  uint32_t orn = hdcc->getOrbitNumber() & 0x1F; // LS 5 bits only
275  uint32_t evn = hdcc->getDCCEventNumber();
276  int dccId = hdcc->getSourceId() - constants::FED_VME_MIN;
277 
278  /* online only */
279  if (_ptype == fOnline) {
282  if (_filter_FEDsVME.filter(eid))
283  continue;
284  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size()) / 1024.);
285  }
286 
287  // iterate over spigots
288  HcalHTRData htr;
289  for (int is = 0; is < HcalDCCHeader::SPIGOT_COUNT; is++) {
290  int r = hdcc->getSpigotData(is, htr, raw.size());
291  if (r != 0 || !htr.check())
292  continue;
294  if (_filter_FEDsVME.filter(eid))
295  continue;
296 
297  uint32_t htr_evn = htr.getL1ANumber();
298  uint32_t htr_orn = htr.getOrbitNumber();
299  uint32_t htr_bcn = htr.getBunchNumber();
300  bool qevn = (htr_evn != evn);
301  bool qbcn = (htr_bcn != bcn);
302  bool qorn = (htr_orn != orn);
303  if (qevn) {
304  if (_ptype == fOnline && is <= constants::SPIGOT_MAX)
305  _xEvnMsmLS.get(eid)++;
306  }
307  if (qorn) {
308  if (_ptype == fOnline && is <= constants::SPIGOT_MAX)
309  _xOrnMsmLS.get(eid)++;
310  }
311  if (qbcn) {
312  if (_ptype == fOnline && is <= constants::SPIGOT_MAX)
313  _xBcnMsmLS.get(eid)++;
314  }
315  }
316  } else // uTCA
317  {
318  hcal::AMC13Header const* hamc13 = (hcal::AMC13Header const*)raw.data();
319  if (!hamc13)
320  continue;
321 
322  /* online only */
323  if (_ptype == fOnline) {
324  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
325  HcalElectronicsId eid = HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false);
326  if (_filter_FEDsuTCA.filter(eid))
327  continue;
328  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size()) / 1024.);
329  }
330 
331  uint32_t bcn = hamc13->bunchId();
332  uint32_t orn = hamc13->orbitNumber() & 0xFFFF; // LS 16bits only
333  uint32_t evn = hamc13->l1aNumber();
334  int namc = hamc13->NAMC();
335 
336  for (int iamc = 0; iamc < namc; iamc++) {
337  int slot = hamc13->AMCSlot(iamc);
338  int crate = hamc13->AMCId(iamc) & 0xFF;
339  HcalElectronicsId eid(crate, slot, FIBER_uTCA_MIN1, FIBERCH_MIN, false);
340  if (_filter_FEDsuTCA.filter(eid))
341  continue;
342  HcalUHTRData uhtr(hamc13->AMCPayload(iamc), hamc13->AMCSize(iamc));
343 
344  uint32_t uhtr_evn = uhtr.l1ANumber();
345  uint32_t uhtr_bcn = uhtr.bunchNumber();
346  uint32_t uhtr_orn = uhtr.orbitNumber();
347  bool qevn = (uhtr_evn != evn);
348  bool qbcn = (uhtr_bcn != bcn);
349  bool qorn = (uhtr_orn != orn);
350  if (qevn) {
352 
353  if (_ptype == fOnline)
354  _xEvnMsmLS.get(eid)++;
355  }
356  if (qorn) {
358 
359  if (_ptype == fOnline)
360  _xOrnMsmLS.get(eid)++;
361  }
362  if (qbcn) {
364 
365  if (_ptype == fOnline)
366  _xBcnMsmLS.get(eid)++;
367  }
368  }
369  }
370  }
371  }
372 }
373 
374 std::shared_ptr<hcaldqm::Cache> RawTask::globalBeginLuminosityBlock(edm::LuminosityBlock const& lb,
375  edm::EventSetup const& es) const {
376  return DQTask::globalBeginLuminosityBlock(lb, es);
377  // _cBadQualityvsLS.extendAxisRange(_currentLS);
378  // _cSummaryvsLS_FED.extendAxisRange(_currentLS);
379  // _cSummaryvsLS.extendAxisRange(_currentLS);
380 }
381 
383  auto lumiCache = luminosityBlockCache(lb.index());
384  _currentLS = lumiCache->currentLS;
385  _evsPerLS = lumiCache->EvtCntLS;
386 
387  if (_ptype != fOnline)
388  return;
389 
390  //
391  // GENERATE STATUS ONLY FOR ONLINE!
392  //
393  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
394  flag::Flag fSum("RAW");
396 
397  std::vector<uint32_t>::const_iterator cit = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), *it);
398  if (cit == _vcdaqEids.end()) {
399  // not @cDAQ
400  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
401  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(flag::fNCDAQ));
402  _cSummaryvsLS.setBinContent(eid, _currentLS, int(flag::fNCDAQ));
403  continue;
404  }
405 
406  // FED is @cDAQ
408  if (_xEvnMsmLS.get(eid) > 0)
409  _vflags[fEvnMsm]._state = flag::fBAD;
410  else
411  _vflags[fEvnMsm]._state = flag::fGOOD;
412  if (_xBcnMsmLS.get(eid) > 0)
413  _vflags[fBcnMsm]._state = flag::fBAD;
414  else
415  _vflags[fBcnMsm]._state = flag::fGOOD;
416  if (_xOrnMsmLS.get(eid) > 0)
417  _vflags[fOrnMsm]._state = flag::fBAD;
418  else
419  _vflags[fOrnMsm]._state = flag::fGOOD;
420  if (double(_xBadQLS.get(eid)) > double(12 * _evsPerLS))
421  _vflags[fBadQ]._state = flag::fBAD;
422  else if (_xBadQLS.get(eid) > 0)
423  _vflags[fBadQ]._state = flag::fPROBLEMATIC;
424  else
425  _vflags[fBadQ]._state = flag::fGOOD;
426  }
427 
428  int iflag = 0;
429  // iterate over all flags:
430  // - sum them all up in summary flag for this FED
431  // - reset each flag right after using it
432  for (std::vector<flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
433  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), ft->_state);
434  fSum += (*ft);
435  iflag++;
436 
437  // this is the MUST! We don't keep flags per FED, reset
438  // each one of them after using
439  ft->reset();
440  }
441  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
442  }
443 
444  // reset...
445  _xOrnMsmLS.reset();
446  _xEvnMsmLS.reset();
447  _xBcnMsmLS.reset();
448  _xBadQLS.reset();
449 
450  // in the end always do the DQTask::endLumi
451  DQTask::globalEndLuminosityBlock(lb, es);
452 }
453 
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
constexpr uint32_t rawId() const
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: RawTask.cc:382
T getUntrackedParameter(std::string const &, T const &) const
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: RawTask.h:42
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RawTask.h:78
int const RAW_EMPTY
Definition: Constants.h:250
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:212
int const CRATE_VME_MIN
Definition: Constants.h:95
int ib
Definition: cuy.py:661
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event...
Definition: HcalHTRData.cc:63
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
LuminosityBlockIndex index() const
bool _calibProcessing
Definition: RawTask.h:52
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: RawTask.cc:193
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RawTask.h:49
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
unique_ptr< ClusterSequence > cs
UpdateFreq
Definition: DQTask.h:32
State _state
Definition: Flag.h:62
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
Definition: RawTask.h:75
int bunchCrossing() const
Definition: EventBase.h:64
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
int const SPIGOT_MIN
Definition: Constants.h:120
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: RawTask.cc:188
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
Definition: RawTask.h:76
virtual void reset()
Definition: ContainerXXX.h:292
int l1aNumber() const
Definition: AMC13Header.h:19
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
int const FIBER_VME_MIN
Definition: Constants.h:125
unsigned int getOrbitNumber() const
Get the HTR orbit number.
Definition: HcalHTRData.cc:345
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
int const FIBERCH_MIN
Definition: Constants.h:134
int AMCSize(int i) const
Definition: AMC13Header.h:37
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:115
int const SPIGOT_MAX
Definition: Constants.h:121
hcaldqm::Container2D _cBadQuality_depth
Definition: RawTask.h:66
unsigned int getOrbitNumber() const
Definition: HcalDCCHeader.h:46
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RawTask.h:79
int getBunchId() const
Definition: HcalDCCHeader.h:34
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
Definition: RawTask.h:76
ProcessingType _ptype
Definition: DQModule.h:44
virtual void fill(uint32_t)
Definition: Container1D.cc:73
int bunchId() const
Definition: AMC13Header.h:17
void reset()
Definition: Flag.h:59
virtual void setBinContent(int, int, int)
hcaldqm::filter::HashFilter _filter_FEDsuTCA
Definition: RawTask.h:62
constexpr bool isVMEid() const
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:66
std::vector< uint32_t > _vhashFEDs
Definition: RawTask.h:56
int const FED_VME_MIN
Definition: Constants.h:82
int const FIBER_uTCA_MIN1
Definition: Constants.h:128
Transition
Definition: Transition.h:12
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
Definition: RawTask.h:76
RawTask(edm::ParameterSet const &)
Definition: RawTask.cc:6
LuminosityBlock const & getLuminosityBlock() const
Definition: Event.h:100
Logger _logger
Definition: DQModule.h:55
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
Definition: DQMStore.h:540
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
Definition: RawTask.h:41
std::string _name
Definition: DQModule.h:42
HcalElectronicsMap const * _emap
Definition: DQTask.h:81
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Definition: RawTask.h:40
bool isHcalDetId() const
hcaldqm::Container2D _cBadQuality_FEDuTCA
Definition: RawTask.h:65
int const CRATE_uTCA_MIN
Definition: Constants.h:100
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawTask.h:73
hcaldqm::filter::HashFilter _filter_uTCA
Definition: RawTask.h:60
int getSourceId() const
Definition: HcalDCCHeader.h:32
unsigned int orbitNumber() const
Definition: AMC13Header.h:23
int _thresh_calib_nbadq
Definition: RawTask.h:53
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
Definition: RawTask.h:76
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:156
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
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
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
uint32_t l1ANumber() const
Get the HTR event number.
Definition: HcalUHTRData.h:87
hcaldqm::filter::HashFilter _filter_FEDsVME
Definition: RawTask.h:61
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
Definition: RawTask.h:68
edm::InputTag _tagFEDs
Definition: RawTask.h:38
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RawTask.h:45
int NAMC() const
Definition: AMC13Header.h:25
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawTask.h:74
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
int AMCSlot(int i) const
Definition: AMC13Header.h:33
const uint64_t * AMCPayload(int i) const
Definition: AMC13Header.cc:4
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
Definition: RawTask.h:70
unsigned int getBunchNumber() const
Get the HTR bunch number.
Definition: HcalHTRData.h:122
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:97
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:135
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
std::string _subsystem
Definition: DQModule.h:49
edm::InputTag _tagReport
Definition: RawTask.h:39
int32_t *__restrict__ nn
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:182
hcaldqm::filter::HashFilter _filter_VME
Definition: RawTask.h:59
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
Definition: RawTask.h:69
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:69
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: RawTask.cc:23
std::shared_ptr< hcaldqm::Cache > globalBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
Definition: RawTask.cc:374
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:151
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:567
uint16_t AMCId(int i) const
Definition: AMC13Header.h:31
unsigned int getL1ANumber() const
Get the HTR event number.
Definition: HcalHTRData.h:120
unsigned long getDCCEventNumber() const
Definition: HcalDCCHeader.h:36
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:170
int const SLOT_uTCA_MIN
Definition: Constants.h:107
Definition: Run.h:45