CMS 3D CMS Logo

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

#include <PedestalTask.h>

Inheritance diagram for PedestalTask:
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
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
 PedestalTask (edm::ParameterSet const &)
 
 ~PedestalTask () 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  PedestalFlag { fMsn = 0, fBadM = 1, fBadR = 2, nPedestalFlag = 3 }
 

Protected Member Functions

virtual void _dump ()
 
bool _isApplicable (edm::Event const &) override
 
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 &)
 

Protected Attributes

hcaldqm::Container1D _cADC_SubdetPM
 
hcaldqm::ContainerProf2D _cMean1LS_depth
 
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
 
hcaldqm::Container1D _cMean1LS_Subdet
 
hcaldqm::Container2D _cMeanBad1LS_depth
 
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
 
hcaldqm::Container2D _cMeanBad1LS_FEDVME
 
hcaldqm::Container2D _cMeanBadTotal_depth
 
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
 
hcaldqm::Container2D _cMeanBadTotal_FEDVME
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
 
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
 
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
 
hcaldqm::ContainerProf2D _cMeanTotal_depth
 
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
 
hcaldqm::Container1D _cMeanTotal_Subdet
 
hcaldqm::Container2D _cMissing1LS_depth
 
hcaldqm::Container2D _cMissing1LS_FEDuTCA
 
hcaldqm::Container2D _cMissing1LS_FEDVME
 
hcaldqm::Container2D _cMissingTotal_depth
 
hcaldqm::Container2D _cMissingTotal_FEDuTCA
 
hcaldqm::Container2D _cMissingTotal_FEDVME
 
hcaldqm::Container1D _cMissingvsLS_Subdet
 
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
 
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
 
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
 
hcaldqm::Container1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerProf2D _cRMS1LS_depth
 
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
 
hcaldqm::Container1D _cRMS1LS_Subdet
 
hcaldqm::Container2D _cRMSBad1LS_depth
 
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
 
hcaldqm::Container2D _cRMSBad1LS_FEDVME
 
hcaldqm::Container2D _cRMSBadTotal_depth
 
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
 
hcaldqm::Container2D _cRMSBadTotal_FEDVME
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
 
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
 
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
 
hcaldqm::ContainerProf2D _cRMSTotal_depth
 
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
 
hcaldqm::Container1D _cRMSTotal_Subdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_C38
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
edm::InputTag _tagHO
 
edm::InputTag _tagQIE10
 
edm::InputTag _tagQIE11
 
edm::InputTag _tagTrigger
 
edm::InputTag _taguMN
 
double _thresh_badm
 
double _thresh_badr
 
double _thresh_mean
 
double _thresh_missing_high
 
double _thresh_missing_low
 
double _thresh_rms
 
edm::EDGetTokenT< HODigiCollection_tokHO
 
edm::EDGetTokenT< QIE10DigiCollection_tokQIE10
 
edm::EDGetTokenT< QIE11DigiCollection_tokQIE11
 
edm::EDGetTokenT< HcalTBTriggerData_tokTrigger
 
edm::EDGetTokenT< HcalUMNioDigi_tokuMN
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< int > _xNBadMean1LS
 
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
 
hcaldqm::ContainerXXX< int > _xNChs
 
hcaldqm::ContainerXXX< int > _xNMsn1LS
 
hcaldqm::ContainerXXX< int > _xPedEntries1LS
 
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
 
hcaldqm::ContainerXXX< double > _xPedRefMean
 
hcaldqm::ContainerXXX< double > _xPedRefRMS
 
hcaldqm::ContainerXXX< double > _xPedSum1LS
 
hcaldqm::ContainerXXX< double > _xPedSum21LS
 
hcaldqm::ContainerXXX< double > _xPedSum2Total
 
hcaldqm::ContainerXXX< double > _xPedSumTotal
 
- 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

Definition at line 21 of file PedestalTask.h.

Member Enumeration Documentation

Enumerator
fMsn 
fBadM 
fBadR 
nPedestalFlag 

Definition at line 51 of file PedestalTask.h.

Constructor & Destructor Documentation

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

Definition at line 6 of file PedestalTask.cc.

References _tagHO, _tagQIE10, _tagQIE11, _tagTrigger, _taguMN, _thresh_badm, _thresh_badr, _thresh_mean, _thresh_missing_high, _thresh_missing_low, _thresh_rms, _tokHO, _tokQIE10, _tokQIE11, _tokTrigger, _tokuMN, _vflags, fBadM, nanoDQM_cff::Flag, fMsn, and edm::ParameterSet::getUntrackedParameter().

6  : DQTask(ps) {
7  // tags
8  _tagQIE11 = ps.getUntrackedParameter<edm::InputTag>("tagHE", edm::InputTag("hcalDigis"));
9  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO", edm::InputTag("hcalDigis"));
10  _tagQIE10 = ps.getUntrackedParameter<edm::InputTag>("tagHF", edm::InputTag("hcalDigis"));
11  _tagTrigger = ps.getUntrackedParameter<edm::InputTag>("tagTrigger", edm::InputTag("tbunpacker"));
12  _taguMN = ps.getUntrackedParameter<edm::InputTag>("taguMN", edm::InputTag("hcalDigis"));
13  _tokQIE11 = consumes<QIE11DigiCollection>(_tagQIE11);
14  _tokHO = consumes<HODigiCollection>(_tagHO);
15  _tokQIE10 = consumes<QIE10DigiCollection>(_tagQIE10);
16  _tokTrigger = consumes<HcalTBTriggerData>(_tagTrigger);
17  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
18 
19  _vflags.resize(2);
22  //_vflags[fBadR]=hcaldqm::flag::Flag("BadR");
23 
24  _thresh_mean = ps.getUntrackedParameter<double>("thresh_mean", 0.25);
25  _thresh_rms = ps.getUntrackedParameter<double>("thresh_mean", 0.25);
26  _thresh_badm = ps.getUntrackedParameter<double>("thresh_badm", 0.1);
27  _thresh_badr = ps.getUntrackedParameter<double>("thresh_badr", 0.1);
28  _thresh_missing_high = ps.getUntrackedParameter<double>("thresh_missing_high", 0.2);
29  _thresh_missing_low = ps.getUntrackedParameter<double>("thresh_missing_low", 0.05);
30 }
edm::InputTag _tagQIE11
Definition: PedestalTask.h:39
edm::InputTag _taguMN
Definition: PedestalTask.h:43
double _thresh_badm
Definition: PedestalTask.h:60
double _thresh_badr
Definition: PedestalTask.h:60
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:5
edm::InputTag _tagHO
Definition: PedestalTask.h:40
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: PedestalTask.h:47
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: PedestalTask.h:48
double _thresh_missing_low
Definition: PedestalTask.h:61
edm::InputTag _tagQIE10
Definition: PedestalTask.h:41
double _thresh_missing_high
Definition: PedestalTask.h:61
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: PedestalTask.h:45
std::vector< hcaldqm::flag::Flag > _vflags
Definition: PedestalTask.h:50
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: PedestalTask.h:44
edm::InputTag _tagTrigger
Definition: PedestalTask.h:42
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: PedestalTask.h:46
double _thresh_mean
Definition: PedestalTask.h:60
double _thresh_rms
Definition: PedestalTask.h:60
PedestalTask::~PedestalTask ( )
inlineoverride

Member Function Documentation

void PedestalTask::_dump ( )
protectedvirtual

Definition at line 616 of file PedestalTask.cc.

References _cMean1LS_depth, _cMean1LS_FEDuTCA, _cMean1LS_FEDVME, _cMean1LS_Subdet, _cMeanBad1LS_depth, _cMeanBad1LS_FEDuTCA, _cMeanBad1LS_FEDVME, _cMeanBadTotal_depth, _cMeanBadTotal_FEDuTCA, _cMeanBadTotal_FEDVME, _cMeanDBRef1LS_depth, _cMeanDBRef1LS_FEDuTCA, _cMeanDBRef1LS_FEDVME, _cMeanDBRef1LS_Subdet, _cMeanDBRefTotal_depth, _cMeanDBRefTotal_FEDuTCA, _cMeanDBRefTotal_FEDVME, _cMeanDBRefTotal_Subdet, _cMeanTotal_depth, _cMeanTotal_FEDuTCA, _cMeanTotal_FEDVME, _cMeanTotal_Subdet, _cMissing1LS_depth, _cMissing1LS_FEDuTCA, _cMissing1LS_FEDVME, _cMissingTotal_depth, _cMissingTotal_FEDuTCA, _cMissingTotal_FEDVME, _cMissingvsLS_Subdet, _cNBadMeanvsLS_Subdet, _cNBadRMSvsLS_Subdet, _cOccupancyvsLS_Subdet, _cRMS1LS_depth, _cRMS1LS_FEDuTCA, _cRMS1LS_FEDVME, _cRMS1LS_Subdet, _cRMSBad1LS_depth, _cRMSBad1LS_FEDuTCA, _cRMSBad1LS_FEDVME, _cRMSBadTotal_depth, _cRMSBadTotal_FEDuTCA, _cRMSBadTotal_FEDVME, _cRMSDBRef1LS_depth, _cRMSDBRef1LS_FEDuTCA, _cRMSDBRef1LS_FEDVME, _cRMSDBRef1LS_Subdet, _cRMSDBRefTotal_depth, _cRMSDBRefTotal_FEDuTCA, _cRMSDBRefTotal_FEDVME, _cRMSDBRefTotal_Subdet, _cRMSTotal_depth, _cRMSTotal_FEDuTCA, _cRMSTotal_FEDVME, _cRMSTotal_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, _ehashmap, hcaldqm::DQTask::_emap, _filter_C38, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, _thresh_badm, _thresh_mean, _thresh_missing_high, _thresh_missing_low, _thresh_rms, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xNBadMean1LS, _xNBadRMS1LS, _xNChs, _xNMsn1LS, _xPedEntries1LS, _xPedEntriesTotal, _xPedRefMean, _xPedRefRMS, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, hcaldqm::DQTask::_xQuality, HcalElectronicsMap::allPrecisionId(), fwrapper::cs, runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::flag::fBAD, fBadM, hcaldqm::flag::fGOOD, hcaldqm::Container2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), hcaldqm::filter::HashFilter::filter(), spr::find(), fMsn, hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, hcaldqm::flag::fPROBLEMATIC, hcaldqm::ContainerXXX< STDTYPE >::get(), HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, hcaldqm::utilities::isFEDHBHE(), hcaldqm::utilities::isFEDHF(), hcaldqm::utilities::isFEDHO(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::Container1D::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), and mathSSE::sqrt().

Referenced by endLuminosityBlock(), endRun(), and ~PedestalTask().

616  {
617  // reset what's needed
618 
619  // Mean/RMS actual values
624  if (_ptype != fOffline) { // hidefed2crate
629  }
630 
635  if (_ptype != fOffline) { // hidefed2crate
640  }
641 
642  // DB Conditions Comparison
647 
652 
653  if (_ptype != fOffline) { // hidefed2crate
658 
663  }
664 
665  // missing channels
669 
673 
674  // Missing or Bad
675  if (_ptype != fOffline) { // hidefed2crate
682 
689 
690  // reset some XXX containers
691  _xNChs.reset();
692  _xNMsn1LS.reset();
695  }
696  // - ITERATE OVER ALL TEH CHANNELS
697  // - FIND THE ONES THAT ARE MISSING
698  // - FIND THE ONES WITH BAD PEDESTAL MEANs
699  // - FIND THE ONES WITH BAD PEDESTAL RMSs
700  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
701  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
702  if (!it->isHcalDetId())
703  continue;
705  if (_filter_C38.filter(eid))
706  continue;
707 
708  // filter out channels with bad quality
709  if (_xQuality.exists(HcalDetId(*it))) {
710  HcalChannelStatus cs(it->rawId(), _xQuality.get(HcalDetId(*it)));
712  continue;
713  }
714 
715  HcalDetId did = HcalDetId(it->rawId());
716  double sum1LS = _xPedSum1LS.get(did);
717 #ifndef HIDE_PEDESTAL_CONDITIONS
718  double refm = _xPedRefMean.get(did);
719 #endif
720  double sum21LS = _xPedSum21LS.get(did);
721 #ifndef HIDE_PEDESTAL_CONDITIONS
722  double refr = _xPedRefRMS.get(did);
723 #endif
724  double n1LS = _xPedEntries1LS.get(did);
725 
726  double sumTotal = _xPedSumTotal.get(did);
727  double sum2Total = _xPedSum2Total.get(did);
728  double nTotal = _xPedEntriesTotal.get(did);
729 
730  if (_ptype != fOffline) { // hidefed2crate
731  _xNChs.get(eid)++;
732  }
733  // IF A CHANNEL IS MISSING FOR THIS LS
734  if (n1LS == 0) {
737  if (_ptype != fOffline) { // hidefed2crate
739  _xNMsn1LS.get(eid)++;
740  }
741  // ALSO CHECK
742  // IF A CHANNEL HAS BEEN MISSING FOR ALL LSs SO FAR
743  if (nTotal == 0) {
745  if (_ptype != fOffline) { // hidefed2crate
747  }
748  }
749  continue;
750  }
751 
752  // if not missing, fill the occupancy...
754 
755  // compute the means and diffs for this LS
756  sum1LS /= n1LS;
757  double rms1LS = sqrt(sum21LS / n1LS - sum1LS * sum1LS);
758 #ifndef HIDE_PEDESTAL_CONDITIONS
759  double diffm1LS = sum1LS - refm;
760  double diffr1LS = rms1LS - refr;
761 #endif
762  // compute the means and diffs for the whole Run
763  sumTotal /= nTotal;
764  double rmsTotal = sqrt(sum2Total / nTotal - sumTotal * sumTotal);
765 #ifndef HIDE_PEDESTAL_CONDITIONS
766  double diffmTotal = sumTotal - refm;
767  double diffrTotal = rmsTotal - refr;
768 #endif
769  // FILL ACTUAL MEANs AND RMSs FOR THIS LS
770  _cMean1LS_Subdet.fill(did, sum1LS);
771  _cMean1LS_depth.fill(did, sum1LS);
772  _cRMS1LS_Subdet.fill(did, rms1LS);
773  _cRMS1LS_depth.fill(did, rms1LS);
774 
775  // FILL THE DIFFERENCES FOR THIS LS
776 #ifndef HIDE_PEDESTAL_CONDITIONS
777  _cMeanDBRef1LS_Subdet.fill(did, diffm1LS);
778  _cMeanDBRef1LS_depth.fill(did, diffm1LS);
779  _cRMSDBRef1LS_Subdet.fill(did, diffr1LS);
780  _cRMSDBRef1LS_depth.fill(did, diffr1LS);
781 #endif
782  // FILL ACTUAL MEANs AND RMSs FOR THE WHOLE RUN
783  _cMeanTotal_Subdet.fill(did, sumTotal);
784  _cMeanTotal_depth.fill(did, sumTotal);
785  _cRMSTotal_Subdet.fill(did, rmsTotal);
786  _cRMSTotal_depth.fill(did, rmsTotal);
787 
788  // FILL THE DIFFERENCES FOR THE WHOLE RUN
789 #ifndef HIDE_PEDESTAL_CONDITIONS
790  _cMeanDBRefTotal_Subdet.fill(did, diffmTotal);
791  _cMeanDBRefTotal_depth.fill(did, diffmTotal);
792  _cRMSDBRefTotal_Subdet.fill(did, diffrTotal);
793  _cRMSDBRefTotal_depth.fill(did, diffrTotal);
794 #endif
795  // FOR THIS LS
796  if (_ptype != fOffline) { // hidefed2crate
797  if (eid.isVMEid()) {
798  _cMean1LS_FEDVME.fill(eid, sum1LS);
799  _cRMS1LS_FEDVME.fill(eid, rms1LS);
800  _cMeanDBRef1LS_FEDVME.fill(eid, diffm1LS);
801  _cRMSDBRef1LS_FEDVME.fill(eid, diffr1LS);
802  } else {
803  _cMean1LS_FEDuTCA.fill(eid, sum1LS);
804  _cRMS1LS_FEDuTCA.fill(eid, rms1LS);
805  _cMeanDBRef1LS_FEDuTCA.fill(eid, diffm1LS);
806  _cRMSDBRef1LS_FEDuTCA.fill(eid, diffr1LS);
807  }
808 
809  // FOR THE WHOLE RUN
810  if (eid.isVMEid()) {
811  _cMeanTotal_FEDVME.fill(eid, sumTotal);
812  _cRMSTotal_FEDVME.fill(eid, rmsTotal);
813  _cMeanDBRefTotal_FEDVME.fill(eid, diffmTotal);
814  _cRMSDBRefTotal_FEDVME.fill(eid, diffrTotal);
815  } else {
816  _cMeanTotal_FEDuTCA.fill(eid, sumTotal);
817  _cRMSTotal_FEDuTCA.fill(eid, rmsTotal);
818  _cMeanDBRefTotal_FEDuTCA.fill(eid, diffmTotal);
819  _cRMSDBRefTotal_FEDuTCA.fill(eid, diffrTotal);
820  }
821  }
822 
823  // FOR THE CURRENT LS COMPARE MEANS AND RMSS
824 #ifndef HIDE_PEDESTAL_CONDITIONS
825  if (fabs(diffm1LS) > _thresh_mean) {
828  if (_ptype != fOffline) { // hidefed2crate
829  if (eid.isVMEid())
831  else
833  _xNBadMean1LS.get(eid)++;
834  }
835  }
836  if (fabs(diffr1LS) > _thresh_rms) {
837  _cRMSBad1LS_depth.fill(did);
839  if (_ptype != fOffline) { // hidefed2crate
840  if (eid.isVMEid())
842  else
844  _xNBadRMS1LS.get(eid)++;
845  }
846  }
847 
848  // FOR THIS RUN
849  if (fabs(diffmTotal) > _thresh_mean) {
851  if (_ptype != fOffline) { // hidefed2crate
852  if (eid.isVMEid())
854  else
856  }
857  }
858  if (fabs(diffrTotal) > _thresh_rms) {
860  if (_ptype != fOffline) { // hidefed2crate
861  if (eid.isVMEid())
863  else
865  }
866  }
867 #endif
868  }
869 
870  // SET THE FLAGS FOR THIS LS
871  if (_ptype != fOffline) { // hidefed2crate
872  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
873  hcaldqm::flag::Flag fSum("PED");
875 
876  std::vector<uint32_t>::const_iterator jt = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), (*it));
877  if (jt == _vcdaqEids.end()) {
878  // not @cDAQ
879  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
882  continue;
883  }
884 
885  // @cDAQ
887  double frmissing = double(_xNMsn1LS.get(eid)) / double(_xNChs.get(eid));
888  double frbadm = _xNBadMean1LS.get(eid) / _xNChs.get(eid);
889  //double frbadr = _xNBadRMS1LS.get(eid)/_xNChs.get(eid);
890 
891  if (frmissing >= _thresh_missing_high)
892  _vflags[fMsn]._state = hcaldqm::flag::fBAD;
893  else if (frmissing >= _thresh_missing_low)
895  else
897  if (frbadm >= _thresh_badm)
899  else
901  // BadR removed May 9, 2018 - the pedestal RMS isn't stable enough to monitor right now.
902  //if (frbadr>=_thresh_badr)
903  // _vflags[fBadR]._state = hcaldqm::flag::fBAD;
904  //else
905  // _vflags[fBadR]._state = hcaldqm::flag::fGOOD;
906  }
907 
908  int iflag = 0;
909  for (std::vector<hcaldqm::flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
910  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, iflag, int(ft->_state));
911  fSum += (*ft);
912  iflag++;
913  ft->reset();
914  }
915  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
916  }
917  }
918 
919  // reset the pedestal containers instead of writting reset... func
920  _xPedSum1LS.reset();
923 }
hcaldqm::ContainerXXX< double > _xPedRefRMS
Definition: PedestalTask.h:79
hcaldqm::Container2D _cMissing1LS_depth
Definition: PedestalTask.h:131
double _thresh_badm
Definition: PedestalTask.h:60
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
Definition: PedestalTask.h:99
hcaldqm::ContainerXXX< double > _xPedSumTotal
Definition: PedestalTask.h:70
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:212
hcaldqm::Container2D _cMissingTotal_depth
Definition: PedestalTask.h:134
hcaldqm::Container1D _cMeanTotal_Subdet
Definition: PedestalTask.h:82
void fill(HcalDetId const &) override
hcaldqm::ContainerProf2D _cMean1LS_depth
Definition: PedestalTask.h:88
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
Definition: PedestalTask.h:109
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
Definition: PedestalTask.h:103
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
Definition: PedestalTask.h:108
hcaldqm::Container1D _cMean1LS_Subdet
Definition: PedestalTask.h:84
hcaldqm::ContainerXXX< int > _xPedEntries1LS
Definition: PedestalTask.h:69
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
Definition: PedestalTask.h:144
hcaldqm::Container1D _cRMSTotal_Subdet
Definition: PedestalTask.h:83
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
Definition: PedestalTask.h:125
unique_ptr< ClusterSequence > cs
hcaldqm::Container2D _cRMSBadTotal_depth
Definition: PedestalTask.h:147
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
Definition: PedestalTask.h:118
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
Definition: PedestalTask.h:112
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
Definition: PedestalTask.h:116
hcaldqm::ContainerProf2D _cRMSTotal_depth
Definition: PedestalTask.h:96
hcaldqm::ContainerXXX< double > _xPedSum1LS
Definition: PedestalTask.h:67
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
Definition: PedestalTask.h:72
hcaldqm::ContainerXXX< double > _xPedSum21LS
Definition: PedestalTask.h:68
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
Definition: PedestalTask.h:151
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
Definition: PedestalTask.h:97
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
Definition: PedestalTask.h:149
hcaldqm::Container2D _cRMSBad1LS_depth
Definition: PedestalTask.h:140
virtual void reset()
Definition: ContainerXXX.h:292
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
Definition: PedestalTask.h:115
std::vector< uint32_t > _vhashFEDs
Definition: PedestalTask.h:64
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
Definition: PedestalTask.h:104
hcaldqm::Container1D _cMissingvsLS_Subdet
Definition: PedestalTask.h:122
hcaldqm::Container2D _cRMSBadTotal_FEDVME
Definition: PedestalTask.h:150
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
Definition: PedestalTask.h:90
hcaldqm::Container2D _cRMSBad1LS_FEDVME
Definition: PedestalTask.h:143
double _thresh_missing_low
Definition: PedestalTask.h:61
hcaldqm::Container1D _cRMS1LS_Subdet
Definition: PedestalTask.h:85
hcaldqm::Container1D _cOccupancyvsLS_Subdet
Definition: PedestalTask.h:123
ProcessingType _ptype
Definition: DQModule.h:43
virtual void fill(uint32_t)
Definition: Container1D.cc:73
virtual void reset()
Definition: Container1D.cc:60
double _thresh_missing_high
Definition: PedestalTask.h:61
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
Definition: PedestalTask.h:91
std::vector< hcaldqm::flag::Flag > _vflags
Definition: PedestalTask.h:50
virtual void setBinContent(int, int, int)
hcaldqm::ContainerXXX< int > _xNChs
Definition: PedestalTask.h:73
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:48
T sqrt(T t)
Definition: SSEVec.h:18
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
Definition: PedestalTask.h:93
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
Definition: PedestalTask.h:106
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
Definition: PedestalTask.h:92
hcaldqm::Container2D _cMeanBadTotal_depth
Definition: PedestalTask.h:146
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cMissing1LS_FEDuTCA
Definition: PedestalTask.h:133
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
Definition: PedestalTask.h:110
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: PedestalTask.h:54
HcalElectronicsMap const * _emap
Definition: DQTask.h:59
hcaldqm::Container2D _cMeanBad1LS_depth
Definition: PedestalTask.h:139
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
Definition: PedestalTask.h:117
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: PedestalTask.h:157
hcaldqm::ContainerProf2D _cRMS1LS_depth
Definition: PedestalTask.h:89
hcaldqm::Container2D _cMissing1LS_FEDVME
Definition: PedestalTask.h:132
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
Definition: PedestalTask.h:142
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
Definition: PedestalTask.h:124
hcaldqm::filter::HashFilter _filter_C38
Definition: PedestalTask.h:57
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:142
hcaldqm::ContainerProf2D _cMeanTotal_depth
Definition: PedestalTask.h:95
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
Definition: PedestalTask.h:114
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
Definition: PedestalTask.h:107
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
Definition: PedestalTask.h:100
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
Definition: PedestalTask.h:105
hcaldqm::ContainerXXX< double > _xPedSum2Total
Definition: PedestalTask.h:71
double _thresh_mean
Definition: PedestalTask.h:60
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
hcaldqm::ContainerXXX< int > _xNMsn1LS
Definition: PedestalTask.h:74
hcaldqm::Container2D _cMeanBadTotal_FEDVME
Definition: PedestalTask.h:148
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
Definition: PedestalTask.h:75
hcaldqm::ContainerXXX< double > _xPedRefMean
Definition: PedestalTask.h:78
hcaldqm::Container2D _cMissingTotal_FEDuTCA
Definition: PedestalTask.h:136
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
Definition: PedestalTask.h:119
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:180
hcaldqm::Container2D _cMissingTotal_FEDVME
Definition: PedestalTask.h:135
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:51
hcaldqm::ContainerXXX< int > _xNBadMean1LS
Definition: PedestalTask.h:75
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
Definition: PedestalTask.h:98
hcaldqm::Container2D _cMeanBad1LS_FEDVME
Definition: PedestalTask.h:141
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
Definition: PedestalTask.h:111
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:156
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: PedestalTask.h:156
double _thresh_rms
Definition: PedestalTask.h:60
bool PedestalTask::_isApplicable ( edm::Event const &  e)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 1030 of file PedestalTask.cc.

References hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagTrigger, _tokTrigger, _tokuMN, DEFINE_FWK_MODULE, Logger::dqmthrow(), HcalUMNioDigi::eventType(), hcaldqm::constants::EVENTTYPE_PEDESTAL, hcaldqm::fOnline, edm::Event::getByToken(), edm::InputTag::instance(), edm::InputTag::label(), and HcalTBTriggerData::wasSpillIgnorantPedestalTrigger().

Referenced by ~PedestalTask().

1030  {
1031  if (_ptype == fOnline) {
1033  if (!e.getByToken(_tokuMN, cumn))
1034  return false;
1035 
1036  // for online just check the event type not the user Word
1037  uint8_t eventType = cumn->eventType();
1038  if (eventType == constants::EVENTTYPE_PEDESTAL)
1039  return true;
1040  } else {
1041  // local
1043  if (!e.getByToken(_tokTrigger, ctrigger))
1044  _logger.dqmthrow("Collection HcalTBTriggerData isn't available" + _tagTrigger.label() + " " +
1045  _tagTrigger.instance());
1046  return ctrigger->wasSpillIgnorantPedestalTrigger();
1047  }
1048 
1049  return false;
1050 }
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: PedestalTask.h:48
ProcessingType _ptype
Definition: DQModule.h:43
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: PedestalTask.h:44
uint8_t eventType() const
Logger _logger
Definition: DQModule.h:54
edm::InputTag _tagTrigger
Definition: PedestalTask.h:42
std::string const & label() const
Definition: InputTag.h:36
uint8_t const EVENTTYPE_PEDESTAL
Definition: Constants.h:287
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
std::string const & instance() const
Definition: InputTag.h:37
void PedestalTask::_process ( edm::Event const &  e,
edm::EventSetup const &  es 
)
overrideprotectedvirtual

Implements hcaldqm::DQTask.

Definition at line 947 of file PedestalTask.cc.

References _cADC_SubdetPM, _cOccupancyEAvsLS_Subdet, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_logger, _tagHO, _tagQIE10, _tagQIE11, _tokHO, _tokQIE10, _tokQIE11, _xPedEntries1LS, _xPedEntriesTotal, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, ecalMGPA::adc(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), hcaldqm::constants::CAPS_NUM, QIE11DataFrame::detid(), QIE10DataFrame::detid(), Logger::dqmthrow(), edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), hcaldqm::Container1D::fill(), hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, HODataFrame::id(), edm::InputTag::instance(), edm::InputTag::label(), QIE11DataFrame::samples(), QIE10DataFrame::samples(), HODataFrame::size(), and HcalDetId::subdet().

Referenced by ~PedestalTask().

947  {
951 
952  if (!e.getByToken(_tokHO, c_ho))
953  _logger.dqmthrow("Collection HODigiCollection isn't available" + _tagHO.label() + " " + _tagHO.instance());
954  if (!e.getByToken(_tokQIE10, c_QIE10))
955  _logger.dqmthrow("Collection QIE10DigiCollection isn't available" + _tagQIE10.label() + " " + _tagQIE10.instance());
956  if (!e.getByToken(_tokQIE11, c_QIE11))
957  _logger.dqmthrow("Collection QIE11DigiCollection isn't available" + _tagQIE11.label() + " " + _tagQIE11.instance());
958 
959  int nHB(0), nHE(0), nHO(0), nHF(0);
960  for (QIE11DigiCollection::const_iterator it = c_QIE11->begin(); it != c_QIE11->end(); ++it) {
961  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
962  HcalDetId const& did = digi.detid();
963  // Require barrel or endcap. As of 2017, some calibration channels are ending up in this collection.
964  if ((did.subdet() != HcalEndcap) && (did.subdet() != HcalBarrel)) {
965  continue;
966  }
967  int digiSizeToUse = floor(digi.samples() / constants::CAPS_NUM) * constants::CAPS_NUM - 1;
968  did.subdet() == HcalBarrel ? nHB++ : nHE++;
969 
970  for (int i = 0; i < digiSizeToUse; i++) {
971  _cADC_SubdetPM.fill(did, digi[i].adc());
972 
973  _xPedSum1LS.get(did) += digi[i].adc();
974  _xPedSum21LS.get(did) += digi[i].adc() * digi[i].adc();
975  _xPedEntries1LS.get(did)++;
976 
977  _xPedSumTotal.get(did) += digi[i].adc();
978  _xPedSum2Total.get(did) += digi[i].adc() * digi[i].adc();
979  _xPedEntriesTotal.get(did)++;
980  }
981  }
982 
985 
986  for (HODigiCollection::const_iterator it = c_ho->begin(); it != c_ho->end(); ++it) {
987  const HODataFrame digi = (const HODataFrame)(*it);
988  HcalDetId did = digi.id();
989  int digiSizeToUse = floor(digi.size() / constants::CAPS_NUM) * constants::CAPS_NUM - 1;
990  nHO++;
991  for (int i = 0; i < digiSizeToUse; i++) {
992  _cADC_SubdetPM.fill(did, it->sample(i).adc());
993 
994  _xPedSum1LS.get(did) += it->sample(i).adc();
995  _xPedSum21LS.get(did) += it->sample(i).adc() * it->sample(i).adc();
996  _xPedEntries1LS.get(did)++;
997 
998  _xPedSumTotal.get(did) += it->sample(i).adc();
999  _xPedSum2Total.get(did) += it->sample(i).adc() * it->sample(i).adc();
1000  _xPedEntriesTotal.get(did)++;
1001  }
1002  }
1004 
1005  for (QIE10DigiCollection::const_iterator it = c_QIE10->begin(); it != c_QIE10->end(); ++it) {
1006  const QIE10DataFrame digi = static_cast<const QIE10DataFrame>(*it);
1007  HcalDetId did = digi.detid();
1008  if (did.subdet() != HcalForward) {
1009  continue;
1010  }
1011  // HF has 3 samples in global, so impossible to make divisible by 4
1012  int digiSizeToUse =
1013  (digi.samples() >= 4 ? floor(digi.samples() / constants::CAPS_NUM) * constants::CAPS_NUM - 1 : digi.samples());
1014  nHF++;
1015  for (int i = 0; i < digiSizeToUse; i++) {
1016  _cADC_SubdetPM.fill(did, digi[i].adc());
1017 
1018  _xPedSum1LS.get(did) += digi[i].adc();
1019  _xPedSum21LS.get(did) += digi[i].adc() * digi[i].adc();
1020  _xPedEntries1LS.get(did)++;
1021 
1022  _xPedSumTotal.get(did) += digi[i].adc();
1023  _xPedSum2Total.get(did) += digi[i].adc() * digi[i].adc();
1024  _xPedEntriesTotal.get(did)++;
1025  }
1026  }
1028 }
int samples() const
total number of samples in the digi
edm::InputTag _tagQIE11
Definition: PedestalTask.h:39
DetId detid() const
Get the detector id.
hcaldqm::ContainerXXX< double > _xPedSumTotal
Definition: PedestalTask.h:70
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:146
hcaldqm::ContainerXXX< int > _xPedEntries1LS
Definition: PedestalTask.h:69
HcalDetId const & id() const
Definition: HODataFrame.h:27
std::vector< T >::const_iterator const_iterator
edm::InputTag _tagHO
Definition: PedestalTask.h:40
hcaldqm::ContainerXXX< double > _xPedSum1LS
Definition: PedestalTask.h:67
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
Definition: PedestalTask.h:72
hcaldqm::ContainerXXX< double > _xPedSum21LS
Definition: PedestalTask.h:68
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: PedestalTask.h:47
const_iterator begin() const
edm::InputTag _tagQIE10
Definition: PedestalTask.h:41
virtual void fill(uint32_t)
Definition: Container1D.cc:73
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: PedestalTask.h:45
int const CAPS_NUM
Definition: Constants.h:202
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
int size() const
total number of samples in the digi
Definition: HODataFrame.h:31
hcaldqm::Container1D _cADC_SubdetPM
Definition: PedestalTask.h:153
DetId detid() const
Get the detector id.
Logger _logger
Definition: DQModule.h:54
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
Definition: PedestalTask.h:128
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
const_iterator end() const
std::string const & label() const
Definition: InputTag.h:36
const_iterator end() const
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: PedestalTask.h:46
hcaldqm::ContainerXXX< double > _xPedSum2Total
Definition: PedestalTask.h:71
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
int samples() const
total number of samples in the digi
std::string const & instance() const
Definition: InputTag.h:37
const_iterator begin() const
void PedestalTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 604 of file PedestalTask.cc.

References _cADC_SubdetPM, hcaldqm::f50LS, and hcaldqm::Container1D::reset().

Referenced by ~PedestalTask().

604  {
605  DQTask::_resetMonitors(uf);
606 
607  switch (uf) {
608  case hcaldqm::f50LS:
610  break;
611  default:
612  break;
613  }
614 }
virtual void reset()
Definition: Container1D.cc:60
hcaldqm::Container1D _cADC_SubdetPM
Definition: PedestalTask.h:153
void PedestalTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 925 of file PedestalTask.cc.

Referenced by ~PedestalTask().

925  {
926  DQTask::beginLuminosityBlock(lb, es);
927 }
void PedestalTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
override

Definition at line 32 of file PedestalTask.cc.

References _cADC_SubdetPM, _cMean1LS_depth, _cMean1LS_FEDuTCA, _cMean1LS_FEDVME, _cMean1LS_Subdet, _cMeanBad1LS_depth, _cMeanBad1LS_FEDuTCA, _cMeanBad1LS_FEDVME, _cMeanBadTotal_depth, _cMeanBadTotal_FEDuTCA, _cMeanBadTotal_FEDVME, _cMeanDBRef1LS_depth, _cMeanDBRef1LS_FEDuTCA, _cMeanDBRef1LS_FEDVME, _cMeanDBRef1LS_Subdet, _cMeanDBRefTotal_depth, _cMeanDBRefTotal_FEDuTCA, _cMeanDBRefTotal_FEDVME, _cMeanDBRefTotal_Subdet, _cMeanTotal_depth, _cMeanTotal_FEDuTCA, _cMeanTotal_FEDVME, _cMeanTotal_Subdet, _cMissing1LS_depth, _cMissing1LS_FEDuTCA, _cMissing1LS_FEDVME, _cMissingTotal_depth, _cMissingTotal_FEDuTCA, _cMissingTotal_FEDVME, _cMissingvsLS_Subdet, _cNBadMeanvsLS_Subdet, _cNBadRMSvsLS_Subdet, _cOccupancyEAvsLS_Subdet, _cOccupancyvsLS_Subdet, _cRMS1LS_depth, _cRMS1LS_FEDuTCA, _cRMS1LS_FEDVME, _cRMS1LS_Subdet, _cRMSBad1LS_depth, _cRMSBad1LS_FEDuTCA, _cRMSBad1LS_FEDVME, _cRMSBadTotal_depth, _cRMSBadTotal_FEDuTCA, _cRMSBadTotal_FEDVME, _cRMSDBRef1LS_depth, _cRMSDBRef1LS_FEDuTCA, _cRMSDBRef1LS_FEDVME, _cRMSDBRef1LS_Subdet, _cRMSDBRefTotal_depth, _cRMSDBRefTotal_FEDuTCA, _cRMSDBRefTotal_FEDVME, _cRMSDBRefTotal_Subdet, _cRMSTotal_depth, _cRMSTotal_FEDuTCA, _cRMSTotal_FEDVME, _cRMSTotal_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, _ehashmap, hcaldqm::DQTask::_emap, _filter_C38, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _vflags, _vhashFEDs, _xNBadMean1LS, _xNBadRMS1LS, _xNChs, _xNMsn1LS, _xPedEntries1LS, _xPedEntriesTotal, _xPedRefMean, _xPedRefRMS, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fADC_15, hcaldqm::quantity::fADC_256, hcaldqm::quantity::fADC_5, hcaldqm::quantity::fAroundZero, hcaldqm::hashfunctions::fCrate, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fDChannel, hcaldqm::hashfunctions::fdepth, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::hashfunctions::fFED, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::quantity::fFiberVMEFiberCh, hcaldqm::filter::fFilter, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::filter::HashFilter::filter(), hcaldqm::quantity::fiphi, hcaldqm::fLocal, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), HcalDbService::getHcalMapping(), HcalDbService::getPedestal(), HcalPedestal::getValues(), mps_fire::i, 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(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), HcalElectronicsId::rawId(), edm::RunAuxiliary::run(), edm::Run::runAuxiliary(), hcaldqm::ContainerXXX< STDTYPE >::set(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~PedestalTask().

32  {
33  if (_ptype == fLocal)
34  if (r.runAuxiliary().run() == 1)
35  return;
36  DQTask::bookHistograms(ib, r, es);
37 
39  es.get<HcalDbRecord>().get(dbs);
40  _emap = dbs->getHcalMapping();
41  std::vector<uint32_t> vhashVME;
42  std::vector<uint32_t> vhashuTCA;
43  std::vector<uint32_t> vhashC38;
44  vhashVME.push_back(
46  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
47  vhashC38.push_back(HcalElectronicsId(38, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
51 
52  // Containers XXX
59 
60 #ifndef HIDE_PEDESTAL_CONDITIONS
63 #endif
64 
65  // Containers
67  "Mean1LS",
71  0);
73  "RMS1LS",
77  0);
79  "Mean1LS",
84  0);
86  "RMS1LS",
91  0);
92  if (_ptype != fOffline) { // hidefed2crate
94  "Mean1LS",
99  0);
101  "Mean1LS",
106  0);
108  "RMS1LS",
113  0);
115  "RMS1LS",
120  0);
121  }
122 
124  "Mean",
128  0);
130  "RMS",
134  0);
136  "Mean",
141  0);
143  "RMS",
148  0);
149 
151  "MeanDBRef1LS",
155  0);
157  "RMSDBRef1LS",
161  0);
163  "MeanDBRef1LS",
168  0);
170  "RMSDBRef1LS",
175  0);
176 
178  "MeanDBRef",
182  0);
184  "RMSDBRef",
188  0);
190  "MeanDBRef",
195  0);
197  "RMSDBRef",
202  0);
203 
205  "MissingvsLS",
209  0);
211  "OccupancyvsLS",
215  0);
217  "OccupancyEAvsLS",
221  0);
223  "NBadMeanvsLS",
227  0);
229  "NBadRMSvsLS",
233  0);
234 
236  "Missing1LS",
241  0);
243  "MeanBad1LS",
248  0);
250  "RMSBad1LS",
255  0);
256 
258  "Missing",
263  0);
265  "MeanBad",
270  0);
272  "RMSBad",
277  0);
278 
280  "ADC",
284  0);
285 
286  if (_ptype != fOffline) { // hidefed2crate
287  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
288  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
289  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
290  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
291  _vhashFEDs.push_back(
293  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
294  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
295  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
296  }
302  "Mean",
307  0);
309  "Mean",
314  0);
316  "RMS",
321  0);
323  "RMS",
328  0);
330  "MeanDBRef1LS",
335  0);
337  "MeanDBRef1LS",
342  0);
344  "RMSDBRef1LS",
349  0);
351  "RMSDBRef1LS",
356  0);
358  "MeanDBRef",
363  0);
365  _name,
366  "MeanDBRef",
371  0);
373  "RMSDBRef",
378  0);
380  "RMSDBRef",
385  0);
387  "Missing1LS",
392  0);
394  "Missing1LS",
399  0);
401  "MeanBad1LS",
406  0);
408  "MeanBad1LS",
413  0);
415  "RMSBad1LS",
420  0);
422  "RMSBad1LS",
427  0);
429  "Missing",
434  0);
436  "Missing",
441  0);
443  "MeanBad",
448  0);
450  "MeanBad",
455  0);
457  "RMSBad",
462  0);
464  "RMSBad",
469  0);
471  "SummaryvsLS",
476  0);
478  "SummaryvsLS",
482  0);
483  }
484 
485  // book plots
498 
510 
511  if (_ptype != fOffline) { // hidefed2crate
526 
541  }
542 
548  if (_ptype != fOffline) { // hidefed2crate
551  }
552 
553  // book compact containers
560 
561 #ifndef HIDE_PEDESTAL_CONDITIONS
564 #endif
565 
566  if (_ptype != fOffline) { // hidefed2crate
567  _xNChs.book(_emap);
571  }
572 
574 
575  // load conditions pedestals
576  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
577  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
578  // skip if calib or whatever
579  if (!it->isHcalDetId())
580  continue;
581  // skip Crate 38
583  continue;
584 #ifndef HIDE_PEDESTAL_CONDITIONS
585  HcalDetId did = HcalDetId(it->rawId());
586 
587  HcalPedestal const* peds = dbs->getPedestal(did);
588  float const* means = peds->getValues();
589  float const* rmss = peds->getWidths();
590  double msum = 0;
591  double rsum = 0;
592  for (uint32_t i = 0; i < 4; i++) {
593  msum += means[i];
594  rsum += rmss[i];
595  }
596  msum /= 4;
597  rsum /= 4;
598  _xPedRefMean.set(did, msum);
599  _xPedRefRMS.set(did, rsum);
600 #endif
601  }
602 }
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
constexpr uint32_t rawId() const
hcaldqm::ContainerXXX< double > _xPedRefRMS
Definition: PedestalTask.h:79
hcaldqm::Container2D _cMissing1LS_depth
Definition: PedestalTask.h:131
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
Definition: PedestalTask.h:99
hcaldqm::ContainerXXX< double > _xPedSumTotal
Definition: PedestalTask.h:70
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
int const CRATE_VME_MIN
Definition: Constants.h:91
hcaldqm::Container2D _cMissingTotal_depth
Definition: PedestalTask.h:134
hcaldqm::Container1D _cMeanTotal_Subdet
Definition: PedestalTask.h:82
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
hcaldqm::ContainerProf2D _cMean1LS_depth
Definition: PedestalTask.h:88
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
Definition: PedestalTask.h:109
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
Definition: PedestalTask.h:103
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
Definition: PedestalTask.h:108
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cMean1LS_Subdet
Definition: PedestalTask.h:84
hcaldqm::ContainerXXX< int > _xPedEntries1LS
Definition: PedestalTask.h:69
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
Definition: PedestalTask.h:144
hcaldqm::Container1D _cRMSTotal_Subdet
Definition: PedestalTask.h:83
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
Definition: PedestalTask.h:125
hcaldqm::Container2D _cRMSBadTotal_depth
Definition: PedestalTask.h:147
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
Definition: PedestalTask.h:118
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
Definition: PedestalTask.h:112
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
Definition: PedestalTask.h:116
hcaldqm::ContainerProf2D _cRMSTotal_depth
Definition: PedestalTask.h:96
hcaldqm::ContainerXXX< double > _xPedSum1LS
Definition: PedestalTask.h:67
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
Definition: PedestalTask.h:72
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:116
hcaldqm::ContainerXXX< double > _xPedSum21LS
Definition: PedestalTask.h:68
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
Definition: PedestalTask.h:151
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
Definition: PedestalTask.h:97
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
Definition: PedestalTask.h:149
hcaldqm::Container2D _cRMSBad1LS_depth
Definition: PedestalTask.h:140
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
Definition: PedestalTask.h:115
std::vector< uint32_t > _vhashFEDs
Definition: PedestalTask.h:64
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
Definition: PedestalTask.h:104
int const FIBER_VME_MIN
Definition: Constants.h:121
hcaldqm::Container1D _cMissingvsLS_Subdet
Definition: PedestalTask.h:122
hcaldqm::Container2D _cRMSBadTotal_FEDVME
Definition: PedestalTask.h:150
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
Definition: PedestalTask.h:90
hcaldqm::Container2D _cRMSBad1LS_FEDVME
Definition: PedestalTask.h:143
int const FIBERCH_MIN
Definition: Constants.h:130
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:101
hcaldqm::Container1D _cRMS1LS_Subdet
Definition: PedestalTask.h:85
hcaldqm::Container1D _cOccupancyvsLS_Subdet
Definition: PedestalTask.h:123
ProcessingType _ptype
Definition: DQModule.h:43
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
Definition: PedestalTask.h:91
std::vector< hcaldqm::flag::Flag > _vflags
Definition: PedestalTask.h:50
hcaldqm::ContainerXXX< int > _xNChs
Definition: PedestalTask.h:73
int const FED_VME_MIN
Definition: Constants.h:78
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
Definition: PedestalTask.h:93
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
Definition: PedestalTask.h:106
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
Definition: PedestalTask.h:92
hcaldqm::Container2D _cMeanBadTotal_depth
Definition: PedestalTask.h:146
int const FIBER_uTCA_MIN1
Definition: Constants.h:124
hcaldqm::Container1D _cADC_SubdetPM
Definition: PedestalTask.h:153
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cMissing1LS_FEDuTCA
Definition: PedestalTask.h:133
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
Definition: PedestalTask.h:128
hcaldqm::filter::HashFilter _filter_VME
Definition: PedestalTask.h:56
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
Definition: PedestalTask.h:110
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: PedestalTask.h:54
std::string _name
Definition: DQModule.h:41
HcalElectronicsMap const * _emap
Definition: DQTask.h:59
int const CRATE_uTCA_MIN
Definition: Constants.h:96
hcaldqm::Container2D _cMeanBad1LS_depth
Definition: PedestalTask.h:139
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
Definition: PedestalTask.h:117
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: PedestalTask.h:157
hcaldqm::ContainerProf2D _cRMS1LS_depth
Definition: PedestalTask.h:89
hcaldqm::Container2D _cMissing1LS_FEDVME
Definition: PedestalTask.h:132
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
Definition: PedestalTask.h:142
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
Definition: PedestalTask.h:124
hcaldqm::filter::HashFilter _filter_C38
Definition: PedestalTask.h:57
hcaldqm::ContainerProf2D _cMeanTotal_depth
Definition: PedestalTask.h:95
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
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::ContainerProf2D _cMeanDBRefTotal_depth
Definition: PedestalTask.h:114
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
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
Definition: PedestalTask.h:107
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
Definition: PedestalTask.h:100
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::Container1D _cMeanDBRefTotal_Subdet
Definition: PedestalTask.h:105
hcaldqm::ContainerXXX< double > _xPedSum2Total
Definition: PedestalTask.h:71
hcaldqm::ContainerXXX< int > _xNMsn1LS
Definition: PedestalTask.h:74
hcaldqm::Container2D _cMeanBadTotal_FEDVME
Definition: PedestalTask.h:148
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
Definition: PedestalTask.h:75
hcaldqm::Container2D _cMissingTotal_FEDuTCA
Definition: PedestalTask.h:136
hcaldqm::ContainerXXX< double > _xPedRefMean
Definition: PedestalTask.h:78
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:83
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:121
const HcalElectronicsMap * getHcalMapping() const
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
Definition: PedestalTask.h:119
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
std::string _subsystem
Definition: DQModule.h:48
const float * getValues() const
get value for all capId = 0..3
Definition: HcalPedestal.h:19
hcaldqm::Container2D _cMissingTotal_FEDVME
Definition: PedestalTask.h:135
hcaldqm::ContainerXXX< int > _xNBadMean1LS
Definition: PedestalTask.h:75
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::ContainerProf2D _cMeanTotal_FEDuTCA
Definition: PedestalTask.h:98
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
hcaldqm::Container2D _cMeanBad1LS_FEDVME
Definition: PedestalTask.h:141
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
Definition: PedestalTask.h:111
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: PedestalTask.h:156
virtual void set(HcalDetId const &, STDTYPE)
Definition: ContainerXXX.h:182
int const SLOT_uTCA_MIN
Definition: Constants.h:103
hcaldqm::filter::HashFilter _filter_uTCA
Definition: PedestalTask.h:55
void PedestalTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 939 of file PedestalTask.cc.

References _dump(), hcaldqm::DQModule::_ptype, and hcaldqm::fLocal.

Referenced by ~PedestalTask().

939  {
940  if (_ptype == fLocal)
941  return;
942  this->_dump();
943 
944  DQTask::endLuminosityBlock(lb, es);
945 }
ProcessingType _ptype
Definition: DQModule.h:43
virtual void _dump()
void PedestalTask::endRun ( edm::Run const &  r,
edm::EventSetup const &   
)
override

Definition at line 929 of file PedestalTask.cc.

References _dump(), hcaldqm::DQModule::_ptype, hcaldqm::fLocal, hcaldqm::fOnline, edm::RunAuxiliary::run(), and edm::Run::runAuxiliary().

Referenced by ~PedestalTask().

929  {
930  if (_ptype == fLocal) {
931  if (r.runAuxiliary().run() == 1)
932  return;
933  else
934  this->_dump();
935  } else if (_ptype == fOnline)
936  return;
937 }
ProcessingType _ptype
Definition: DQModule.h:43
virtual void _dump()

Member Data Documentation

hcaldqm::Container1D PedestalTask::_cADC_SubdetPM
protected

Definition at line 153 of file PedestalTask.h.

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

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_depth
protected

Definition at line 88 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_FEDuTCA
protected

Definition at line 91 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_FEDVME
protected

Definition at line 90 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cMean1LS_Subdet
protected

Definition at line 84 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_depth
protected

Definition at line 139 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_FEDuTCA
protected

Definition at line 144 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_FEDVME
protected

Definition at line 141 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_depth
protected

Definition at line 146 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_FEDuTCA
protected

Definition at line 151 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_FEDVME
protected

Definition at line 148 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_depth
protected

Definition at line 107 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_FEDuTCA
protected

Definition at line 110 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_FEDVME
protected

Definition at line 109 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cMeanDBRef1LS_Subdet
protected

Definition at line 103 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_depth
protected

Definition at line 114 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_FEDuTCA
protected

Definition at line 117 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_FEDVME
protected

Definition at line 116 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cMeanDBRefTotal_Subdet
protected

Definition at line 105 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_depth
protected

Definition at line 95 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_FEDuTCA
protected

Definition at line 98 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_FEDVME
protected

Definition at line 97 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cMeanTotal_Subdet
protected

Definition at line 82 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissing1LS_depth
protected

Definition at line 131 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissing1LS_FEDuTCA
protected

Definition at line 133 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissing1LS_FEDVME
protected

Definition at line 132 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissingTotal_depth
protected

Definition at line 134 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissingTotal_FEDuTCA
protected

Definition at line 136 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cMissingTotal_FEDVME
protected

Definition at line 135 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cMissingvsLS_Subdet
protected

Definition at line 122 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cNBadMeanvsLS_Subdet
protected

Definition at line 124 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cNBadRMSvsLS_Subdet
protected

Definition at line 125 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf1D PedestalTask::_cOccupancyEAvsLS_Subdet
protected

Definition at line 128 of file PedestalTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cOccupancyvsLS_Subdet
protected

Definition at line 123 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_depth
protected

Definition at line 89 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_FEDuTCA
protected

Definition at line 93 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_FEDVME
protected

Definition at line 92 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cRMS1LS_Subdet
protected

Definition at line 85 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_depth
protected

Definition at line 140 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_FEDuTCA
protected

Definition at line 142 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_FEDVME
protected

Definition at line 143 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_depth
protected

Definition at line 147 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_FEDuTCA
protected

Definition at line 149 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_FEDVME
protected

Definition at line 150 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_depth
protected

Definition at line 108 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_FEDuTCA
protected

Definition at line 112 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_FEDVME
protected

Definition at line 111 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cRMSDBRef1LS_Subdet
protected

Definition at line 104 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_depth
protected

Definition at line 115 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_FEDuTCA
protected

Definition at line 119 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_FEDVME
protected

Definition at line 118 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cRMSDBRefTotal_Subdet
protected

Definition at line 106 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_depth
protected

Definition at line 96 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_FEDuTCA
protected

Definition at line 100 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_FEDVME
protected

Definition at line 99 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container1D PedestalTask::_cRMSTotal_Subdet
protected

Definition at line 83 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerSingle2D PedestalTask::_cSummaryvsLS
protected

Definition at line 157 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::Container2D PedestalTask::_cSummaryvsLS_FED
protected

Definition at line 156 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::electronicsmap::ElectronicsMap PedestalTask::_ehashmap
protected

Definition at line 54 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::filter::HashFilter PedestalTask::_filter_C38
protected

Definition at line 57 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::filter::HashFilter PedestalTask::_filter_uTCA
protected

Definition at line 55 of file PedestalTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter PedestalTask::_filter_VME
protected

Definition at line 56 of file PedestalTask.h.

Referenced by bookHistograms().

edm::InputTag PedestalTask::_tagHO
protected

Definition at line 40 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::InputTag PedestalTask::_tagQIE10
protected

Definition at line 41 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::InputTag PedestalTask::_tagQIE11
protected

Definition at line 39 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::InputTag PedestalTask::_tagTrigger
protected

Definition at line 42 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

edm::InputTag PedestalTask::_taguMN
protected

Definition at line 43 of file PedestalTask.h.

Referenced by PedestalTask().

double PedestalTask::_thresh_badm
protected

Definition at line 60 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

double PedestalTask::_thresh_badr
protected

Definition at line 60 of file PedestalTask.h.

Referenced by PedestalTask().

double PedestalTask::_thresh_mean
protected

Definition at line 60 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

double PedestalTask::_thresh_missing_high
protected

Definition at line 61 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

double PedestalTask::_thresh_missing_low
protected

Definition at line 61 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

double PedestalTask::_thresh_rms
protected

Definition at line 60 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

edm::EDGetTokenT<HODigiCollection> PedestalTask::_tokHO
protected

Definition at line 46 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::EDGetTokenT<QIE10DigiCollection> PedestalTask::_tokQIE10
protected

Definition at line 47 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::EDGetTokenT<QIE11DigiCollection> PedestalTask::_tokQIE11
protected

Definition at line 45 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

edm::EDGetTokenT<HcalTBTriggerData> PedestalTask::_tokTrigger
protected

Definition at line 48 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

edm::EDGetTokenT<HcalUMNioDigi> PedestalTask::_tokuMN
protected

Definition at line 44 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

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

Definition at line 50 of file PedestalTask.h.

Referenced by _dump(), bookHistograms(), and PedestalTask().

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

Definition at line 64 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<int> PedestalTask::_xNBadMean1LS
protected

Definition at line 75 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<int> PedestalTask::_xNBadRMS1LS
protected

Definition at line 75 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<int> PedestalTask::_xNChs
protected

Definition at line 73 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<int> PedestalTask::_xNMsn1LS
protected

Definition at line 74 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<int> PedestalTask::_xPedEntries1LS
protected

Definition at line 69 of file PedestalTask.h.

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

hcaldqm::ContainerXXX<int> PedestalTask::_xPedEntriesTotal
protected

Definition at line 72 of file PedestalTask.h.

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

hcaldqm::ContainerXXX<double> PedestalTask::_xPedRefMean
protected

Definition at line 78 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<double> PedestalTask::_xPedRefRMS
protected

Definition at line 79 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum1LS
protected

Definition at line 67 of file PedestalTask.h.

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

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum21LS
protected

Definition at line 68 of file PedestalTask.h.

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

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum2Total
protected

Definition at line 71 of file PedestalTask.h.

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

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSumTotal
protected

Definition at line 70 of file PedestalTask.h.

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