CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
RecHitTask Class Reference

#include <RecHitTask.h>

Inheritance diagram for RecHitTask:
hcaldqm::DQTask one::DQMEDAnalyzer< one::DQMLuminosityBlockElements > hcaldqm::DQModule one::dqmimplementation::DQMBaseClass< T... >

Public Member Functions

void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 RecHitTask (edm::ParameterSet const &)
 
 ~RecHitTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from one::DQMEDAnalyzer< one::DQMLuminosityBlockElements >
 DQMEDAnalyzer ()=default
 
 DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Protected Types

enum  RecoFlag { fUni = 0, fTCDS = 1, fUnknownIds = 2, nRecoFlag = 3 }
 

Protected Member Functions

void _process (edm::Event const &, edm::EventSetup const &) override
 
void _resetMonitors (hcaldqm::UpdateFreq) override
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 

Protected Attributes

hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
 
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
 
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
 
hcaldqm::ContainerProf2D _cEnergy_depth
 
hcaldqm::Container1D _cEnergy_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
 
hcaldqm::Container2D _cOccupancy_depth
 
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancy_ElectronicsVME
 
hcaldqm::Container2D _cOccupancy_FEDuTCA
 
hcaldqm::Container2D _cOccupancy_FEDVME
 
hcaldqm::Container2D _cOccupancyCut_depth
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
 
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
 
hcaldqm::Container2D _cOccupancyCut_FEDVME
 
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
 
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
 
hcaldqm::Container1D _cOccupancyvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::ContainerProf2D _cTimingCut_depth
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
 
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
 
hcaldqm::Container1D _cTimingCut_HBHEPartition
 
hcaldqm::Container1D _cTimingCut_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
 
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
 
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
 
double _cutE_HBHE
 
double _cutE_HF
 
double _cutE_HO
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_FEDsuTCA
 
hcaldqm::filter::HashFilter _filter_FEDsVME
 
hcaldqm::filter::HashFilter _filter_HF
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
std::vector< HcalGenericDetId_gids
 
bool _hfPreRecHitsAvailable
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
edm::InputTag _tagPreHF
 
double _thresh_unihf
 
edm::EDGetTokenT< HBHERecHitCollection_tokHBHE
 
edm::EDGetTokenT< HFRecHitCollection_tokHF
 
edm::EDGetTokenT< HORecHitCollection_tokHO
 
edm::EDGetTokenT< HFPreRecHitCollection_tokPreHF
 
bool _unknownIdsPresent
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xUni
 
hcaldqm::ContainerXXX< uint32_t > _xUniHF
 
MonitorElementmeUnknownIds1LS
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
HcalElectronicsMap const * _emap
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Detailed Description

module: RecHitTask.h Author: VK Description: HCAL RECO Data Tier Evaluation

Online: Offline:

Definition at line 26 of file RecHitTask.h.

Member Enumeration Documentation

enum RecHitTask::RecoFlag
protected
Enumerator
fUni 
fTCDS 
fUnknownIds 
nRecoFlag 

Definition at line 57 of file RecHitTask.h.

Constructor & Destructor Documentation

RecHitTask::RecHitTask ( edm::ParameterSet const &  ps)

Definition at line 8 of file RecHitTask.cc.

References _cutE_HBHE, _cutE_HF, _cutE_HO, _hfPreRecHitsAvailable, _tagHBHE, _tagHF, _tagHO, _tagPreHF, _thresh_unihf, _tokHBHE, _tokHF, _tokHO, _tokPreHF, _vflags, nanoDQM_cff::Flag, fTCDS, fUni, fUnknownIds, edm::ParameterSet::getUntrackedParameter(), and nRecoFlag.

8  : DQTask(ps) {
9  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE", edm::InputTag("hbhereco"));
10  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO", edm::InputTag("horeco"));
11  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF", edm::InputTag("hfreco"));
12  _tagPreHF = ps.getUntrackedParameter<edm::InputTag>("tagPreHF", edm::InputTag(""));
13  _hfPreRecHitsAvailable = ps.getUntrackedParameter<bool>("hfPreRecHitsAvailable", false);
14 
15  _tokHBHE = consumes<HBHERecHitCollection>(_tagHBHE);
16  _tokHO = consumes<HORecHitCollection>(_tagHO);
17  _tokHF = consumes<HFRecHitCollection>(_tagHF);
18  _tokPreHF = consumes<HFPreRecHitCollection>(_tagPreHF);
19 
20  _cutE_HBHE = ps.getUntrackedParameter<double>("cutE_HBHE", 5);
21  _cutE_HO = ps.getUntrackedParameter<double>("cutE_HO", 5);
22  _cutE_HF = ps.getUntrackedParameter<double>("cutE_HF", 5);
23  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
24 
25  // order must be the same as in RecoFlag enum
26  _vflags.resize(nRecoFlag);
27  _vflags[fUni] = flag::Flag("UniSlotHF");
28  _vflags[fTCDS] = flag::Flag("TCDS");
29  _vflags[fUnknownIds] = flag::Flag("UnknownIds");
30 }
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:44
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:5
double _cutE_HO
Definition: RecHitTask.h:49
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:46
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:56
double _cutE_HBHE
Definition: RecHitTask.h:49
edm::InputTag _tagPreHF
Definition: RecHitTask.h:42
double _cutE_HF
Definition: RecHitTask.h:49
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
Definition: RecHitTask.h:47
double _thresh_unihf
Definition: RecHitTask.h:50
edm::InputTag _tagHO
Definition: RecHitTask.h:40
edm::InputTag _tagHF
Definition: RecHitTask.h:41
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:43
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:45
edm::InputTag _tagHBHE
Definition: RecHitTask.h:39
RecHitTask::~RecHitTask ( )
inlineoverride

Member Function Documentation

void RecHitTask::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 474 of file RecHitTask.cc.

References _cDAAsymmetry_cut_SubdetPM, _cDAAsymmetryMean_cut_depth, _cDAAsymmetryVsCharge_SubdetPM, _cEnergy_depth, _cEnergy_Subdet, _cEnergyvsBX_SubdetPM, _cEnergyvsieta_Subdet, _cEnergyvsiphi_SubdetPM, _cEnergyvsLS_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_HBHEPartition, _cTimingCut_SubdetPM, _cTimingCutvsBX_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, _cTimingvsEnergy_SubdetPM, hcaldqm::DQModule::_currentLS, _cutE_HBHE, _cutE_HF, _cutE_HO, _ehashmap, _filter_HF, _hfPreRecHitsAvailable, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHF, _tagHO, _tagPreHF, _tokHBHE, _tokHF, _tokHO, _tokPreHF, _unknownIdsPresent, _xUniHF, edm::SortedCollection< T, SORT >::begin(), edm::EventBase::bunchCrossing(), Logger::dqmthrow(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), randomXiThetaGunProducer_cfi::energy, hcaldqm::Container2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), MonitorElement::Fill(), hcaldqm::filter::HashFilter::filter(), hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalDetId::ieta(), edm::InputTag::instance(), HcalElectronicsId::isUTCAid(), HcalElectronicsId::isVMEid(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meUnknownIds1LS, DetId::rawId(), and HcalDetId::subdet().

Referenced by ~RecHitTask().

474  {
478 
479  if (!(e.getByToken(_tokHBHE, chbhe)))
480  _logger.dqmthrow("Collection HBHERecHitCollection not available " + _tagHBHE.label() + " " + _tagHBHE.instance());
481  if (!(e.getByToken(_tokHO, cho)))
482  _logger.dqmthrow("Collection HORecHitCollection not available " + _tagHO.label() + " " + _tagHO.instance());
483  if (!(e.getByToken(_tokHF, chf)))
484  _logger.dqmthrow("Collection HFRecHitCollection not available " + _tagHF.label() + " " + _tagHF.instance());
485 
488  if (!(e.getByToken(_tokPreHF, cprehf)))
489  _logger.dqmthrow("Collection HFPreRecHitCollection not available " + _tagPreHF.label() + " " +
490  _tagPreHF.instance());
491  }
492 
493  // extract some info per event
494  int bx = e.bunchCrossing();
495 
496  // To fill histograms outside of the loop, you need to determine if there were
497  // any valid det ids first
498  uint32_t rawidValid = 0;
499  uint32_t rawidHBValid = 0;
500  uint32_t rawidHEValid = 0;
501 
502  double ehbm = 0;
503  double ehbp = 0;
504  double ehem = 0;
505  double ehep = 0;
506  int nChsHB = 0;
507  int nChsHE = 0;
508  int nChsHBCut = 0;
509  int nChsHECut = 0;
510  for (HBHERecHitCollection::const_iterator it = chbhe->begin(); it != chbhe->end(); ++it) {
511  double energy = it->energy();
512  double timing = it->time();
513 
514  // Explicit check on the DetIds present in the Collection
515  HcalDetId did = it->id();
516  uint32_t rawid = _ehashmap.lookup(did);
517  /*
518  * Needs to be removed as DetIds that belong to the HEP17 after combination
519  * are not present in the emap
520  * Removed until further notice!
521  *
522  */
523  //if (rawid==0)
524  //{meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
525 
526  HcalElectronicsId const& eid(rawid);
527  rawidValid = did.rawId();
528  if (did.subdet() == HcalBarrel)
529  rawidHBValid = did.rawId();
530  else if (did.subdet() == HcalEndcap)
531  rawidHEValid = did.rawId();
532 
533  _cEnergy_Subdet.fill(did, energy);
534  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
535  _cOccupancy_depth.fill(did);
536  did.subdet() == HcalBarrel ? did.ieta() > 0 ? ehbp += energy : ehbm += energy
537  : did.ieta() > 0 ? ehep += energy : ehem += energy;
538 
539  // ONLINE ONLY!
540  if (_ptype == fOnline) {
543  }
544  // ^^^ONLINE ONLY!
545  //
546  if (_ptype != fOffline) { // hidefed2crate
547  // Also, for these electronics plots, require that the channel was found in the emap.
548  if (rawid != 0) {
549  if (eid.isVMEid()) {
552  } else if (eid.isUTCAid()) {
555  }
556  }
557  }
558 
559  if (energy > _cutE_HBHE) {
560  // ONLINE ONLY!
561  if (_ptype == fOnline) {
562  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
563  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
564  _cEnergyvsieta_Subdet.fill(did, energy);
565  _cEnergyvsiphi_SubdetPM.fill(did, energy);
566  _cTimingCutvsieta_Subdet.fill(did, timing);
567  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
568  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
572  }
573  // ^^^ONLINE ONLY!
574  _cEnergy_depth.fill(did, energy);
575  _cTimingCut_SubdetPM.fill(did, timing);
576  _cTimingCut_HBHEPartition.fill(did, timing);
578 
579  // ONLINE
580  if (_ptype == fOnline) {
581  if (rawid != 0) {
583  }
584  _cTimingCut_depth.fill(did, timing);
585  // ^^^ONLINE
586  } else {
587  if (_ptype != fOffline) { // hidefed2crate
588  if (rawid != 0) {
590  }
591  }
592  _cTimingCut_depth.fill(did, timing);
593  }
595  if (_ptype != fOffline) { // hidefed2crate
596  if (rawid != 0) {
597  if (eid.isVMEid()) {
598  // ONLINE
599  if (_ptype == fOnline) {
600  _cTimingCut_FEDVME.fill(eid, timing);
602  } // ^^^ ONLINE
603  else {
604  _cTimingCut_FEDVME.fill(eid, timing);
606  }
607  // ^^^ONLINE
608 
611  } else if (eid.isUTCAid()) {
612  if (_ptype == fOnline) {
613  // time constraints are explicit!
614  _cTimingCut_FEDuTCA.fill(eid, timing);
616  } else {
617  _cTimingCut_FEDuTCA.fill(eid, timing);
619  }
622  }
623  }
624  }
625  did.subdet() == HcalBarrel ? nChsHBCut++ : nChsHECut++;
626  }
627  did.subdet() == HcalBarrel ? nChsHB++ : nChsHE++;
628  }
629 
630  if (rawidHBValid != 0 && rawidHEValid != 0) {
631  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHB);
632  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHE);
633 
634  // ONLINE ONLY!
635  if (_ptype == fOnline) {
636  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHBValid), bx, nChsHBCut);
637  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHEValid), bx, nChsHECut);
638  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHBValid), _currentLS, nChsHBCut);
639  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidHEValid), _currentLS, nChsHECut);
640  }
641  // ^^^ONLINE ONLY!
642  }
643 
644  // reset
645  rawidValid = 0;
646 
647  int nChsHO = 0;
648  int nChsHOCut = 0;
649  double ehop = 0;
650  double ehom = 0;
651  for (HORecHitCollection::const_iterator it = cho->begin(); it != cho->end(); ++it) {
652  double energy = it->energy();
653  double timing = it->time();
654 
655  // Explicit check on the DetIds present in the Collection
656  HcalDetId did = it->id();
657  uint32_t rawid = _ehashmap.lookup(did);
658  if (rawid == 0) {
659  meUnknownIds1LS->Fill(1);
660  _unknownIdsPresent = true;
661  continue;
662  }
663  HcalElectronicsId const& eid(rawid);
664  if (did.subdet() == HcalOuter)
665  rawidValid = did.rawId();
666 
667  _cEnergy_Subdet.fill(did, energy);
668  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
669  _cOccupancy_depth.fill(did);
670  did.ieta() > 0 ? ehop += energy : ehom += energy;
671 
672  // IMPORTANT: ONLINE ONLY!
673  if (_ptype == fOnline) {
676  }
677  // ONLINE ONLY!
678 
679  if (_ptype != fOffline) { // hidefed2crate
680  if (eid.isVMEid()) {
683  } else {
686  }
687  }
688 
689  if (energy > _cutE_HO) {
690  // ONLINE ONLY!
691  if (_ptype == fOnline) {
692  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
693  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
694  _cEnergyvsieta_Subdet.fill(did, energy);
695  _cEnergyvsiphi_SubdetPM.fill(did, energy);
696  _cTimingCutvsieta_Subdet.fill(did, timing);
697  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
698  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
702  }
703  // ^^^ONLINE ONLY!
704 
705  _cEnergy_depth.fill(did, energy);
706  _cTimingCut_SubdetPM.fill(did, timing);
708  if (_ptype != fOffline) { // hidefed2crate
710  }
712  _cTimingCut_depth.fill(did, timing);
713  if (_ptype != fOffline) { // hidefed2crate
714  if (eid.isVMEid()) {
715  _cTimingCut_FEDVME.fill(eid, timing);
719  } else {
720  _cTimingCut_FEDuTCA.fill(eid, timing);
724  }
725  }
726  nChsHOCut++;
727  }
728  nChsHO++;
729  }
730 
731  if (rawidValid != 0) {
732  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHO);
733  // ONLINE ONLY!
734  if (_ptype == fOnline) {
735  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHOCut);
736  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHOCut);
737  }
738  // ^^^ONLINE ONLY!
739  }
740 
741  //reset
742  rawidValid = 0;
743 
744  int nChsHF = 0;
745  int nChsHFCut = 0;
746  double ehfp = 0;
747  double ehfm = 0;
748  for (HFRecHitCollection::const_iterator it = chf->begin(); it != chf->end(); ++it) {
749  double energy = it->energy();
750  double timing = it->time();
751 
752  // Explicit check on the DetIds present in the Collection
753  HcalDetId did = it->id();
754  uint32_t rawid = _ehashmap.lookup(did);
755  if (rawid == 0) {
756  meUnknownIds1LS->Fill(1);
757  _unknownIdsPresent = true;
758  continue;
759  }
760  HcalElectronicsId const& eid(rawid);
761  if (did.subdet() == HcalForward)
762  rawidValid = did.rawId();
763 
764  _cEnergy_Subdet.fill(did, energy);
765  _cTimingvsEnergy_SubdetPM.fill(did, energy, timing);
766  _cOccupancy_depth.fill(did);
767  did.ieta() > 0 ? ehfp += energy : ehfm += energy;
768 
769  // IMPORTANT:
770  // only for Online Processing
771  //
772  if (_ptype == fOnline) {
775  }
776  // ONLINE ONLY!
777 
778  if (_ptype != fOffline) { // hidefed2crate
779  if (eid.isVMEid()) {
782  } else {
785  }
786  }
787 
788  if (energy > _cutE_HF) {
789  // ONLINE ONLY!
790  if (_ptype == fOnline) {
791  _cEnergyvsLS_SubdetPM.fill(did, _currentLS, energy);
792  _cEnergyvsBX_SubdetPM.fill(did, bx, energy);
793  _cEnergyvsieta_Subdet.fill(did, energy);
794  _cEnergyvsiphi_SubdetPM.fill(did, energy);
795  _cTimingCutvsieta_Subdet.fill(did, timing);
796  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
797  _cTimingCutvsBX_SubdetPM.fill(did, bx, timing);
801  if (_ptype != fOffline) { // hidefed2crate
802  _xUniHF.get(eid)++;
803  }
804  }
805  // ^^^ONLINE ONLY!
806  _cEnergy_depth.fill(did, energy);
807  _cTimingCut_SubdetPM.fill(did, timing);
809  if (_ptype != fOffline) { // hidefed2crate
811  }
813  _cTimingCut_depth.fill(did, timing);
814  if (_ptype != fOffline) { // hidefed2crate
815  if (eid.isVMEid()) {
816  _cTimingCut_FEDVME.fill(eid, timing);
820  } else {
821  _cTimingCut_FEDuTCA.fill(eid, timing);
825  }
826  }
827  nChsHFCut++;
828  }
829  nChsHF++;
830  }
831 
832  if (rawidValid != 0) {
833  _cOccupancyvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHF);
834  // ONLINE ONLY!
835  if (_ptype == fOnline) {
836  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx, nChsHFCut);
837  _cOccupancyCutvsLS_Subdet.fill(HcalDetId(rawidValid), _currentLS, nChsHFCut);
838  }
839  // ^^^ONLINE ONLY!
840  }
841 
842  // Loop over HFPreRecHits to get charge and charge asymmetry
844  for (HFPreRecHitCollection::const_iterator it = cprehf->begin(); it != cprehf->end(); ++it) {
845  HcalDetId did = it->id();
846  if (_filter_HF.filter(did)) {
847  continue;
848  }
849  std::pair<float, bool> chargeAsymmetry = it->chargeAsymmetry(0.);
850  std::pair<float, bool> chargeAsymmetryCut = it->chargeAsymmetry(20.);
851 
852  if (chargeAsymmetry.second) {
853  _cDAAsymmetryVsCharge_SubdetPM.fill(did, chargeAsymmetry.first, it->charge());
854  }
855  if (chargeAsymmetryCut.second) {
856  _cDAAsymmetryMean_cut_depth.fill(did, chargeAsymmetryCut.first);
857  _cDAAsymmetry_cut_SubdetPM.fill(did, chargeAsymmetryCut.first);
858  }
859  }
860  }
861 }
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:115
hcaldqm::Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:110
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: RecHitTask.h:100
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
Definition: RecHitTask.h:44
hcaldqm::ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:73
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
Definition: RecHitTask.h:78
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: RecHitTask.h:105
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: RecHitTask.h:96
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:146
double _cutE_HO
Definition: RecHitTask.h:49
void fill(HcalDetId const &) override
edm::EDGetTokenT< HFRecHitCollection > _tokHF
Definition: RecHitTask.h:46
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: RecHitTask.h:111
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
Definition: RecHitTask.h:71
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
Definition: RecHitTask.h:72
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: RecHitTask.h:114
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
std::vector< T >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:81
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: RecHitTask.h:90
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
Definition: RecHitTask.h:75
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: RecHitTask.h:107
void Fill(long long x)
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: RecHitTask.h:86
double _cutE_HBHE
Definition: RecHitTask.h:49
ProcessingType _ptype
Definition: DQModule.h:43
virtual void fill(uint32_t)
Definition: Container1D.cc:73
hcaldqm::Container1D _cEnergy_Subdet
Definition: RecHitTask.h:70
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: RecHitTask.h:88
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: RecHitTask.h:83
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: RecHitTask.h:89
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: RecHitTask.h:108
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: RecHitTask.h:113
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
edm::InputTag _tagPreHF
Definition: RecHitTask.h:42
int ieta() const
get the cell ieta
Definition: HcalDetId.h:159
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: RecHitTask.h:98
double _cutE_HF
Definition: RecHitTask.h:49
Logger _logger
Definition: DQModule.h:54
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:106
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:60
MonitorElement * meUnknownIds1LS
Definition: RecHitTask.h:123
edm::EDGetTokenT< HFPreRecHitCollection > _tokPreHF
Definition: RecHitTask.h:47
const_iterator end() const
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:99
edm::InputTag _tagHO
Definition: RecHitTask.h:40
hcaldqm::filter::HashFilter _filter_HF
Definition: RecHitTask.h:67
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:97
edm::InputTag _tagHF
Definition: RecHitTask.h:41
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
Definition: RecHitTask.h:118
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::Container1D _cTimingCut_HBHEPartition
Definition: RecHitTask.h:82
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: RecHitTask.h:109
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: RecHitTask.h:102
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:43
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
Definition: RecHitTask.h:92
edm::EDGetTokenT< HORecHitCollection > _tokHO
Definition: RecHitTask.h:45
edm::InputTag _tagHBHE
Definition: RecHitTask.h:39
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: RecHitTask.h:84
hcaldqm::Container2D _cOccupancy_depth
Definition: RecHitTask.h:95
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
Definition: RecHitTask.h:119
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: RecHitTask.h:91
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:87
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: RecHitTask.h:85
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: RecHitTask.h:112
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: RecHitTask.h:101
const_iterator begin() const
bool _unknownIdsPresent
Definition: RecHitTask.h:124
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
Definition: RecHitTask.h:120
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:74
void RecHitTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 462 of file RecHitTask.cc.

References _unknownIdsPresent, and hcaldqm::f1LS.

Referenced by ~RecHitTask().

462  {
463  switch (uf) {
464  case hcaldqm::f1LS:
465  _unknownIdsPresent = false;
466  break;
467  default:
468  break;
469  }
470 
471  DQTask::_resetMonitors(uf);
472 }
bool _unknownIdsPresent
Definition: RecHitTask.h:124
void RecHitTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 863 of file RecHitTask.cc.

Referenced by ~RecHitTask().

863  {
864  DQTask::beginLuminosityBlock(lb, es);
865 }
void RecHitTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
override

Definition at line 32 of file RecHitTask.cc.

References _cDAAsymmetry_cut_SubdetPM, _cDAAsymmetryMean_cut_depth, _cDAAsymmetryVsCharge_SubdetPM, _cEnergy_depth, _cEnergy_Subdet, _cEnergyvsBX_SubdetPM, _cEnergyvsieta_Subdet, _cEnergyvsiphi_SubdetPM, _cEnergyvsLS_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyCutvsBX_Subdet, _cOccupancyCutvsieta_Subdet, _cOccupancyCutvsiphi_SubdetPM, _cOccupancyCutvsiphivsLS_SubdetPM, _cOccupancyCutvsLS_Subdet, _cOccupancyvsieta_Subdet, _cOccupancyvsiphi_SubdetPM, _cOccupancyvsLS_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_HBHEPartition, _cTimingCut_SubdetPM, _cTimingCutvsBX_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, _cTimingvsEnergy_SubdetPM, _cutE_HBHE, _cutE_HF, _cutE_HO, _ehashmap, hcaldqm::DQTask::_emap, _filter_HF, _filter_uTCA, _filter_VME, _gids, _hfPreRecHitsAvailable, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _unknownIdsPresent, _vflags, _vhashFEDs, _xUni, _xUniHF, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), DQMStore::IBooker::book1D(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fBX, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::quantity::fDualAnodeAsymmetry, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::fEnergy, hcaldqm::quantity::fEnergy_1TeV, hcaldqm::hashfunctions::fFED, hcaldqm::hashfunctions::fFEDSlot, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::quantity::fFiberVMEFiberCh, hcaldqm::filter::fFilter, hcaldqm::hashfunctions::fHBHEPartition, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fQIE10fC_400000, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::quantity::fTiming_ns, edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), HcalDbService::getHcalMapping(), hcaldqm::hashfunctions::hash_did, HcalForward, hcaldqm::ContainerProf1D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), meUnknownIds1LS, HcalElectronicsId::rawId(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~RecHitTask().

32  {
33  DQTask::bookHistograms(ib, r, es);
34 
35  // GET WHAT YOU NEED
37  es.get<HcalDbRecord>().get(dbs);
38  _emap = dbs->getHcalMapping();
39 
40  std::vector<uint32_t> vVME;
41  std::vector<uint32_t> vuTCA;
42  vVME.push_back(
44  vuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
47  std::vector<uint32_t> vhashHF;
48  vhashHF.push_back(
50 
52 
53  // INITIALIZE FIRST
54  // Energy
56  "Energy",
60  0);
62  "Energy",
67  0);
68 
69  // Timing
71  "TimingCut",
75  0);
77  "TimingvsEnergy",
82  0);
83 
85  "TimingCut",
89  0);
91  "TimingCut",
96  0);
98  "TimingCutvsLS",
102  0);
103 
104  // Occupancy
106  "Occupancy",
111  0);
112 
114  "OccupancyvsLS",
118  0);
119 
121  "OccupancyCut",
126  0);
127 
130  _name,
131  "ChargeVsAsymmetry",
136  0);
138  "AsymmetryMean",
143  0);
145  "Asymmetry",
149  0);
150  }
151 
152  // INITIALIZE HISTOGRAMS to be used only in Online
153  if (_ptype == fOnline) {
155  "Energyvsieta",
159  0);
161  "Energyvsiphi",
165  0);
167  "EnergyvsLS",
171  0);
173  "EnergyvsBX",
177  0);
179  "TimingCutvsieta",
183  0);
185  "TimingCutvsiphi",
189  0);
191  "TimingCutvsBX",
195  0);
197  "Occupancyvsiphi",
201  0);
203  "Occupancyvsieta",
207  0);
209  "OccupancyCutvsiphi",
213  0);
215  "OccupancyCutvsieta",
219  0);
221  "OccupancyCutvsBX",
225  0);
227  "OccupancyCutvsiphivsLS",
232  0);
234  "OccupancyCutvsLS",
238  0);
239  }
240 
241  // FED-based plots
242  if (_ptype != fOffline) { // hidefed2crate
243  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
244  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
245  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
246 
247  // push the rawIds of each fed into the vector
248  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
250  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
251  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
252  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
253  }
254 
256  "TimingCut",
261  0);
263  "TimingCut",
268  0);
270  "TimingCutvsLS",
274  0);
276  "TimingCut",
278  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
281  0);
283  "TimingCut",
285  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
288  0);
289 
291  "Occupancy",
296  0);
298  "Occupancy",
303  0);
305  "Occupancy",
307  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
310  0);
312  "Occupancy",
314  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
317  0);
318 
320  "OccupancyCut",
325  0);
327  "OccupancyCut",
332  0);
334  "OccupancyCut",
336  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
339  0);
341  "OccupancyCut",
343  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
346  0);
347  if (_ptype == fOnline) {
349  "SummaryvsLS",
354  0);
356  "SummaryvsLS",
360  0);
361 
364  }
365  }
366 
367  // BOOK HISTOGRAMS
368  char cutstr[200];
369  sprintf(cutstr, "_EHBHE%dHO%dHF%d", int(_cutE_HBHE), int(_cutE_HO), int(_cutE_HF));
370  char cutstr2[200];
371  sprintf(cutstr2, "_EHF%d", int(_cutE_HF));
372 
373  // Energy
376 
377  // Timing
380  if (_ptype != fOffline) { // hidefed2crate
385  }
389  if (_ptype != fOffline) { // hidefed2crate
391  }
392 
393  // Occupancy
395  if (_ptype != fOffline) { // hidefed2crate
400  }
403  if (_ptype != fOffline) { // hidefed2crate
408  }
409 
414  }
415 
416  // BOOK HISTOGRAMS to be used only in Online
417  if (_ptype == fOnline) {
434 
435  std::vector<uint32_t> vhashFEDHF;
436  vhashFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
437  vhashFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
438  vhashFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
439  vhashFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
440  vhashFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
441  vhashFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN + 6, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
442  HashFilter filter_FEDHF;
444 
446  if (_ptype != fOffline) { // hidefed2crate
447  _xUniHF.book(_emap, filter_FEDHF);
448  _xUni.book(_emap);
449  }
450  }
451 
452  // initialize hash map
454 
455  // book some mes...
456  ib.setCurrentFolder(_subsystem + "/" + _name);
457  meUnknownIds1LS = ib.book1D("UnknownIds", "UnknownIds", 1, 0, 1);
458  _unknownIdsPresent = false;
460 }
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:115
constexpr uint32_t rawId() const
hcaldqm::Container2D _cOccupancyCut_depth
Definition: RecHitTask.h:110
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RecHitTask.h:127
std::vector< uint32_t > _vhashFEDs
Definition: RecHitTask.h:53
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: RecHitTask.h:100
hcaldqm::ContainerProf2D _cEnergy_depth
Definition: RecHitTask.h:73
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::Container2D _cTimingvsEnergy_SubdetPM
Definition: RecHitTask.h:78
int const CRATE_VME_MIN
Definition: Constants.h:83
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: RecHitTask.h:105
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: RecHitTask.h:96
double _cutE_HO
Definition: RecHitTask.h:49
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: RecHitTask.h:115
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: RecHitTask.h:111
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
Definition: RecHitTask.h:71
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
Definition: RecHitTask.h:72
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: RecHitTask.h:114
std::vector< HcalGenericDetId > _gids
Definition: RecHitTask.h:126
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: RecHitTask.h:81
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:108
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: RecHitTask.h:90
int const FIBER_VME_MIN
Definition: Constants.h:113
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
Definition: RecHitTask.h:75
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: RecHitTask.h:107
int const FIBERCH_MIN
Definition: Constants.h:122
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:101
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: RecHitTask.h:86
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:56
double _cutE_HBHE
Definition: RecHitTask.h:49
ProcessingType _ptype
Definition: DQModule.h:43
hcaldqm::Container1D _cEnergy_Subdet
Definition: RecHitTask.h:70
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: RecHitTask.h:88
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: RecHitTask.h:83
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: RecHitTask.h:89
void setLumiFlag()
this ME is meant to be stored for each luminosity section
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: RecHitTask.h:108
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: RecHitTask.h:113
int const FED_VME_MIN
Definition: Constants.h:70
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: RecHitTask.h:98
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
int const FIBER_uTCA_MIN1
Definition: Constants.h:116
double _cutE_HF
Definition: RecHitTask.h:49
hash_function_did const hash_did[nHashType_did]
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: RecHitTask.h:106
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: RecHitTask.h:60
MonitorElement * meUnknownIds1LS
Definition: RecHitTask.h:123
std::string _name
Definition: DQModule.h:41
HcalElectronicsMap const * _emap
Definition: DQTask.h:59
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RecHitTask.h:128
int const CRATE_uTCA_MIN
Definition: Constants.h:88
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: RecHitTask.h:99
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:592
hcaldqm::filter::HashFilter _filter_HF
Definition: RecHitTask.h:67
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
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: RecHitTask.h:97
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::Container2D _cDAAsymmetryVsCharge_SubdetPM
Definition: RecHitTask.h:118
hcaldqm::Container1D _cTimingCut_HBHEPartition
Definition: RecHitTask.h:82
hcaldqm::filter::HashFilter _filter_uTCA
Definition: RecHitTask.h:64
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: RecHitTask.h:109
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: RecHitTask.h:102
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:83
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:121
const HcalElectronicsMap * getHcalMapping() const
bool _hfPreRecHitsAvailable
Definition: RecHitTask.h:43
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
std::string _subsystem
Definition: DQModule.h:48
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
Definition: RecHitTask.h:92
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: RecHitTask.h:84
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:558
hcaldqm::Container2D _cOccupancy_depth
Definition: RecHitTask.h:95
hcaldqm::ContainerProf2D _cDAAsymmetryMean_cut_depth
Definition: RecHitTask.h:119
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: RecHitTask.h:91
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: RecHitTask.h:87
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: RecHitTask.h:85
hcaldqm::filter::HashFilter _filter_VME
Definition: RecHitTask.h:63
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: RecHitTask.h:112
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: RecHitTask.h:101
int const SLOT_uTCA_MIN
Definition: Constants.h:95
bool _unknownIdsPresent
Definition: RecHitTask.h:124
hcaldqm::Container1D _cDAAsymmetry_cut_SubdetPM
Definition: RecHitTask.h:120
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
Definition: RecHitTask.h:74
void RecHitTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 867 of file RecHitTask.cc.

References _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_runkeyVal, hcaldqm::flag::Flag::_state, _thresh_unihf, _unknownIdsPresent, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xUni, _xUniHF, hcaldqm::ContainerXXX< STDTYPE >::begin(), DEFINE_FWK_MODULE, runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::end(), hcaldqm::flag::fBAD, hcaldqm::flag::fGOOD, spr::find(), hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::flag::fPROBLEMATIC, fUni, fUnknownIds, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::utilities::isFEDHF(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), globals_cff::x1, and globals_cff::x2.

Referenced by ~RecHitTask().

867  {
868  if (_ptype != fOnline)
869  return;
870 
871  //
872  // GENERATE STATUS ONLY FOR ONLINE
873  //
874  // for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
875  // it!=gids.end(); ++it)
876  // {}
877 
878  for (uintCompactMap::const_iterator it = _xUniHF.begin(); it != _xUniHF.end(); ++it) {
879  uint32_t hash1 = it->first;
880  HcalElectronicsId eid1(hash1);
881  double x1 = it->second;
882 
883  for (uintCompactMap::const_iterator jt = _xUniHF.begin(); jt != _xUniHF.end(); ++jt) {
884  if (jt == it)
885  continue;
886  double x2 = jt->second;
887  if (x2 == 0)
888  continue;
889  if (x1 / x2 < _thresh_unihf)
890  _xUni.get(eid1)++;
891  }
892  }
893 
894  if (_ptype != fOffline) { // hidefed2crate
895  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
896  flag::Flag fSum("RECO");
898 
899  std::vector<uint32_t>::const_iterator cit = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), *it);
900  if (cit == _vcdaqEids.end()) {
901  // not @cDAQ
902  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
903  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(flag::fNCDAQ));
905  continue;
906  }
907 
908  // FED is @cDAQ
909  if (hcaldqm::utilities::isFEDHF(eid) && (_runkeyVal == 0 || _runkeyVal == 4)) {
910  if (_xUni.get(eid) > 0)
911  _vflags[fUni]._state = flag::fPROBLEMATIC;
912  else
913  _vflags[fUni]._state = flag::fGOOD;
914  }
915 
916  if (_unknownIdsPresent)
917  _vflags[fUnknownIds]._state = flag::fBAD;
918  else
919  _vflags[fUnknownIds]._state = flag::fGOOD;
920 
921  int iflag = 0;
922  for (std::vector<flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
923  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag), int(ft->_state));
924  fSum += (*ft);
925  iflag++;
926 
927  // reset after using
928  ft->reset();
929  }
930  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
931  }
932  _xUniHF.reset();
933  _xUni.reset();
934  }
935 
936  // in the end always do the DQTask::endLumi
937  DQTask::endLuminosityBlock(lb, es);
938 }
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: RecHitTask.h:115
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: RecHitTask.h:127
std::vector< uint32_t > _vhashFEDs
Definition: RecHitTask.h:53
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: RecHitTask.h:115
virtual CompactMap::const_iterator begin()
Definition: ContainerXXX.h:69
virtual void reset()
Definition: ContainerXXX.h:292
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
virtual CompactMap::const_iterator end()
Definition: ContainerXXX.h:70
std::vector< hcaldqm::flag::Flag > _vflags
Definition: RecHitTask.h:56
ProcessingType _ptype
Definition: DQModule.h:43
virtual void setBinContent(int, int, int)
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: RecHitTask.h:128
double _thresh_unihf
Definition: RecHitTask.h:50
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:51
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:156
bool _unknownIdsPresent
Definition: RecHitTask.h:124

Member Data Documentation

hcaldqm::Container1D RecHitTask::_cDAAsymmetry_cut_SubdetPM
protected

Definition at line 120 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cDAAsymmetryMean_cut_depth
protected

Definition at line 119 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cDAAsymmetryVsCharge_SubdetPM
protected

Definition at line 118 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cEnergy_depth
protected

Definition at line 73 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cEnergy_Subdet
protected

Definition at line 70 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsBX_SubdetPM
protected

Definition at line 75 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsieta_Subdet
protected

Definition at line 71 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsiphi_SubdetPM
protected

Definition at line 72 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsLS_SubdetPM
protected

Definition at line 74 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_depth
protected

Definition at line 95 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsuTCA
protected

Definition at line 99 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsVME
protected

Definition at line 98 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDuTCA
protected

Definition at line 97 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDVME
protected

Definition at line 96 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_depth
protected

Definition at line 110 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 108 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsVME
protected

Definition at line 107 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDuTCA
protected

Definition at line 106 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDVME
protected

Definition at line 105 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsBX_Subdet
protected

Definition at line 113 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsieta_Subdet
protected

Definition at line 112 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 111 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 114 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsLS_Subdet
protected

Definition at line 109 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyvsieta_Subdet
protected

Definition at line 102 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 101 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyvsLS_Subdet
protected

Definition at line 100 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D RecHitTask::_cSummaryvsLS
protected

Definition at line 128 of file RecHitTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::Container2D RecHitTask::_cSummaryvsLS_FED
protected

Definition at line 127 of file RecHitTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_depth
protected

Definition at line 87 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsuTCA
protected

Definition at line 86 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsVME
protected

Definition at line 85 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDuTCA
protected

Definition at line 84 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDVME
protected

Definition at line 83 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cTimingCut_HBHEPartition
protected

Definition at line 82 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D RecHitTask::_cTimingCut_SubdetPM
protected

Definition at line 81 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsBX_SubdetPM
protected

Definition at line 92 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsieta_Subdet
protected

Definition at line 90 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 91 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_FED
protected

Definition at line 88 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_SubdetPM
protected

Definition at line 89 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D RecHitTask::_cTimingvsEnergy_SubdetPM
protected

Definition at line 78 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

double RecHitTask::_cutE_HBHE
protected

Definition at line 49 of file RecHitTask.h.

Referenced by _process(), bookHistograms(), and RecHitTask().

double RecHitTask::_cutE_HF
protected

Definition at line 49 of file RecHitTask.h.

Referenced by _process(), bookHistograms(), and RecHitTask().

double RecHitTask::_cutE_HO
protected

Definition at line 49 of file RecHitTask.h.

Referenced by _process(), bookHistograms(), and RecHitTask().

hcaldqm::electronicsmap::ElectronicsMap RecHitTask::_ehashmap
protected

Definition at line 60 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsuTCA
protected

Definition at line 66 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsVME
protected

Definition at line 65 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_HF
protected

Definition at line 67 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter RecHitTask::_filter_uTCA
protected

Definition at line 64 of file RecHitTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter RecHitTask::_filter_VME
protected

Definition at line 63 of file RecHitTask.h.

Referenced by bookHistograms().

std::vector<HcalGenericDetId> RecHitTask::_gids
protected

Definition at line 126 of file RecHitTask.h.

Referenced by bookHistograms().

bool RecHitTask::_hfPreRecHitsAvailable
protected

Definition at line 43 of file RecHitTask.h.

Referenced by _process(), bookHistograms(), and RecHitTask().

edm::InputTag RecHitTask::_tagHBHE
protected

Definition at line 39 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagHF
protected

Definition at line 41 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagHO
protected

Definition at line 40 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::InputTag RecHitTask::_tagPreHF
protected

Definition at line 42 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

double RecHitTask::_thresh_unihf
protected

Definition at line 50 of file RecHitTask.h.

Referenced by endLuminosityBlock(), and RecHitTask().

edm::EDGetTokenT<HBHERecHitCollection> RecHitTask::_tokHBHE
protected

Definition at line 44 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::EDGetTokenT<HFRecHitCollection> RecHitTask::_tokHF
protected

Definition at line 46 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::EDGetTokenT<HORecHitCollection> RecHitTask::_tokHO
protected

Definition at line 45 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

edm::EDGetTokenT<HFPreRecHitCollection> RecHitTask::_tokPreHF
protected

Definition at line 47 of file RecHitTask.h.

Referenced by _process(), and RecHitTask().

bool RecHitTask::_unknownIdsPresent
protected

Definition at line 124 of file RecHitTask.h.

Referenced by _process(), _resetMonitors(), bookHistograms(), and endLuminosityBlock().

std::vector<hcaldqm::flag::Flag> RecHitTask::_vflags
protected

Definition at line 56 of file RecHitTask.h.

Referenced by bookHistograms(), endLuminosityBlock(), and RecHitTask().

std::vector<uint32_t> RecHitTask::_vhashFEDs
protected

Definition at line 53 of file RecHitTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RecHitTask::_xUni
protected

Definition at line 115 of file RecHitTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> RecHitTask::_xUniHF
protected

Definition at line 115 of file RecHitTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

MonitorElement* RecHitTask::meUnknownIds1LS
protected

Definition at line 123 of file RecHitTask.h.

Referenced by _process(), and bookHistograms().