CMS 3D CMS Logo

LaserTask.cc
Go to the documentation of this file.
1 
3 
4 using namespace hcaldqm;
5 using namespace hcaldqm::constants;
6 using namespace hcaldqm::filter;
8  DQTask(ps)
9 {
10  _nevents = ps.getUntrackedParameter<int>("nevents", 2000);
11 
12  // tags
14  edm::InputTag("hcalDigis"));
16  edm::InputTag("hcalDigis"));
18  edm::InputTag("hcalDigis"));
20  edm::InputTag("hcalDigis"));
22  edm::InputTag("hcalDigis"));
23  _tokHBHE = consumes<HBHEDigiCollection>(_tagHBHE);
24  _tokHEP17 = consumes<QIE11DigiCollection>(_tagHE);
25  _tokHO = consumes<HODigiCollection>(_tagHO);
26  _tokHF = consumes<QIE10DigiCollection>(_tagHF);
27  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
28 
29  // constants
30  _lowHBHE = ps.getUntrackedParameter<double>("lowHBHE",
31  20);
32  _lowHEP17 = ps.getUntrackedParameter<double>("lowHEP17",
33  20);
34  _lowHO = ps.getUntrackedParameter<double>("lowHO",
35  20);
36  _lowHF = ps.getUntrackedParameter<double>("lowHF",
37  20);
38  _laserType = (uint32_t)ps.getUntrackedParameter<uint32_t>("laserType");
39 }
40 
42  edm::Run const& r, edm::EventSetup const& es)
43 {
44  if (_ptype==fLocal)
45  if (r.runAuxiliary().run()==1)
46  return;
47 
48  DQTask::bookHistograms(ib, r, es);
49 
51  es.get<HcalDbRecord>().get(dbService);
52  _emap = dbService->getHcalMapping();
53 
54  std::vector<uint32_t> vhashVME;
55  std::vector<uint32_t> vhashuTCA;
56  std::vector<uint32_t> vhashC36;
57  vhashVME.push_back(HcalElectronicsId(constants::FIBERCH_MIN,
59  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN,
60  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
62  vhashVME);
64  vhashuTCA);
65 
66  // INITIALIZE
67  _cSignalMean_Subdet.initialize(_name, "SignalMean",
71  _cSignalRMS_Subdet.initialize(_name, "SignalRMS",
75  _cTimingMean_Subdet.initialize(_name, "TimingMean",
79  _cTimingRMS_Subdet.initialize(_name, "TimingRMS",
83 
88 
89  if (_ptype != fOffline) { // hidefed2crate
90  _cSignalMean_FEDVME.initialize(_name, "SignalMean",
100  _cSignalRMS_FEDVME.initialize(_name, "SignalRMS",
105  _cSignalRMS_FEDuTCA.initialize(_name, "SignalRMS",
110  _cTimingMean_FEDVME.initialize(_name, "TimingMean",
115  _cTimingMean_FEDuTCA.initialize(_name, "TimingMean",
120  _cTimingRMS_FEDVME.initialize(_name, "TimingRMS",
125  _cTimingRMS_FEDuTCA.initialize(_name, "TimingRMS",
130 
135  }
136  _cTimingvsEvent_SubdetPM.initialize(_name, "TimingvsEvent",
140  _cSignalvsEvent_SubdetPM.initialize(_name, "SignalvsEvent",
144  _cTimingvsLS_SubdetPM.initialize(_name, "TimingvsLS",
148  _cSignalvsLS_SubdetPM.initialize(_name, "SignalvsLS",
152  _cTimingvsBX_SubdetPM.initialize(_name, "TimingvsBX",
156  _cSignalvsBX_SubdetPM.initialize(_name, "SignalvsBX",
160 
161  _cSignalMean_depth.initialize(_name, "SignalMean",
166  _cSignalRMS_depth.initialize(_name, "SignalRMS",
171  _cTimingMean_depth.initialize(_name, "TimingMean",
176  _cTimingRMS_depth.initialize(_name, "TimingRMS",
181 
182  _cMissing_depth.initialize(_name, "Missing",
187  if (_ptype != fOffline) { // hidefed2crate
188  _cMissing_FEDVME.initialize(_name, "Missing",
198  }
199 
200 
201  // initialize compact containers
207 
208  // BOOK
213 
218 
219  if (_ptype==fLocal)
220  {
223  }
224  else
225  {
230  }
231 
232  if (_ptype != fOffline) { // hidefed2crate
241  }
243 
245  if (_ptype != fOffline) { // hidefed2crate
249  }
250 
256 
258 }
259 
261 {
262  DQTask::_resetMonitors(uf);
263 }
264 
265 /* virtual */ void LaserTask::_dump()
266 {
275 
276  if (_ptype != fOffline) { // hidefed2crate
285  }
286 
287  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
288  for (std::vector<HcalGenericDetId>::const_iterator it=dids.begin();
289  it!=dids.end(); ++it)
290  {
291  if (!it->isHcalDetId())
292  continue;
293  HcalDetId did = HcalDetId(it->rawId());
295  int n = _xEntries.get(did);
296  // channels missing or low signal
297  if (n==0)
298  {
299  _cMissing_depth.fill(did);
300  if (_ptype != fOffline) { // hidefed2crate
301  if (eid.isVMEid())
303  else
305  }
306  continue;
307  }
308 
309  double msig = _xSignalSum.get(did)/n;
310  double mtim = _xTimingSum.get(did)/n;
311  double rsig = sqrt(_xSignalSum2.get(did)/n-msig*msig);
312  double rtim = sqrt(_xTimingSum2.get(did)/n-mtim*mtim);
313 
314  _cSignalMean_Subdet.fill(did, msig);
315  _cSignalMean_depth.fill(did, msig);
316  _cSignalRMS_Subdet.fill(did, rsig);
317  _cSignalRMS_depth.fill(did, rsig);
318  _cTimingMean_Subdet.fill(did, mtim);
319  _cTimingMean_depth.fill(did, mtim);
320  _cTimingRMS_Subdet.fill(did, rtim);
321  _cTimingRMS_depth.fill(did, rtim);
322  if (_ptype != fOffline) { // hidefed2crate
323  if (eid.isVMEid())
324  {
326  _cSignalRMS_FEDVME.fill(eid, rsig);
328  _cTimingRMS_FEDVME.fill(eid, rtim);
329  }
330  else
331  {
336  }
337  }
338  }
339 }
340 
341 /* virtual */ void LaserTask::_process(edm::Event const& e,
342  edm::EventSetup const& es)
343 {
348 
349  if (!e.getByToken(_tokHBHE, chbhe))
350  _logger.dqmthrow("Collection HBHEDigiCollection isn't available "
351  + _tagHBHE.label() + " " + _tagHBHE.instance());
352  if (!e.getByToken(_tokHEP17, chep17))
353  _logger.dqmthrow("Collection QIE11DigiCollection isn't available "
354  + _tagHE.label() + " " + _tagHE.instance());
355  if (!e.getByToken(_tokHO, cho))
356  _logger.dqmthrow("Collection HODigiCollection isn't available "
357  + _tagHO.label() + " " + _tagHO.instance());
358  if (!e.getByToken(_tokHF, chf))
359  _logger.dqmthrow("Collection QIE10DigiCollection isn't available "
360  + _tagHF.label() + " " + _tagHF.instance());
361 
362 // int currentEvent = e.eventAuxiliary().id().event();
363  int bx = e.bunchCrossing();
364 
365  for (HBHEDigiCollection::const_iterator it=chbhe->begin();
366  it!=chbhe->end(); ++it)
367  {
368  const HBHEDataFrame digi = (const HBHEDataFrame)(*it);
369  double sumQ = hcaldqm::utilities::sumQ<HBHEDataFrame>(digi, 2.5, 0,
370  digi.size()-1);
371  if (sumQ<_lowHBHE)
372  continue;
373  HcalDetId did = digi.id();
374  HcalElectronicsId eid = digi.elecId();
375 
376  double aveTS = hcaldqm::utilities::aveTS<HBHEDataFrame>(digi, 2.5, 0,
377  digi.size()-1);
378  _xSignalSum.get(did)+=sumQ;
379  _xSignalSum2.get(did)+=sumQ*sumQ;
380  _xTimingSum.get(did)+=aveTS;
381  _xTimingSum2.get(did)+=aveTS*aveTS;
382  _xEntries.get(did)++;
383 
384  for (int i=0; i<digi.size(); i++)
385  {
386  if (_ptype != fOffline) { // hidefed2crate
387  _cShapeCut_FEDSlot.fill(eid, i,
388  digi.sample(i).nominal_fC()-2.5);
389  }
390  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
391  }
392 
393  // select based on local global
394  if (_ptype==fLocal)
395  {
396  int currentEvent = e.eventAuxiliary().id().event();
397  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
398  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
399  }
400  else
401  {
404  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
405  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
406  }
407  }
408  for (QIE11DigiCollection::const_iterator it=chep17->begin(); it!=chep17->end();
409  ++it)
410  {
411  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
412  HcalDetId const& did = digi.detid();
413  if (did.subdet() != HcalEndcap) {
414  continue;
415  }
416  uint32_t rawid = _ehashmap.lookup(did);
417  HcalElectronicsId const& eid(rawid);
418 
419  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
420  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
421  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
422  if (sumQ<_lowHEP17)
423  continue;
424 
425 
426  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
427  double aveTS = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
428  _xSignalSum.get(did)+=sumQ;
429  _xSignalSum2.get(did)+=sumQ*sumQ;
430  _xTimingSum.get(did)+=aveTS;
431  _xTimingSum2.get(did)+=aveTS*aveTS;
432  _xEntries.get(did)++;
433 
434  for (int i=0; i<digi.samples(); i++)
435  {
436  _cShapeCut_FEDSlot.fill(eid, i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, digi, i));
437  _cADC_SubdetPM.fill(did, digi[i].adc());
438  }
439 
440  // select based on local global
441  if (_ptype==fLocal)
442  {
443  int currentEvent = e.eventAuxiliary().id().event();
444  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
445  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
446  }
447  else
448  {
451  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
452  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
453  }
454  }
456  it!=cho->end(); ++it)
457  {
458  const HODataFrame digi = (const HODataFrame)(*it);
459  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(digi, 8.5, 0,
460  digi.size()-1);
461  if (sumQ<_lowHO)
462  continue;
463  HcalDetId did = digi.id();
464  HcalElectronicsId eid = digi.elecId();
465 
466  double aveTS = hcaldqm::utilities::aveTS<HODataFrame>(digi, 8.5, 0,
467  digi.size()-1);
468  _xSignalSum.get(did)+=sumQ;
469  _xSignalSum2.get(did)+=sumQ*sumQ;
470  _xTimingSum.get(did)+=aveTS;
471  _xTimingSum2.get(did)+=aveTS*aveTS;
472  _xEntries.get(did)++;
473 
474  for (int i=0; i<digi.size(); i++)
475  {
476  if (_ptype != fOffline) { // hidefed2crate
477  _cShapeCut_FEDSlot.fill(eid, i,
478  digi.sample(i).nominal_fC()-8.5);
479  }
480  _cADC_SubdetPM.fill(did, digi.sample(i).adc());
481  }
482 
483  // select based on local global
484  if (_ptype==fLocal)
485  {
486  int currentEvent = e.eventAuxiliary().id().event();
487  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
488  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
489  }
490  else
491  {
494  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
495  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
496  }
497  }
499  it!=chf->end(); ++it)
500  {
501  const QIE10DataFrame digi = (const QIE10DataFrame)(*it);
502  HcalDetId did = digi.detid();
503  if (did.subdet() != HcalForward) {
504  continue;
505  }
507 
508  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
509  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
510  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
511  if (sumQ<_lowHF)
512  continue;
513 
514  //double aveTS = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
515  double aveTS = hcaldqm::utilities::aveTSDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.size()-1);
516 
517  _xSignalSum.get(did)+=sumQ;
518  _xSignalSum2.get(did)+=sumQ*sumQ;
519  _xTimingSum.get(did)+=aveTS;
520  _xTimingSum2.get(did)+=aveTS*aveTS;
521  _xEntries.get(did)++;
522 
523  for (int i=0; i<digi.samples(); i++)
524  {
525  if (_ptype != fOffline) { // hidefed2crate
526  _cShapeCut_FEDSlot.fill(eid, (int)i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i));
527  }
528  _cADC_SubdetPM.fill(did, digi[i].adc());
529  }
530 
531  // select based on local global
532  if (_ptype==fLocal)
533  {
534  int currentEvent = e.eventAuxiliary().id().event();
535  _cTimingvsEvent_SubdetPM.fill(did, currentEvent, aveTS);
536  _cSignalvsEvent_SubdetPM.fill(did, currentEvent, sumQ);
537  }
538  else
539  {
542  _cTimingvsBX_SubdetPM.fill(did, bx, aveTS);
543  _cSignalvsBX_SubdetPM.fill(did, bx, sumQ);
544  }
545  }
546 }
547 
549  edm::EventSetup const& es)
550 {
551  if (_ptype==fLocal)
552  return;
553  this->_dump();
554 
555  DQTask::endLuminosityBlock(lb, es);
556 }
557 
558 /* virtual */ bool LaserTask::_isApplicable(edm::Event const& e)
559 {
560  if (_ptype!=fOnline)
561  return true;
562  else
563  {
564  // fOnline mode
566  if (!e.getByToken(_tokuMN, cumn))
567  return false;
568 
569  // event type check first
570  uint8_t eventType = cumn->eventType();
571  if (eventType!=constants::EVENTTYPE_LASER)
572  return false;
573 
574  // check if this analysis task is of the right laser type
575  uint32_t laserType = cumn->valueUserWord(0);
576  if (laserType==_laserType) return true;
577  }
578 
579  return false;
580 }
581 
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
DetId detid() const
Get the detector id.
EventNumber_t event() const
Definition: EventID.h:41
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
Definition: LaserTask.h:92
T getUntrackedParameter(std::string const &, T const &) const
double aveTS(DIGI const &digi, double ped=0, int i=0, int j=3)
Definition: Utilities.h:108
hcaldqm::ContainerProf1D _cSignalvsEvent_SubdetPM
Definition: LaserTask.h:94
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
bool _isApplicable(edm::Event const &) override
Definition: LaserTask.cc:558
EventAuxiliary const & eventAuxiliary() const override
Definition: Event.h:92
edm::InputTag _tagHE
Definition: LaserTask.h:53
double _lowHF
Definition: LaserTask.h:73
int const CRATE_VME_MIN
Definition: Constants.h:111
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
Definition: LaserTask.h:109
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
hcaldqm::ContainerXXX< double > _xSignalSum2
Definition: LaserTask.h:78
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerXXX< int > _xEntries
Definition: LaserTask.h:79
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: LaserTask.h:58
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
hcaldqm::Container1D _cTimingRMS_Subdet
Definition: LaserTask.h:87
int size() const
total number of samples in the digi
Definition: HBHEDataFrame.h:26
double _lowHBHE
Definition: LaserTask.h:70
uint32_t _laserType
Definition: LaserTask.h:74
UpdateFreq
Definition: DQTask.h:17
virtual void _dump()
Definition: LaserTask.cc:265
std::vector< HBHEDataFrame >::const_iterator const_iterator
hcaldqm::ContainerProf1D _cTimingvsEvent_SubdetPM
Definition: LaserTask.h:93
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
Definition: LaserTask.h:110
int bunchCrossing() const
Definition: EventBase.h:66
int const SPIGOT_MIN
Definition: Constants.h:136
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
const_iterator begin() const
void _resetMonitors(hcaldqm::UpdateFreq) override
Definition: LaserTask.cc:260
int const FIBER_VME_MIN
Definition: Constants.h:141
hcaldqm::ContainerXXX< double > _xSignalSum
Definition: LaserTask.h:77
hcaldqm::ContainerXXX< double > _xTimingSum
Definition: LaserTask.h:80
hcaldqm::Container2D _cMissing_depth
Definition: LaserTask.h:116
hcaldqm::Container2D _cMissing_FEDVME
Definition: LaserTask.h:117
hcaldqm::ContainerProf2D _cSignalMean_depth
Definition: LaserTask.h:101
int const FIBERCH_MIN
Definition: Constants.h:151
edm::InputTag _tagHO
Definition: LaserTask.h:54
hcaldqm::Container1D _cADC_SubdetPM
Definition: LaserTask.h:89
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
Definition: LaserTask.h:112
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
Definition: LaserTask.h:106
edm::InputTag _tagHF
Definition: LaserTask.h:55
hcaldqm::Container1D _cTimingMean_Subdet
Definition: LaserTask.h:86
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LaserTask.cc:41
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
virtual void reset()
Definition: Container1D.cc:65
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
Definition: LaserTask.h:113
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
Definition: LaserTask.h:111
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
uint32_t valueUserWord(int iword) const
hcaldqm::filter::HashFilter _filter_uTCA
Definition: LaserTask.h:65
T sqrt(T t)
Definition: SSEVec.h:18
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
Definition: LaserTask.h:108
int _nevents
Definition: LaserTask.h:69
int size() const
total number of samples in the digi
Definition: HODataFrame.h:27
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
uint8_t eventType() const
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
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:59
DetId detid() const
Get the detector id.
std::vector< HcalGenericDetId > allPrecisionId() const
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: LaserTask.cc:548
Logger _logger
Definition: DQModule.h:70
RunAuxiliary const & runAuxiliary() const override
Definition: Run.h:62
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
hcaldqm::ContainerProf1D _cSignalvsBX_SubdetPM
Definition: LaserTask.h:98
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
double _lowHO
Definition: LaserTask.h:72
int const CRATE_uTCA_MIN
Definition: Constants.h:116
hcaldqm::Container2D _cMissing_FEDuTCA
Definition: LaserTask.h:118
void _process(edm::Event const &, edm::EventSetup const &) override
Definition: LaserTask.cc:341
const_iterator end() const
hcaldqm::Container1D _cSignalMean_Subdet
Definition: LaserTask.h:84
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:57
hcaldqm::ContainerProf1D _cSignalvsLS_SubdetPM
Definition: LaserTask.h:96
hcaldqm::ContainerProf1D _cTimingvsLS_SubdetPM
Definition: LaserTask.h:95
edm::InputTag _tagHBHE
Definition: LaserTask.h:52
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
Definition: LaserTask.h:107
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
uint8_t const EVENTTYPE_LASER
Definition: Constants.h:324
hcaldqm::ContainerProf2D _cTimingMean_depth
Definition: LaserTask.h:103
const T & get() const
Definition: EventSetup.h:59
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: LaserTask.h:64
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
edm::InputTag _taguMN
Definition: LaserTask.h:56
std::string const & label() const
Definition: InputTag.h:36
const_iterator end() const
EventID const & id() const
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:72
double _lowHEP17
Definition: LaserTask.h:71
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: LaserTask.h:61
hcaldqm::Container1D _cSignalRMS_Subdet
Definition: LaserTask.h:85
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::ContainerXXX< double > _xTimingSum2
Definition: LaserTask.h:81
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
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: LaserTask.h:60
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cSignalRMS_depth
Definition: LaserTask.h:102
hcaldqm::filter::HashFilter _filter_VME
Definition: LaserTask.h:66
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::ContainerProf1D _cTimingvsBX_SubdetPM
Definition: LaserTask.h:97
RunNumber_t run() const
Definition: RunAuxiliary.h:41
LaserTask(edm::ParameterSet const &)
Definition: LaserTask.cc:7
int const SLOT_uTCA_MIN
Definition: Constants.h:123
const_iterator begin() const
Definition: Run.h:43
ib
Definition: cuy.py:660
hcaldqm::ContainerProf2D _cTimingRMS_depth
Definition: LaserTask.h:104
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:122