CMS 3D CMS Logo

RawTask.cc
Go to the documentation of this file.
2 
3 
4 using namespace hcaldqm;
5 using namespace hcaldqm::constants;
6 
8  DQTask(ps)
9 {
11  edm::InputTag("rawDataCollector"));
13  edm::InputTag("hcalDigis"));
14  _calibProcessing = ps.getUntrackedParameter<bool>("calibProcessing",
15  false);
16  _thresh_calib_nbadq = ps.getUntrackedParameter<int>("thresh_calib_nbadq",
17  5000);
18 
19  _tokFEDs = consumes<FEDRawDataCollection>(_tagFEDs);
20  _tokReport = consumes<HcalUnpackerReport>(_tagReport);
21 
22  _vflags.resize(nRawFlag);
23  _vflags[fEvnMsm]=flag::Flag("EvnMsm");
24  _vflags[fBcnMsm]=flag::Flag("BcnMsm");
25  _vflags[fBadQ]=flag::Flag("BadQ");
26  _vflags[fOrnMsm]=flag::Flag("OrnMsm");
27 }
28 
30  edm::Run const& r, edm::EventSetup const& es)
31 {
32  DQTask::bookHistograms(ib,r,es);
33 
34  // GET WHAT YOU NEED
36  es.get<HcalDbRecord>().get(dbs);
37  _emap = dbs->getHcalMapping();
38  std::vector<uint32_t> vVME;
39  std::vector<uint32_t> vuTCA;
43  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
45  vVME);
47  vuTCA);
48 
49  _cBadQualityvsLS.initialize(_name, "BadQualityvsLS",
52  _cBadQualityvsBX.initialize(_name, "BadQualityvsBX",
55  _cBadQuality_depth.initialize(_name, "BadQuality",
60 
61  // FED-based plots
62  if (_ptype != fOffline) { // hidefed2crate
63  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
64  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
65  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
66 
67  std::vector<uint32_t> vhashFEDsVME;
68  std::vector<uint32_t> vhashFEDsuTCA;
69 
70  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
71  it!=vFEDsVME.end(); ++it)
72  {
73  vhashFEDsVME.push_back(HcalElectronicsId(constants::FIBERCH_MIN,
75  (*it)-constants::FED_VME_MIN).rawId());
78  (*it)-constants::FED_VME_MIN).rawId());
79  }
80  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
81  it!=vFEDsuTCA.end(); ++it)
82  {
83  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
84  vhashFEDsuTCA.push_back(HcalElectronicsId(
85  cspair.first, cspair.second, FIBER_uTCA_MIN1,
86  FIBERCH_MIN, false).rawId());
87  _vhashFEDs.push_back(HcalElectronicsId(
88  cspair.first, cspair.second, FIBER_uTCA_MIN1,
89  FIBERCH_MIN, false).rawId());
90  }
92  hcaldqm::hashfunctions::fFED, vhashFEDsVME);
94  hcaldqm::hashfunctions::fFED, vhashFEDsuTCA);
95 
96  // INITIALIZE FIRST
99  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
104  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
109  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
114  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
119  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
124  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
127 
128  // Bad Quality
129  _cBadQuality_FEDVME.initialize(_name, "BadQuality",
134  _cBadQuality_FEDuTCA.initialize(_name, "BadQuality",
139 
140  // Online only
141  if (_ptype==fOnline)
142  {
147  _cSummaryvsLS_FED.initialize(_name, "SummaryvsLS",
152  _cSummaryvsLS.initialize(_name, "SummaryvsLS",
156  // FED Size vs LS
157  _cDataSizevsLS_FED.initialize(_name, "DataSizevsLS",
161  }
162 
163  }
164 
165 
166  // BOOK HISTOGRAMS
167  if (_ptype != fOffline) {
174 
177  }
181 
182  // BOOK HISTOGRAMS to be used in ONLINE ONLY!
183  if (_ptype==fOnline)
184  {
192  }
193 
194  // FOR OFFLINE PROCESSING MARK THESE HISTOGRAMS AS LUMI BASED
195  if (_ptype==fOffline)
196  {
197  if (_ptype != fOffline) { // hidefed2crate
198  // Note that this is deliberately contradictory for the fed2crate fix, so it can be reversed if fed2crate is ever fixed properly,
203  }
205  }
206 
207  // initialize hash map
209 }
210 
212 {
213  // base reset
214  DQTask::_resetMonitors(uf);
215 }
216 
217 /* virtual */ void RawTask::_process(edm::Event const& e,
218  edm::EventSetup const&)
219 {
222  if (!e.getByToken(_tokFEDs, craw))
223  _logger.dqmthrow("Collection FEDRawDataCollection isn't available"+
224  _tagFEDs.label()+" " +_tagFEDs.instance());
225  if (!e.getByToken(_tokReport, creport))
226  _logger.dqmthrow("Collection HcalUnpackerReport isn't available"+
228 
229  // extract some info
230  int bx = e.bunchCrossing();
231 
232  /*
233  * For Calibration/Abort Gap Processing
234  * check if the #channels taht are bad from the unpacker
235  * is > 5000. If it is skip...
236  */
237  if (_calibProcessing)
238  {
239  int nbadq = creport->badQualityDigis();
240  if (nbadq>=_thresh_calib_nbadq)
241  return;
242  }
243 
244  int nn = 0;
245  // loop thru and fill the detIds with bad quality
246  // NOTE: Calibration Channels are skipped!
247  // TODO: Include for Online Calibration Channels marked as bad
248  // a comment below is left on purpose!
249  //_cBadQualityvsBX.fill(bx, creport->badQualityDigis());
250  for (std::vector<DetId>::const_iterator it=creport->bad_quality_begin();
251  it!=creport->bad_quality_end(); ++it)
252  {
253  // skip non HCAL det ids
254  if (!HcalGenericDetId(*it).isHcalDetId())
255  continue;
256 
257  // skip those that are of bad quality from conditions
258  // Masked or Dead
259  if (_xQuality.exists(HcalDetId(*it)))
260  {
261  HcalChannelStatus cs(it->rawId(), _xQuality.get(HcalDetId(*it)));
262  if (cs.isBitSet(HcalChannelStatus::HcalCellMask) ||
264  continue;
265  }
266 
267  nn++;
270  // ONLINE ONLY!
271  if (_ptype==fOnline)
272  _xBadQLS.get(eid)++;
273  if (_ptype != fOffline) { // hidefed2crate
274  if (eid.isVMEid())
275  {
276  if (_filter_FEDsVME.filter(eid))
277  continue;
279  }
280  else
281  {
282  if (_filter_FEDsuTCA.filter(eid))
283  continue;
285  }
286  }
287  }
289  _cBadQualityvsBX.fill(bx, nn);
290 
291  if (_ptype != fOffline) { // hidefed2crate
293  // skip nonHCAL FEDs
294  if ((fed>FEDNumbering::MAXHCALFEDID &&
297  continue;
298  FEDRawData const& raw = craw->FEDData(fed);
299  if (raw.size()<constants::RAW_EMPTY)
300  continue;
301 
302  if (fed<=FEDNumbering::MAXHCALFEDID) // VME
303  {
304  HcalDCCHeader const* hdcc = (HcalDCCHeader const*)(raw.data());
305  if (!hdcc)
306  continue;
307 
308  uint32_t bcn = hdcc->getBunchId();
309  uint32_t orn = hdcc->getOrbitNumber() & 0x1F; // LS 5 bits only
310  uint32_t evn = hdcc->getDCCEventNumber();
312 
313  /* online only */
314  if (_ptype==fOnline)
315  {
318  if (_filter_FEDsVME.filter(eid))
319  continue;
320  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size())/1024.);
321  }
322 
323  // iterate over spigots
324  HcalHTRData htr;
325  for (int is=0; is<HcalDCCHeader::SPIGOT_COUNT; is++)
326  {
327  int r = hdcc->getSpigotData(is, htr, raw.size());
328  if (r!=0 || !htr.check())
329  continue;
332  is, dccId);
333  if (_filter_FEDsVME.filter(eid))
334  continue;
335 
336  uint32_t htr_evn = htr.getL1ANumber();
337  uint32_t htr_orn = htr.getOrbitNumber();
338  uint32_t htr_bcn = htr.getBunchNumber();
339  bool qevn = (htr_evn!=evn);
340  bool qbcn = (htr_bcn!=bcn);
341  bool qorn = (htr_orn!=orn);
342  if (qevn)
343  {
345 
347  _xEvnMsmLS.get(eid)++;
348  }
349  if (qorn)
350  {
352 
354  _xOrnMsmLS.get(eid)++;
355  }
356  if (qbcn)
357  {
359 
361  _xBcnMsmLS.get(eid)++;
362  }
363  }
364  }
365  else // uTCA
366  {
367  hcal::AMC13Header const* hamc13 = (hcal::AMC13Header const*)
368  raw.data();
369  if (!hamc13)
370  continue;
371 
372  /* online only */
373  if (_ptype==fOnline)
374  {
375  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(fed);
376  HcalElectronicsId eid = HcalElectronicsId(cspair.first,
377  cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false);
378  if (_filter_FEDsuTCA.filter(eid))
379  continue;
380  _cDataSizevsLS_FED.fill(eid, _currentLS, double(raw.size())/1024.);
381  }
382 
383  uint32_t bcn = hamc13->bunchId();
384  uint32_t orn = hamc13->orbitNumber() & 0xFFFF; // LS 16bits only
385  uint32_t evn = hamc13->l1aNumber();
386  int namc = hamc13->NAMC();
387 
388  for (int iamc=0; iamc<namc; iamc++)
389  {
390  int slot = hamc13->AMCSlot(iamc);
391  int crate = hamc13->AMCId(iamc)&0xFF;
393  FIBERCH_MIN, false);
394  if (_filter_FEDsuTCA.filter(eid))
395  continue;
396  HcalUHTRData uhtr(hamc13->AMCPayload(iamc),
397  hamc13->AMCSize(iamc));
398 
399  uint32_t uhtr_evn = uhtr.l1ANumber();
400  uint32_t uhtr_bcn = uhtr.bunchNumber();
401  uint32_t uhtr_orn = uhtr.orbitNumber();
402  bool qevn = (uhtr_evn!=evn);
403  bool qbcn = (uhtr_bcn!=bcn);
404  bool qorn = (uhtr_orn!=orn);
405  if (qevn)
406  {
408 
409  if (_ptype==fOnline)
410  _xEvnMsmLS.get(eid)++;
411  }
412  if (qorn)
413  {
415 
416  if (_ptype==fOnline)
417  _xOrnMsmLS.get(eid)++;
418  }
419  if (qbcn)
420  {
422 
423  if (_ptype==fOnline)
424  _xBcnMsmLS.get(eid)++;
425  }
426  }
427  }
428  }
429  }
430 }
431 
433  edm::EventSetup const& es)
434 {
435  DQTask::beginLuminosityBlock(lb, es);
436 
437 // _cBadQualityvsLS.extendAxisRange(_currentLS);
438 
439  // ONLINE ONLY!
440  if (_ptype!=fOnline)
441  return;
442 // _cSummaryvsLS_FED.extendAxisRange(_currentLS);
443 // _cSummaryvsLS.extendAxisRange(_currentLS);
444 
445 }
446 
448  edm::EventSetup const& es)
449 {
450  if (_ptype!=fOnline)
451  return;
452 
453  //
454  // GENERATE STATUS ONLY FOR ONLINE!
455  //
456  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
457  it!=_vhashFEDs.end(); ++it)
458  {
459  flag::Flag fSum("RAW");
461 
462  std::vector<uint32_t>::const_iterator cit=std::find(
463  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
464  if (cit==_vcdaqEids.end())
465  {
466  // not @cDAQ
467  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
468  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
469  int(flag::fNCDAQ));
471  continue;
472  }
473 
474  // FED is @cDAQ
477  {
478  if (_xEvnMsmLS.get(eid)>0)
479  _vflags[fEvnMsm]._state = flag::fBAD;
480  else
481  _vflags[fEvnMsm]._state = flag::fGOOD;
482  if (_xBcnMsmLS.get(eid)>0)
483  _vflags[fBcnMsm]._state = flag::fBAD;
484  else
485  _vflags[fBcnMsm]._state = flag::fGOOD;
486  if (_xOrnMsmLS.get(eid)>0)
487  _vflags[fOrnMsm]._state = flag::fBAD;
488  else
489  _vflags[fOrnMsm]._state = flag::fGOOD;
490  if (double(_xBadQLS.get(eid))>double(12*_evsPerLS))
491  _vflags[fBadQ]._state = flag::fBAD;
492  else if (_xBadQLS.get(eid)>0)
493  _vflags[fBadQ]._state = flag::fPROBLEMATIC;
494  else
495  _vflags[fBadQ]._state = flag::fGOOD;
496  }
497 
498  int iflag=0;
499  // iterate over all flags:
500  // - sum them all up in summary flag for this FED
501  // - reset each flag right after using it
502  for (std::vector<flag::Flag>::iterator ft=_vflags.begin();
503  ft!=_vflags.end(); ++ft)
504  {
505  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
506  ft->_state);
507  fSum+=(*ft);
508  iflag++;
509 
510  // this is the MUST! We don't keep flags per FED, reset
511  // each one of them after using
512  ft->reset();
513  }
515  }
516 
517  // reset...
519 
520  // in the end always do the DQTask::endLumi
521  DQTask::endLuminosityBlock(lb, es);
522 }
523 
525 
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RawTask.h:91
int const RAW_EMPTY
Definition: Constants.h:269
auto_ptr< ClusterSequence > cs
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
int const CRATE_VME_MIN
Definition: Constants.h:111
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event...
Definition: HcalHTRData.cc:62
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
uint32_t rawId() const
bool _calibProcessing
Definition: RawTask.h:61
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
Definition: RawTask.cc:29
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RawTask.h:58
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
UpdateFreq
Definition: DQTask.h:17
State _state
Definition: Flag.h:79
hcaldqm::Container2D _cOrnMsm_ElectronicsuTCA
Definition: RawTask.h:88
int bunchCrossing() const
Definition: EventBase.h:66
int const SPIGOT_MIN
Definition: Constants.h:136
hcaldqm::ContainerXXX< uint32_t > _xEvnMsmLS
Definition: RawTask.h:89
virtual void _process(edm::Event const &, edm::EventSetup const &)
Definition: RawTask.cc:217
virtual void reset()
Definition: ContainerXXX.h:366
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:20
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
int const FIBER_VME_MIN
Definition: Constants.h:141
unsigned int getOrbitNumber() const
Get the HTR orbit number.
Definition: HcalHTRData.cc:324
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
void bookHistograms(fwlite::EventContainer &eventCont)
int const FIBERCH_MIN
Definition: Constants.h:151
int AMCSize(int i) const
Definition: AMC13Header.h:37
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:119
int const SPIGOT_MAX
Definition: Constants.h:137
hcaldqm::Container2D _cBadQuality_depth
Definition: RawTask.h:76
unsigned int getOrbitNumber() const
Definition: HcalDCCHeader.h:46
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RawTask.h:92
int getBunchId() const
Definition: HcalDCCHeader.h:34
hcaldqm::ContainerXXX< uint32_t > _xBcnMsmLS
Definition: RawTask.h:89
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
int bunchId() const
Definition: AMC13Header.h:17
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void reset()
Definition: Flag.h:76
virtual void setBinContent(int, int, int)
hcaldqm::filter::HashFilter _filter_FEDsuTCA
Definition: RawTask.h:71
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
std::vector< uint32_t > _vhashFEDs
Definition: RawTask.h:65
int const FED_VME_MIN
Definition: Constants.h:98
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
DetIdVector::const_iterator bad_quality_begin() const
hcaldqm::ContainerXXX< uint32_t > _xOrnMsmLS
Definition: RawTask.h:89
RawTask(edm::ParameterSet const &)
Definition: RawTask.cc:7
Logger _logger
Definition: DQModule.h:70
edm::EDGetTokenT< HcalUnpackerReport > _tokReport
Definition: RawTask.h:44
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
edm::EDGetTokenT< FEDRawDataCollection > _tokFEDs
Definition: RawTask.h:43
bool isHcalDetId() const
hcaldqm::Container2D _cBadQuality_FEDuTCA
Definition: RawTask.h:75
int const CRATE_uTCA_MIN
Definition: Constants.h:116
hcaldqm::Container2D _cEvnMsm_ElectronicsuTCA
Definition: RawTask.h:86
hcaldqm::filter::HashFilter _filter_uTCA
Definition: RawTask.h:69
int getSourceId() const
Definition: HcalDCCHeader.h:32
unsigned int orbitNumber() const
Definition: AMC13Header.h:23
int _thresh_calib_nbadq
Definition: RawTask.h:62
bool isVMEid() const
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: RawTask.cc:447
hcaldqm::ContainerXXX< uint32_t > _xBadQLS
Definition: RawTask.h:89
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:172
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::Container2D _cBadQuality_FEDVME
Definition: RawTask.h:74
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void _resetMonitors(hcaldqm::UpdateFreq)
Definition: RawTask.cc:211
const T & get() const
Definition: EventSetup.h:55
hcaldqm::Container2D _cBcnMsm_ElectronicsVME
Definition: RawTask.h:84
uint32_t l1ANumber() const
Get the HTR event number.
Definition: HcalUHTRData.h:84
hcaldqm::filter::HashFilter _filter_FEDsVME
Definition: RawTask.h:70
int badQualityDigis() const
virtual void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:235
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::ContainerSingleProf1D _cBadQualityvsLS
Definition: RawTask.h:78
hcaldqm::Container2D _cOrnMsm_ElectronicsVME
Definition: RawTask.h:85
edm::InputTag _tagFEDs
Definition: RawTask.h:41
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RawTask.h:47
int NAMC() const
Definition: AMC13Header.h:25
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
hcaldqm::Container2D _cBcnMsm_ElectronicsuTCA
Definition: RawTask.h:87
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
int AMCSlot(int i) const
Definition: AMC13Header.h:33
const uint64_t * AMCPayload(int i) const
Definition: AMC13Header.cc:4
virtual void setLumiFlag()
hcaldqm::ContainerProf1D _cDataSizevsLS_FED
Definition: RawTask.h:80
unsigned int getBunchNumber() const
Get the HTR bunch number.
Definition: HcalHTRData.h:115
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:95
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:145
virtual void fill(HcalDetId const &) override
Definition: Container2D.cc:59
const HcalElectronicsMap * getHcalMapping() const
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:36
std::string _subsystem
Definition: DQModule.h:64
edm::InputTag _tagReport
Definition: RawTask.h:42
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:212
hcaldqm::filter::HashFilter _filter_VME
Definition: RawTask.h:68
hcaldqm::ContainerSingleProf1D _cBadQualityvsBX
Definition: RawTask.h:79
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:65
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:91
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: RawTask.cc:432
uint16_t AMCId(int i) const
Definition: AMC13Header.h:31
unsigned int getL1ANumber() const
Get the HTR event number.
Definition: HcalHTRData.h:111
unsigned dccId(DetId const &)
hcaldqm::Container2D _cEvnMsm_ElectronicsVME
Definition: RawTask.h:83
unsigned long getDCCEventNumber() const
Definition: HcalDCCHeader.h:36
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:187
int const SLOT_uTCA_MIN
Definition: Constants.h:123
Definition: Run.h:42
DetIdVector::const_iterator bad_quality_end() const
ib
Definition: cuy.py:660