CMS 3D CMS Logo

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

#include <DigiTask.h>

Inheritance diagram for DigiTask:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 DigiTask (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DigiTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Protected Types

enum  DigiFlag {
  fDigiSize =0, fUni = 1, fNChsHF = 2, fUnknownIds = 3,
  nDigiFlag = 4
}
 

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 Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

hcaldqm::Container1D _cADC_SubdetPM
 
hcaldqm::Container1D _cADC_SubdetPM_HF
 
hcaldqm::Container2D _cADCvsTS_SubdetPM
 
hcaldqm::Container2D _cADCvsTS_SubdetPM_HF
 
hcaldqm::Container1D _cDigiSize_Crate
 
hcaldqm::Container1D _cDigiSize_FED
 
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
 
hcaldqm::Container1D _cfC_SubdetPM
 
hcaldqm::Container1D _cfC_SubdetPM_HF
 
hcaldqm::Container1D _cLETDCTime_SubdetPM
 
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
 
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
 
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
 
hcaldqm::Container2D _cOccupancy_Crate
 
hcaldqm::Container2D _cOccupancy_CrateSlot
 
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::Container2D _cOccupancyCutvsSlotvsLS_HFPM
 
hcaldqm::Container1D _cOccupancyvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
 
hcaldqm::Container1D _cShapeCut_FED
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::ContainerProf2D _cSumQ_depth
 
hcaldqm::Container1D _cSumQ_SubdetPM
 
hcaldqm::Container1D _cSumQ_SubdetPM_HF
 
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_HF
 
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
 
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_HF
 
hcaldqm::ContainerProf2D _cTimingCut_depth
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
 
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
 
hcaldqm::Container1D _cTimingCut_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
 
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
 
double _cutSumQ_HBHE
 
double _cutSumQ_HEP17
 
double _cutSumQ_HF
 
double _cutSumQ_HO
 
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_FEDHF
 
hcaldqm::filter::HashFilter _filter_HEP17
 
hcaldqm::filter::HashFilter _filter_HF
 
hcaldqm::filter::HashFilter _filter_notHF
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
bool _qie10InConditions
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHEP17
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
double _thresh_unihf
 
edm::EDGetTokenT< HBHEDigiCollection_tokHBHE
 
edm::EDGetTokenT< QIE11DigiCollection_tokHEP17
 
edm::EDGetTokenT< QIE10DigiCollection_tokHF
 
edm::EDGetTokenT< HODigiCollection_tokHO
 
bool _unknownIdsPresent
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
 
hcaldqm::ContainerXXX< uint32_t > _xNChs
 
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
 
hcaldqm::ContainerXXX< uint32_t > _xUni
 
hcaldqm::ContainerXXX< uint32_t > _xUniHF
 
MonitorElementmeNumEvents1LS
 
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
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

file: DigiTask.h Author: VK Description: HCAL DIGI Data Tier Processing.

Online:

Offline:

Definition at line 29 of file DigiTask.h.

Member Enumeration Documentation

enum DigiTask::DigiFlag
protected
Enumerator
fDigiSize 
fUni 
fNChsHF 
fUnknownIds 
nDigiFlag 

Definition at line 60 of file DigiTask.h.

61  {
62  fDigiSize=0,
63  fUni = 1,
64  fNChsHF = 2,
65  fUnknownIds = 3,
66  nDigiFlag = 4
67  };

Constructor & Destructor Documentation

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

Definition at line 7 of file DigiTask.cc.

References _cutSumQ_HBHE, _cutSumQ_HEP17, _cutSumQ_HF, _cutSumQ_HO, _qie10InConditions, _tagHBHE, _tagHEP17, _tagHF, _tagHO, _thresh_unihf, _tokHBHE, _tokHEP17, _tokHF, _tokHO, _vflags, fDigiSize, nanoDQM_cfi::Flag, fNChsHF, fUni, fUnknownIds, edm::ParameterSet::getUntrackedParameter(), and nDigiFlag.

7  :
8  DQTask(ps)
9 {
10  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE",
11  edm::InputTag("hcalDigis"));
12  _tagHEP17 = ps.getUntrackedParameter<edm::InputTag>("tagHEP17",
13  edm::InputTag("hcalDigis"));
14  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO",
15  edm::InputTag("hcalDigis"));
16  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF",
17  edm::InputTag("hcalDigis"));
18 
19  _tokHBHE = consumes<HBHEDigiCollection>(_tagHBHE);
20  _tokHEP17 = consumes<QIE11DigiCollection>(_tagHEP17);
21  _tokHO = consumes<HODigiCollection>(_tagHO);
22  _tokHF = consumes<QIE10DigiCollection>(_tagHF);
23 
24  _cutSumQ_HBHE = ps.getUntrackedParameter<double>("cutSumQ_HBHE", 20);
25  _cutSumQ_HEP17 = ps.getUntrackedParameter<double>("cutSumQ_HEP17", 20);
26  _cutSumQ_HO = ps.getUntrackedParameter<double>("cutSumQ_HO", 20);
27  _cutSumQ_HF = ps.getUntrackedParameter<double>("cutSumQ_HF", 20);
28  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
29 
30  _vflags.resize(nDigiFlag);
31  _vflags[fUni]=hcaldqm::flag::Flag("UniSlotHF");
35 
36  _qie10InConditions = ps.getUntrackedParameter<bool>("qie10InConditions", true);
37 }
bool _qie10InConditions
Definition: DigiTask.h:175
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::InputTag _tagHO
Definition: DigiTask.h:48
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: DigiTask.h:50
double _cutSumQ_HO
Definition: DigiTask.h:55
double _thresh_unihf
Definition: DigiTask.h:56
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: DigiTask.h:52
edm::InputTag _tagHBHE
Definition: DigiTask.h:46
edm::InputTag _tagHEP17
Definition: DigiTask.h:47
double _cutSumQ_HF
Definition: DigiTask.h:55
double _cutSumQ_HBHE
Definition: DigiTask.h:55
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: DigiTask.h:51
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: DigiTask.h:53
edm::InputTag _tagHF
Definition: DigiTask.h:49
std::vector< hcaldqm::flag::Flag > _vflags
Definition: DigiTask.h:59
double _cutSumQ_HEP17
Definition: DigiTask.h:55
DigiTask::~DigiTask ( )
inlineoverride

Member Function Documentation

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

Implements hcaldqm::DQTask.

Definition at line 539 of file DigiTask.cc.

References _cADC_SubdetPM, _cADC_SubdetPM_HF, _cADCvsTS_SubdetPM, _cADCvsTS_SubdetPM_HF, _cDigiSize_Crate, _cDigiSize_FED, _cDigiSizevsLS_FED, _cfC_SubdetPM, _cfC_SubdetPM_HF, _cLETDCTime_SubdetPM, _cLETDCTimevsADC_SubdetPM, _cLETDCvsADC_SubdetPM, _cLETDCvsTS_SubdetPM, _cOccupancy_Crate, _cOccupancy_CrateSlot, _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, _cQ2Q12CutvsLS_FEDHF, _cShapeCut_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQ_SubdetPM_HF, _cSumQvsBX_SubdetPM, _cSumQvsBX_SubdetPM_HF, _cSumQvsLS_SubdetPM, _cSumQvsLS_SubdetPM_HF, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, hcaldqm::DQModule::_currentLS, _cutSumQ_HBHE, _cutSumQ_HEP17, _cutSumQ_HF, _cutSumQ_HO, hcaldqm::DQTask::_dbService, _ehashmap, _filter_HF, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _qie10InConditions, _tagHBHE, _tagHEP17, _tagHF, _tagHO, _tokHBHE, _tokHEP17, _tokHF, _tokHO, _unknownIdsPresent, _xDigiSize, _xNChs, hcaldqm::DQTask::_xQuality, _xUniHF, ecalMGPA::adc(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), edm::EventBase::bunchCrossing(), fwrapper::cs, QIE11DataFrame::detid(), QIE10DataFrame::detid(), hcaldqm::constants::DIGISIZE, Logger::dqmthrow(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::Container2D::fill(), hcaldqm::Container1D::fill(), MonitorElement::Fill(), hcaldqm::filter::HashFilter::filter(), hcaldqm::fLocal, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalBarrel, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, edm::InputTag::instance(), HcalElectronicsId::isVMEid(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meNumEvents1LS, meUnknownIds1LS, lumiQueryAPI::q, q1, q2, DetId::rawId(), QIE11DataFrame::samples(), QIE10DataFrame::samples(), CaloSamples::size(), HcalDetId::subdet(), hcaldqm::utilities::sumQ(), and ntuplemaker::time.

Referenced by ~DigiTask().

541 {
546 
547  if (!e.getByToken(_tokHBHE, chbhe))
548  _logger.dqmthrow("Collection HBHEDigiCollection isn't available"
549  + _tagHBHE.label() + " " + _tagHBHE.instance());
550  if (!e.getByToken(_tokHEP17, chep17))
551  _logger.dqmthrow("Collection HEP17DigiCollection isn't available"
552  + _tagHEP17.label() + " " + _tagHEP17.instance());
553  if (!e.getByToken(_tokHO, cho))
554  _logger.dqmthrow("Collection HODigiCollection isn't available"
555  + _tagHO.label() + " " + _tagHO.instance());
556  if (!e.getByToken(_tokHF, chf))
557  _logger.dqmthrow("Collection QIE10DigiCollection isn't available"
558  + _tagHF.label() + " " + _tagHF.instance());
559 
560  // extract some info per event
561  int bx = e.bunchCrossing();
562  meNumEvents1LS->Fill(0.5); // just increment
563 
564  // To fill histograms outside of the loop, you need to determine if there were
565  // any valid det ids first
566  uint32_t rawidValid = 0;
567  uint32_t rawidHBValid = 0;
568  uint32_t rawidHEValid = 0;
569 
570  // HB collection
571  int numChs = 0;
572  int numChsCut = 0;
573  int numChsHE = 0;
574  int numChsCutHE = 0;
575  for (HBHEDigiCollection::const_iterator it=chbhe->begin(); it!=chbhe->end();
576  ++it)
577  {
578  // Explicit check on the DetIds present in the Collection
579  HcalDetId const& did = it->id();
580  if (did.subdet() != HcalBarrel) {
581  continue;
582  }
583  uint32_t rawid = _ehashmap.lookup(did);
584  if (rawid==0)
585  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
586  HcalElectronicsId const& eid(rawid);
587  if (did.subdet()==HcalBarrel)
588  rawidHBValid = did.rawId();
589  else if (did.subdet()==HcalEndcap)
590  rawidHEValid = did.rawId();
591 
592  //double sumQ = hcaldqm::utilities::sumQ<HBHEDataFrame>(*it, 2.5, 0, it->size()-1);
593  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<HBHEDataFrame>(_dbService, did, *it);
594  double sumQ = hcaldqm::utilities::sumQDB<HBHEDataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
595 
596  // filter out channels that are masked out
597  if (_xQuality.exists(did))
598  {
599  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
600  if (
603  continue;
604  }
605 
606  _cSumQ_SubdetPM.fill(did, sumQ);
607  _cOccupancy_depth.fill(did);
608  if (_ptype == fOnline || _ptype == fLocal) {
611  }
612  if (_ptype==fOnline)
613  {
614  _cDigiSizevsLS_FED.fill(eid, _currentLS, it->size());
615  it->size()!=constants::DIGISIZE[did.subdet()-1]?
619  }
620  _cDigiSize_Crate.fill(eid, it->size());
621  if (_ptype != fOffline) { // hidefed2crate
622  _cDigiSize_FED.fill(eid, it->size());
623  if (eid.isVMEid())
624  {
627  }
628  else
629  {
632  /*
633  if (!it->validate(0, it->size()))
634  {
635  _cCapIdRots_depth.fill(did);
636  _cCapIdRots_FEDuTCA.fill(eid, 1);
637  }*/
638  }
639  }
640 
641  for (int i=0; i<it->size(); i++)
642  {
643  _cADC_SubdetPM.fill(did, it->sample(i).adc());
644  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
645  if (_ptype != fOffline) { // hidefed2crate
646  _cADCvsTS_SubdetPM.fill(did, i, it->sample(i).nominal_fC());
647  if (sumQ>_cutSumQ_HBHE) {
648  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
649  }
650  }
651  }
652 
653  if (sumQ>_cutSumQ_HBHE)
654  {
655  //double timing = hcaldqm::utilities::aveTS<HBHEDataFrame>(*it, 2.5, 0, it->size()-1);
656  double timing = hcaldqm::utilities::aveTSDB<HBHEDataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
657  _cTimingCut_SubdetPM.fill(did, timing);
658  _cTimingCut_depth.fill(did, timing);
661  if (_ptype != fOffline) { // hidefed2crate
663  }
664  _cSumQ_depth.fill(did, sumQ);
665  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
666  if (_ptype==fOnline)
667  {
668  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
669  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
670  _cTimingCutvsieta_Subdet.fill(did, timing);
674  }
675  if (_ptype != fOffline) { // hidefed2crate
676  if (eid.isVMEid())
677  {
678  _cTimingCut_FEDVME.fill(eid, timing);
682  }
683  else
684  {
685  _cTimingCut_FEDuTCA.fill(eid, timing);
689  }
690  }
691  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
692  }
693  did.subdet()==HcalBarrel?numChs++:numChsHE++;
694  }
695 
696  // HEP17 collection
697  // The following are filled w.r.t. HBHE digis
698  // - All eta-phi maps
699  // - Occupancy in electronics coordinates
700  // - Digi size
701  //
702  // The following are not filled:
703  // - ADC, fC, sumQ, timing. These are different for QIE11 vs. QIE8. Find them in QIE11Task instead.
704  for (QIE11DigiCollection::const_iterator it=chep17->begin(); it!=chep17->end();
705  ++it)
706  {
707  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
708 
709  // Explicit check on the DetIds present in the Collection
710  HcalDetId const& did = digi.detid();
711  uint32_t rawid = _ehashmap.lookup(did);
712  if (rawid==0) {
713  meUnknownIds1LS->Fill(1);
714  _unknownIdsPresent=true;
715  continue;
716  }
717  HcalElectronicsId const& eid(rawid);
718  if (did.subdet() != HcalEndcap) {
719  continue;
720  }
721  if (did.subdet()==HcalBarrel) { // Note: since this is HE, we obviously expect did.subdet() always to be HcalEndcap, but QIE11DigiCollection will have HB for Run 3.
722  rawidHBValid = did.rawId();
723  } else if (did.subdet()==HcalEndcap) {
724  rawidHEValid = did.rawId();
725  }
726 
727  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
728  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
729  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
730 
731  // filter out channels that are masked out
732  if (_xQuality.exists(did))
733  {
734  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
735  if (
738  continue;
739  }
740 
741  _cOccupancy_depth.fill(did);
742  if (_ptype==fOnline)
743  {
744  _cDigiSizevsLS_FED.fill(eid, _currentLS, digi.samples());
745  digi.samples()!=constants::DIGISIZE[did.subdet()-1]?
749  }
750  _cDigiSize_Crate.fill(eid, digi.samples());
751  if (_ptype != fOffline) { // hidefed2crate
752  _cDigiSize_FED.fill(eid, digi.samples());
753  if (eid.isVMEid())
754  {
757  }
758  else
759  {
762  /*
763  if (!digi.validate(0, digi.size()))
764  {
765  _cCapIdRots_depth.fill(did);
766  _cCapIdRots_FEDuTCA.fill(eid, 1);
767  }*/
768  }
769  }
770 
771  if (sumQ>_cutSumQ_HEP17)
772  {
773  //double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
774  double timing = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
775 
777  _cTimingCut_depth.fill(did, timing);
778  _cSumQ_depth.fill(did, sumQ);
779  if (_ptype==fOnline)
780  {
784  }
785  if (_ptype != fOffline) { // hidefed2crate
786  if (eid.isVMEid())
787  {
790  }
791  else
792  {
795  }
796  }
797  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
798  }
799  did.subdet()==HcalBarrel?numChs++:numChsHE++;
800  }
801 
802  if (rawidHBValid!=0 && rawidHEValid!=0)
803  {
805  numChs);
807  numChsHE);
808  // ONLINE ONLY!
809  if (_ptype==fOnline)
810  {
812  _currentLS, numChsCut);
813  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHBValid), bx,
814  numChsCut);
816  _currentLS, numChsCutHE);
817  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHEValid), bx,
818  numChsCutHE);
819  }
820  // ^^^ONLINE ONLY!
821  }
822  numChs=0;
823  numChsCut = 0;
824 
825  // reset
826  rawidValid = 0;
827 
828 
829  // HO collection
830  for (HODigiCollection::const_iterator it=cho->begin(); it!=cho->end();
831  ++it)
832  {
833  // Explicit check on the DetIds present in the Collection
834  HcalDetId const& did = it->id();
835  uint32_t rawid = _ehashmap.lookup(did);
836  if (rawid==0)
837  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
838  HcalElectronicsId const& eid(rawid);
839  if (did.subdet()==HcalOuter)
840  rawidValid = did.rawId();
841 
842  //double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
843  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<HODataFrame>(_dbService, did, *it);
844  double sumQ = hcaldqm::utilities::sumQDB<HODataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
845 
846  // filter out channels that are masked out
847  if (_xQuality.exists(did))
848  {
849  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
850  if (
853  continue;
854  }
855 
856  _cSumQ_SubdetPM.fill(did, sumQ);
857  _cOccupancy_depth.fill(did);
858  if (_ptype==fOnline)
859  {
860  _cDigiSizevsLS_FED.fill(eid, _currentLS, it->size());
861  it->size()!=constants::DIGISIZE[did.subdet()-1]?
865  }
866  _cDigiSize_Crate.fill(eid, it->size());
867  if (_ptype != fOffline) { // hidefed2crate
868  _cDigiSize_FED.fill(eid, it->size());
869  if (eid.isVMEid())
870  {
873  /*
874  if (!it->validate(0, it->size()))
875  _cCapIdRots_FEDVME.fill(eid, 1);
876  */
877  }
878  else
879  {
882  /*
883  if (!it->validate(0, it->size()))
884  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
885  }
886  }
887 
888  for (int i=0; i<it->size(); i++)
889  {
890  _cADC_SubdetPM.fill(did, it->sample(i).adc());
891  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
892  if (_ptype != fOffline) { // hidefed2crate
893  _cADCvsTS_SubdetPM.fill(did, i, it->sample(i).nominal_fC());
894  if (sumQ>_cutSumQ_HO)
895  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
896  }
897  }
898 
899  if (sumQ>_cutSumQ_HO)
900  {
901  //double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0,it->size()-1);
902  double timing = hcaldqm::utilities::aveTSDB<HODataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
903  _cSumQ_depth.fill(did, sumQ);
904  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
906  _cTimingCut_SubdetPM.fill(did, timing);
907  _cTimingCut_depth.fill(did, timing);
909  if (_ptype != fOffline) { // hidefed2crate
911  }
912  if (_ptype==fOnline)
913  {
914  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
915  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
916  _cTimingCutvsieta_Subdet.fill(did, timing);
920  }
921  if (_ptype != fOffline) { // hidefed2crate
922  if (eid.isVMEid())
923  {
924  _cTimingCut_FEDVME.fill(eid, timing);
928  }
929  else
930  {
931  _cTimingCut_FEDuTCA.fill(eid, timing);
935  }
936  }
937  numChsCut++;
938  }
939  numChs++;
940  }
941 
942  if (rawidValid!=0)
943  {
945  numChs);
946 
947  if (_ptype==fOnline)
948  {
950  _currentLS, numChsCut);
951  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx,
952  numChsCut);
953  }
954  }
955  numChs=0; numChsCut=0;
956 
957  // reset
958  rawidValid = 0;
959 
960  // HF collection
961  if (_qie10InConditions) {
962  for (QIE10DigiCollection::const_iterator it=chf->begin(); it!=chf->end(); ++it) {
963  const QIE10DataFrame digi = static_cast<const QIE10DataFrame>(*it);
964 
965  // Explicit check on the DetIds present in the Collection
966  HcalDetId const& did = digi.detid();
967 
968  // Require subdet == HF. In 2017, calibration channels are included in QIE10DigiCollection :(
969  if (did.subdet() != HcalForward) {
970  continue;
971  }
972 
973  uint32_t rawid = _ehashmap.lookup(did);
974  if (rawid==0) {
975  meUnknownIds1LS->Fill(1);
976  _unknownIdsPresent=true;
977  continue;
978  }
979  HcalElectronicsId const& eid(rawid);
980  if (did.subdet()==HcalForward)
981  rawidValid = did.rawId();
982 
983  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
984  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
985  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
986 
987 
988  // filter out channels that are masked out
989  if (_xQuality.exists(did))
990  {
991  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
992  if (
995  continue;
996  }
997  if (!_filter_HF.filter(did)) {
998  _cSumQ_SubdetPM_HF.fill(did, sumQ);
999  }
1000  _cOccupancy_depth.fill(did);
1001  if (_ptype==fOnline)
1002  {
1003  _xNChs.get(eid)++;
1004  _cDigiSizevsLS_FED.fill(eid, _currentLS, digi.samples());
1005  digi.samples()!=constants::DIGISIZE[did.subdet()-1]?
1009  }
1010  _cDigiSize_Crate.fill(eid, digi.samples());
1011  if (_ptype != fOffline) { // hidefed2crate
1012  _cDigiSize_FED.fill(eid, digi.samples());
1013  if (eid.isVMEid())
1014  {
1017  /*
1018  if (!it->validate(0, it->size()))
1019  _cCapIdRots_FEDVME.fill(eid, 1);*/
1020  }
1021  else
1022  {
1025  /*
1026  if (!it->validate(0, it->size()))
1027  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
1028  }
1029  }
1030 
1031  for (int i=0; i<digi.samples(); i++)
1032  {
1033  double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i);
1034  if (!_filter_HF.filter(did)) {
1035  _cADC_SubdetPM_HF.fill(did, digi[i].adc());
1036  _cfC_SubdetPM_HF.fill(did, q);
1037  _cLETDCvsADC_SubdetPM.fill(did, digi[i].adc(), digi[i].le_tdc());
1038  _cLETDCvsTS_SubdetPM.fill(did, (int)i, digi[i].le_tdc());
1039  if (digi[i].le_tdc() <50) {
1040  double time = i*25. + (digi[i].le_tdc() / 2.);
1041  _cLETDCTime_SubdetPM.fill(did, time);
1042  _cLETDCTimevsADC_SubdetPM.fill(did, digi[i].adc(), time);
1043  }
1044  }
1045 
1046  if (_ptype != fOffline) { // hidefed2crate
1047  _cADCvsTS_SubdetPM_HF.fill(did, (int)i, q);
1048  if (sumQ>_cutSumQ_HF)
1049  _cShapeCut_FED.fill(eid, (int)i, q);
1050  }
1051  }
1052 
1053  if (sumQ>_cutSumQ_HF)
1054  {
1055  double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0,
1056  digi.samples()-1);
1057  double q1 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, 1);
1058  double q2 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, 2);
1059  double q2q12 = q2/(q1+q2);
1060  _cSumQ_depth.fill(did, sumQ);
1061  if (!_filter_HF.filter(did)) {
1063  }
1064  if (_ptype==fOnline)
1065  {
1066  if (!_filter_HF.filter(did)) {
1067  _cSumQvsBX_SubdetPM_HF.fill(did, bx, sumQ);
1068  }
1069  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
1070  _cTimingCutvsieta_Subdet.fill(did, timing);
1074  // _cOccupancyCutvsSlotvsLS_HFPM.fill(did, _currentLS);
1075  _xUniHF.get(eid)++;
1076  }
1077  _cTimingCut_SubdetPM.fill(did, timing);
1078  _cTimingCut_depth.fill(did, timing);
1080  if (_ptype != fOffline) { // hidefed2crate
1082  }
1084  if (!eid.isVMEid())
1085  if (_ptype==fOnline)
1087  if (_ptype != fOffline) { // hidefed2crate
1088  if (eid.isVMEid())
1089  {
1090  _cTimingCut_FEDVME.fill(eid, timing);
1094  }
1095  else
1096  {
1097  _cTimingCut_FEDuTCA.fill(eid, timing);
1101  }
1102  }
1103  numChsCut++;
1104  }
1105  numChs++;
1106  }
1107  }
1108 
1109  if (rawidValid!=0)
1110  {
1112  numChs);
1113 
1114  if (_ptype==fOnline)
1115  {
1117  _currentLS, numChsCut);
1118  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx,
1119  numChsCut);
1120  }
1121  }
1122 }
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
DetId detid() const
Get the detector id.
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: DigiTask.h:116
hcaldqm::Container1D _cADC_SubdetPM_HF
Definition: DigiTask.h:94
bool _qie10InConditions
Definition: DigiTask.h:175
MonitorElement * meNumEvents1LS
Definition: DigiTask.h:168
hcaldqm::Container1D _cADC_SubdetPM
Definition: DigiTask.h:86
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: DigiTask.h:143
auto_ptr< ClusterSequence > cs
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
Definition: DigiTask.h:91
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
edm::InputTag _tagHO
Definition: DigiTask.h:48
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: DigiTask.h:103
hcaldqm::Container1D _cfC_SubdetPM_HF
Definition: DigiTask.h:95
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
Definition: DigiTask.h:120
MonitorElement * meUnknownIds1LS
Definition: DigiTask.h:169
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: DigiTask.h:50
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
Definition: DigiTask.h:162
double _cutSumQ_HO
Definition: DigiTask.h:55
std::vector< HBHEDataFrame >::const_iterator const_iterator
hcaldqm::ContainerProf2D _cSumQ_depth
Definition: DigiTask.h:89
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: DigiTask.h:52
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: DigiTask.h:142
const_iterator begin() const
unsigned long long bx[ScalersRaw::N_BX_v2]
Definition: ScalersRaw.h:228
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: DigiTask.h:109
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: DigiTask.h:145
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
Definition: DigiTask.h:156
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: DigiTask.h:110
double q2[4]
Definition: TauolaWrapper.h:88
void Fill(long long x)
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
Definition: DigiTask.h:164
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
edm::InputTag _tagHBHE
Definition: DigiTask.h:46
hcaldqm::Container2D _cOccupancy_CrateSlot
Definition: DigiTask.h:129
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: DigiTask.h:139
hcaldqm::Container1D _cDigiSize_Crate
Definition: DigiTask.h:153
hcaldqm::Container1D _cShapeCut_FED
Definition: DigiTask.h:102
edm::InputTag _tagHEP17
Definition: DigiTask.h:47
hcaldqm::Container2D _cOccupancyCut_depth
Definition: DigiTask.h:141
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: DigiTask.h:150
double _cutSumQ_HF
Definition: DigiTask.h:55
double _cutSumQ_HBHE
Definition: DigiTask.h:55
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: DigiTask.h:115
DetId detid() const
Get the detector id.
Logger _logger
Definition: DQModule.h:70
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: DigiTask.h:124
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: DigiTask.h:114
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: DigiTask.h:137
hcaldqm::Container2D _cOccupancy_depth
Definition: DigiTask.h:130
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
Definition: DigiTask.h:51
const_iterator end() const
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
Definition: DigiTask.h:53
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: DigiTask.h:148
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
Definition: DigiTask.h:90
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: DigiTask.h:113
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: DigiTask.h:138
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: DigiTask.h:126
edm::InputTag _tagHF
Definition: DigiTask.h:49
int size() const
get the size
Definition: CaloSamples.h:24
hcaldqm::Container1D _cDigiSize_FED
Definition: DigiTask.h:154
double q1[4]
Definition: TauolaWrapper.h:87
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: DigiTask.h:88
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: DigiTask.h:131
int const DIGISIZE[SUBDET_NUM]
Definition: Constants.h:183
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: DigiTask.h:117
hcaldqm::Container1D _cLETDCTime_SubdetPM
Definition: DigiTask.h:165
std::string const & label() const
Definition: InputTag.h:36
const_iterator end() const
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: DigiTask.h:140
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: DigiTask.h:111
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
Definition: DigiTask.h:163
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:72
hcaldqm::Container2D _cOccupancy_Crate
Definition: DigiTask.h:128
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:36
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_HF
Definition: DigiTask.h:97
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
Definition: DigiTask.h:155
hcaldqm::ContainerXXX< uint32_t > _xNChs
Definition: DigiTask.h:158
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: DigiTask.h:73
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: DigiTask.h:149
hcaldqm::Container1D _cSumQ_SubdetPM_HF
Definition: DigiTask.h:96
hcaldqm::filter::HashFilter _filter_HF
Definition: DigiTask.h:80
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_HF
Definition: DigiTask.h:98
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: DigiTask.h:132
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: DigiTask.h:112
const_iterator begin() const
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: DigiTask.h:108
bool _unknownIdsPresent
Definition: DigiTask.h:170
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: DigiTask.h:125
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: DigiTask.h:157
hcaldqm::Container2D _cADCvsTS_SubdetPM_HF
Definition: DigiTask.h:104
double _cutSumQ_HEP17
Definition: DigiTask.h:55
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:122
hcaldqm::Container1D _cfC_SubdetPM
Definition: DigiTask.h:87
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: DigiTask.h:127
void DigiTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 519 of file DigiTask.cc.

References _cOccupancyvsiphi_SubdetPM, hcaldqm::DQModule::_ptype, _unknownIdsPresent, hcaldqm::f1LS, hcaldqm::f50LS, hcaldqm::fOnline, and hcaldqm::Container1D::reset().

Referenced by ~DigiTask().

520 {
521  DQTask::_resetMonitors(uf);
522 
523  switch(uf)
524  {
525  case hcaldqm::f1LS:
526  _unknownIdsPresent = false;
527  break;
528  case hcaldqm::f50LS:
529  // ^^^ONLINE ONLY!
530  if (_ptype==fOnline)
532  // ^^^
533  break;
534  default:
535  break;
536  }
537 }
ProcessingType _ptype
Definition: DQModule.h:59
virtual void reset()
Definition: Container1D.cc:65
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: DigiTask.h:131
bool _unknownIdsPresent
Definition: DigiTask.h:170
void DigiTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 1124 of file DigiTask.cc.

Referenced by ~DigiTask().

1126 {
1127  DQTask::beginLuminosityBlock(lb, es);
1128 }
void DigiTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 39 of file DigiTask.cc.

References _cADC_SubdetPM, _cADC_SubdetPM_HF, _cADCvsTS_SubdetPM, _cADCvsTS_SubdetPM_HF, _cDigiSize_Crate, _cDigiSize_FED, _cDigiSizevsLS_FED, _cfC_SubdetPM, _cfC_SubdetPM_HF, _cLETDCTime_SubdetPM, _cLETDCTimevsADC_SubdetPM, _cLETDCvsADC_SubdetPM, _cLETDCvsTS_SubdetPM, _cOccupancy_Crate, _cOccupancy_CrateSlot, _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, _cQ2Q12CutvsLS_FEDHF, _cShapeCut_FED, _cSummaryvsLS, _cSummaryvsLS_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQ_SubdetPM_HF, _cSumQvsBX_SubdetPM, _cSumQvsBX_SubdetPM_HF, _cSumQvsLS_SubdetPM, _cSumQvsLS_SubdetPM_HF, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsieta_Subdet, _cTimingCutvsiphi_SubdetPM, _cTimingCutvsLS_FED, _cTimingCutvsLS_SubdetPM, _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _dhashmap, _ehashmap, hcaldqm::DQTask::_emap, _filter_FEDHF, _filter_HEP17, _filter_HF, _filter_notHF, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _unknownIdsPresent, _vflags, _vhashFEDs, _xDigiSize, _xNChs, _xNChsNominal, hcaldqm::DQTask::_xQuality, _xUni, _xUniHF, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), DQMStore::IBooker::book1D(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, fwrapper::cs, runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::quantity::fADC_128, hcaldqm::quantity::fBX, hcaldqm::quantity::fCrate, hcaldqm::hashfunctions::fCrate, hcaldqm::hashfunctions::fCrateSlot, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::quantity::fDigiSize, hcaldqm::electronicsmap::fE2DHashMap, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::ffC_10000, hcaldqm::quantity::ffC_generic_400000, hcaldqm::hashfunctions::fFED, hcaldqm::hashfunctions::fFEDSlot, hcaldqm::quantity::fFiberCh, hcaldqm::quantity::fFiberuTCA, 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::quantity::fiphi, hcaldqm::fLocal, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::fOnline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fQIE10ADC_256, hcaldqm::quantity::fQIE10fC_10000, hcaldqm::quantity::fQIE10TDC_64, hcaldqm::quantity::fRatio_0to2, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::hashfunctions::fSubdetPMiphi, hcaldqm::quantity::fTime_ns_250, hcaldqm::quantity::fTiming_TS, hcaldqm::quantity::fTiming_TS200, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), HcalDbService::getHcalMapping(), hcaldqm::hashfunctions::hash_did, HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, HcalEndcap, HcalForward, hcaldqm::ContainerProf2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), meNumEvents1LS, meUnknownIds1LS, HcalElectronicsId::rawId(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), hcaldqm::Container1D::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~DigiTask().

41 {
43 
44  // GET WHAT YOU NEED
46  es.get<HcalDbRecord>().get(dbs);
47  _emap = dbs->getHcalMapping();
48  std::vector<uint32_t> vVME;
49  std::vector<uint32_t> vuTCA;
53  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
55  vVME);
57  vuTCA);
58 
59  // Filters for HEP17 and HF, aka QIE10/11
60  std::vector<uint32_t> vhashHF;
63  vhashHF);
65  vhashHF);
66 
67  std::vector<uint32_t> vhashHEP17;
68  vhashHEP17.push_back(HcalDetId(HcalEndcap, 1, 63, 1));
69  vhashHEP17.push_back(HcalDetId(HcalEndcap, 1, 64, 1));
70  vhashHEP17.push_back(HcalDetId(HcalEndcap, 1, 65, 1));
71  vhashHEP17.push_back(HcalDetId(HcalEndcap, 1, 66, 1));
73 
74  // INITIALIZE FIRST
92 
106 
111  _cTimingCut_depth.initialize(_name, "TimingCut",
120 
121  // Occupancy w/o a cut
122  _cOccupancyvsLS_Subdet.initialize(_name, "OccupancyvsLS",
126  _cOccupancy_depth.initialize(_name, "Occupancy",
131 
132  // Occupancy w/ a cut
133  _cOccupancyCutvsLS_Subdet.initialize(_name, "OccupancyCutvsLS",
137  _cOccupancyCut_depth.initialize(_name, "OccupancyCut",
142 
143  // Digi size
144  _cDigiSize_Crate.initialize(_name, "DigiSize",
158  _cLETDCTimevsADC_SubdetPM.initialize(_name, "LETDCTimevsADC",
163  _cLETDCvsADC_SubdetPM.initialize(_name, "LETDCvsADC",
168  _cLETDCvsTS_SubdetPM.initialize(_name, "LETDCvsTS",
177 
178  if (_ptype == fOnline || _ptype == fLocal) {
180  "Occupancy", hashfunctions::fCrate,
185  "Occupancy", hashfunctions::fCrateSlot,
189  }
190 
191  // INITIALIZE HISTOGRAMS that are only for Online
192  if (_ptype==fOnline)
193  {
194  // Charge sharing
207  _cDigiSizevsLS_FED.initialize(_name, "DigiSizevsLS",
211  _cTimingCutvsiphi_SubdetPM.initialize(_name, "TimingCutvsiphi",
215  _cTimingCutvsieta_Subdet.initialize(_name, "TimingCutvsieta",
219  _cOccupancyvsiphi_SubdetPM.initialize(_name, "Occupancyvsiphi",
223  _cOccupancyvsieta_Subdet.initialize(_name, "Occupancyvsieta",
227  _cOccupancyCutvsiphi_SubdetPM.initialize(_name, "OccupancyCutvsiphi",
231  _cOccupancyCutvsieta_Subdet.initialize(_name, "OccupancyCutvsieta",
235  _cOccupancyCutvsLS_Subdet.initialize(_name, "OccupancyCutvsLS",
239  _cOccupancyCutvsBX_Subdet.initialize(_name, "OccupancyCutvsBX",
243 // _cOccupancyCutvsSlotvsLS_HFPM.initialize(_name,
244 // "OccupancyCutvsSlotvsLS", hcaldqm::hashfunctions::fSubdetPM,
245 // new hcaldqm::quantity::LumiSection(_maxLS),
246 // new hcaldqm::quantity::ElectronicsQuantity(hcaldqm::quantity::fSlotuTCA),
247 // new hcaldqm::quantity::ValueQuantity(hcaldqm::quantity::fN),0);
249  "OccupancyCutvsiphivsLS", hcaldqm::hashfunctions::fSubdetPM,
253  }
254  if (_ptype != fOffline) { // hidefed2crate
255  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
256  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
257  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
258 
259  std::vector<uint32_t> vFEDHF;
260  vFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN,
261  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
262  vFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN+6,
263  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
264  vFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN,
265  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
266  vFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN+6,
267  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
268  vFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN,
269  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
270  vFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN+6,
271  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
272 
273  // initialize filters
275  vFEDHF);
276 
277  // push the rawIds of each fed into the vector...
278  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
279  it!=vFEDsVME.end(); ++it)
280  _vhashFEDs.push_back(HcalElectronicsId(
282  (*it)-FED_VME_MIN).rawId());
283  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
284  it!=vFEDsuTCA.end(); ++it)
285  {
286  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
287  _vhashFEDs.push_back(HcalElectronicsId(
288  cspair.first, cspair.second, FIBER_uTCA_MIN1,
289  FIBERCH_MIN, false).rawId());
290  }
291 
292  _cShapeCut_FED.initialize(_name, "ShapeCut",
296 
297  _cTimingCut_FEDVME.initialize(_name, "TimingCut",
302  _cTimingCut_FEDuTCA.initialize(_name, "TimingCut",
309  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
314  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
317  _cTimingCutvsLS_FED.initialize(_name, "TimingvsLS",
321 
322  _cOccupancy_FEDVME.initialize(_name, "Occupancy",
327  _cOccupancy_FEDuTCA.initialize(_name, "Occupancy",
334  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
339  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
342 
343  _cOccupancyCut_FEDVME.initialize(_name, "OccupancyCut",
348  _cOccupancyCut_FEDuTCA.initialize(_name, "OccupancyCut",
355  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
360  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
363 
364  _cDigiSize_FED.initialize(_name, "DigiSize",
368 
369  if (_ptype == fOnline) {
370  _cSummaryvsLS_FED.initialize(_name, "SummaryvsLS",
375  _cSummaryvsLS.initialize(_name, "SummaryvsLS",
379 
385  }
386  }
387 
388  // BOOK HISTOGRAMS
389  char cutstr[200];
390  sprintf(cutstr, "_SumQHBHE%dHO%dHF%d", int(_cutSumQ_HBHE),
391  int(_cutSumQ_HO), int(_cutSumQ_HF));
392  char cutstr2[200];
393  sprintf(cutstr2, "_SumQHF%d", int(_cutSumQ_HF));
394 
407 
408  if (_ptype != fOffline) { // hidefed2crate
424  }
425 
429 
433 
438 
439  // BOOK HISTOGRAMS that are only for Online
442 
443  if (_ptype == fOnline || _ptype == fLocal) {
446  }
447 
448  if (_ptype==fOnline)
449  {
462 // _cOccupancyCutvsSlotvsLS_HFPM.book(ib, _emap, _filter_HF, _subsystem);
466 
468  _xNChs.book(_emap);
470  _xUni.book(_emap);
472 
473  // just PER HF FED RECORD THE #CHANNELS
474  // ONLY WAY TO DO THAT AUTOMATICALLY AND W/O HARDCODING 1728
475  // or ANY OTHER VALUES LIKE 2592, 2192
476  std::vector<HcalGenericDetId> gids = _emap->allPrecisionId();
477  for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
478  it!=gids.end(); ++it)
479  {
480  if (!it->isHcalDetId())
481  continue;
482  HcalDetId did(it->rawId());
483  if (_xQuality.exists(did))
484  {
485  HcalChannelStatus cs(it->rawId(), _xQuality.get(
486  HcalDetId(*it)));
487  if (
490  continue;
491  }
493  _xNChsNominal.get(eid)++; // he will know the nominal #channels per FED
494  }
495  }
496 
497  // MARK THESE HISTOGRAMS AS LUMI BASED FOR OFFLINE PROCESSING
498  if (_ptype==fOffline)
499  {
501  //_cDigiSize_FED.setLumiFlag();
503  }
504 
505  // book Number of Events vs LS histogram
506  ib.setCurrentFolder(_subsystem+"/RunInfo");
507  meNumEvents1LS = ib.book1D("NumberOfEvents", "NumberOfEvents",
508  1, 0, 1);
510 
511  // book the flag for unknown ids and the online guy as well
513  meUnknownIds1LS = ib.book1D("UnknownIds", "UnknownIds",
514  1, 0, 1);
515  _unknownIdsPresent = false;
517 }
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
Definition: DigiTask.h:116
hcaldqm::Container1D _cADC_SubdetPM_HF
Definition: DigiTask.h:94
MonitorElement * meNumEvents1LS
Definition: DigiTask.h:168
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
hcaldqm::Container1D _cADC_SubdetPM
Definition: DigiTask.h:86
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
Definition: DigiTask.h:143
auto_ptr< ClusterSequence > cs
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
Definition: DigiTask.h:91
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:267
int const CRATE_VME_MIN
Definition: Constants.h:111
hcaldqm::Container2D _cADCvsTS_SubdetPM
Definition: DigiTask.h:103
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
uint32_t rawId() const
hcaldqm::Container1D _cfC_SubdetPM_HF
Definition: DigiTask.h:95
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
Definition: DigiTask.h:120
MonitorElement * meUnknownIds1LS
Definition: DigiTask.h:169
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
Definition: DigiTask.h:162
double _cutSumQ_HO
Definition: DigiTask.h:55
int const SPIGOT_MIN
Definition: Constants.h:136
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cSumQ_depth
Definition: DigiTask.h:89
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
Definition: DigiTask.h:142
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: DigiTask.h:173
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
Definition: DigiTask.h:109
int const FIBER_VME_MIN
Definition: Constants.h:141
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
Definition: DigiTask.h:145
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
Definition: DigiTask.h:156
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
Definition: DigiTask.h:110
void bookHistograms(fwlite::EventContainer &eventCont)
int const FIBERCH_MIN
Definition: Constants.h:151
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:119
hcaldqm::filter::HashFilter _filter_VME
Definition: DigiTask.h:77
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
Definition: DigiTask.h:164
ProcessingType _ptype
Definition: DQModule.h:59
hcaldqm::Container2D _cOccupancy_CrateSlot
Definition: DigiTask.h:129
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
int const FED_VME_MIN
Definition: Constants.h:98
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
Definition: DigiTask.h:139
hcaldqm::Container1D _cDigiSize_Crate
Definition: DigiTask.h:153
hcaldqm::Container1D _cShapeCut_FED
Definition: DigiTask.h:102
hcaldqm::Container2D _cOccupancyCut_depth
Definition: DigiTask.h:141
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
Definition: DigiTask.h:150
double _cutSumQ_HF
Definition: DigiTask.h:55
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
double _cutSumQ_HBHE
Definition: DigiTask.h:55
hash_function_did const hash_did[nHashType_did]
hcaldqm::ContainerProf2D _cTimingCut_depth
Definition: DigiTask.h:115
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancy_FEDVME
Definition: DigiTask.h:124
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
Definition: DigiTask.h:114
hcaldqm::Container2D _cOccupancyCut_FEDVME
Definition: DigiTask.h:137
hcaldqm::Container2D _cOccupancy_depth
Definition: DigiTask.h:130
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: DigiTask.h:172
hcaldqm::filter::HashFilter _filter_FEDHF
Definition: DigiTask.h:79
int const CRATE_uTCA_MIN
Definition: Constants.h:116
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
Definition: DigiTask.h:148
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
Definition: DigiTask.h:90
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: DigiTask.h:157
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
Definition: DigiTask.h:113
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
Definition: DigiTask.h:138
hcaldqm::Container2D _cOccupancy_ElectronicsVME
Definition: DigiTask.h:126
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::Container1D _cDigiSize_FED
Definition: DigiTask.h:154
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiTask.h:159
hcaldqm::Container1D _cSumQ_SubdetPM
Definition: DigiTask.h:88
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
Definition: DigiTask.h:131
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
Definition: DigiTask.h:117
hcaldqm::filter::HashFilter _filter_HEP17
Definition: DigiTask.h:82
hcaldqm::Container1D _cLETDCTime_SubdetPM
Definition: DigiTask.h:165
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
Definition: DigiTask.h:74
std::vector< hcaldqm::flag::Flag > _vflags
Definition: DigiTask.h:59
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
Definition: DigiTask.h:140
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
Definition: DigiTask.h:111
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
Definition: DigiTask.h:163
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
virtual void setLumiFlag()
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:95
hcaldqm::Container2D _cOccupancy_Crate
Definition: DigiTask.h:128
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:145
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::filter::HashFilter _filter_uTCA
Definition: DigiTask.h:78
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_HF
Definition: DigiTask.h:97
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
Definition: DigiTask.h:155
hcaldqm::ContainerXXX< uint32_t > _xNChs
Definition: DigiTask.h:158
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: DigiTask.h:73
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
Definition: DigiTask.h:149
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:91
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
hcaldqm::Container1D _cSumQ_SubdetPM_HF
Definition: DigiTask.h:96
std::vector< uint32_t > _vhashFEDs
Definition: DigiTask.h:70
hcaldqm::filter::HashFilter _filter_HF
Definition: DigiTask.h:80
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_HF
Definition: DigiTask.h:98
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Definition: DigiTask.h:132
Readout chain identification for Hcal.
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Definition: DigiTask.h:112
hcaldqm::filter::HashFilter _filter_notHF
Definition: DigiTask.h:81
int const SLOT_uTCA_MIN
Definition: Constants.h:123
hcaldqm::Container1D _cTimingCut_SubdetPM
Definition: DigiTask.h:108
bool _unknownIdsPresent
Definition: DigiTask.h:170
hcaldqm::Container2D _cOccupancy_FEDuTCA
Definition: DigiTask.h:125
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: DigiTask.h:157
hcaldqm::Container2D _cADCvsTS_SubdetPM_HF
Definition: DigiTask.h:104
hcaldqm::Container1D _cfC_SubdetPM
Definition: DigiTask.h:87
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
Definition: DigiTask.h:127
void DigiTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 1130 of file DigiTask.cc.

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

Referenced by ~DigiTask().

1132 {
1133  if (_ptype!=fOnline)
1134  return;
1135 
1136  for (uintCompactMap::const_iterator it=_xUniHF.begin();
1137  it!=_xUniHF.end(); ++it)
1138  {
1139  uint32_t hash1 = it->first;
1140  HcalElectronicsId eid1(hash1);
1141  double x1 = it->second;
1142 
1143  for (uintCompactMap::const_iterator jt=_xUniHF.begin();
1144  jt!=_xUniHF.end(); ++jt)
1145  {
1146  if (jt==it)
1147  continue;
1148  double x2 = jt->second;
1149  if (x2==0)
1150  continue;
1151  if (x1/x2<_thresh_unihf)
1152  _xUni.get(eid1)++;
1153  }
1154  }
1155 
1156  if (_ptype != fOffline) { // hidefed2crate
1157  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
1158  it!=_vhashFEDs.end(); ++it)
1159  {
1160  hcaldqm::flag::Flag fSum("DIGI");
1162 
1163  std::vector<uint32_t>::const_iterator cit=std::find(
1164  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
1165  if (cit==_vcdaqEids.end())
1166  {
1167  // not @cDAQ
1168  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
1169  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
1170  int(hcaldqm::flag::fNCDAQ));
1172  continue;
1173  }
1174 
1175  // FED is @cDAQ
1178  {
1179  if (_xDigiSize.get(eid)>0)
1181  else
1183  if (hcaldqm::utilities::isFEDHF(eid))
1184  {
1185  double fr = double(_xNChs.get(eid))/double(
1186  _xNChsNominal.get(eid)*_evsPerLS);
1187  if (_runkeyVal==0 || _runkeyVal==4)
1188  {
1189  // only for pp or hi
1190  if (_xUni.get(eid)>0)
1192  else
1193  _vflags[fUni]._state = hcaldqm::flag::fGOOD;
1194  }
1195  if (fr<0.95)
1197  else if (fr<1.0)
1199  else
1201  }
1202  }
1203  if (_unknownIdsPresent)
1205  else
1207 
1208  int iflag=0;
1209  for (std::vector<hcaldqm::flag::Flag>::iterator ft=_vflags.begin();
1210  ft!=_vflags.end(); ++ft)
1211  {
1213  int(ft->_state));
1214  fSum+=(*ft);
1215  iflag++;
1216 
1217  // reset!
1218  ft->reset();
1219  }
1220  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
1221  }
1222  }
1223 
1225  _xNChs.reset();
1226 
1227  // in the end always do the DQTask::endLumi
1228  DQTask::endLuminosityBlock(lb, es);
1229 }
virtual CompactMap::const_iterator begin()
Definition: ContainerXXX.h:75
double _thresh_unihf
Definition: DigiTask.h:56
virtual void reset()
Definition: ContainerXXX.h:366
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: DigiTask.h:173
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
Definition: DigiTask.h:156
virtual CompactMap::const_iterator end()
Definition: ContainerXXX.h:77
ProcessingType _ptype
Definition: DQModule.h:59
virtual void setBinContent(int, int, int)
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: DigiTask.h:172
hcaldqm::ContainerXXX< uint32_t > _xUni
Definition: DigiTask.h:157
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:172
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiTask.h:159
std::vector< hcaldqm::flag::Flag > _vflags
Definition: DigiTask.h:59
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:235
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:212
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:65
hcaldqm::ContainerXXX< uint32_t > _xNChs
Definition: DigiTask.h:158
std::vector< uint32_t > _vhashFEDs
Definition: DigiTask.h:70
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:187
bool _unknownIdsPresent
Definition: DigiTask.h:170
hcaldqm::ContainerXXX< uint32_t > _xUniHF
Definition: DigiTask.h:157

Member Data Documentation

hcaldqm::Container1D DigiTask::_cADC_SubdetPM
protected

Definition at line 86 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cADC_SubdetPM_HF
protected

Definition at line 94 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cADCvsTS_SubdetPM
protected

Definition at line 103 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cADCvsTS_SubdetPM_HF
protected

Definition at line 104 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cDigiSize_Crate
protected

Definition at line 153 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cDigiSize_FED
protected

Definition at line 154 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cDigiSizevsLS_FED
protected

Definition at line 155 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cfC_SubdetPM
protected

Definition at line 87 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cfC_SubdetPM_HF
protected

Definition at line 95 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cLETDCTime_SubdetPM
protected

Definition at line 165 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cLETDCTimevsADC_SubdetPM
protected

Definition at line 162 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cLETDCvsADC_SubdetPM
protected

Definition at line 163 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cLETDCvsTS_SubdetPM
protected

Definition at line 164 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_Crate
protected

Definition at line 128 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_CrateSlot
protected

Definition at line 129 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_depth
protected

Definition at line 130 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_ElectronicsuTCA
protected

Definition at line 127 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_ElectronicsVME
protected

Definition at line 126 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_FEDuTCA
protected

Definition at line 125 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancy_FEDVME
protected

Definition at line 124 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCut_depth
protected

Definition at line 141 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 140 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCut_ElectronicsVME
protected

Definition at line 139 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCut_FEDuTCA
protected

Definition at line 138 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCut_FEDVME
protected

Definition at line 137 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cOccupancyCutvsBX_Subdet
protected

Definition at line 150 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cOccupancyCutvsieta_Subdet
protected

Definition at line 143 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 142 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 145 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cOccupancyCutvsLS_Subdet
protected

Definition at line 149 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiTask::_cOccupancyCutvsSlotvsLS_HFPM
protected

Definition at line 144 of file DigiTask.h.

hcaldqm::Container1D DigiTask::_cOccupancyvsieta_Subdet
protected

Definition at line 132 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 131 of file DigiTask.h.

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

hcaldqm::ContainerProf1D DigiTask::_cOccupancyvsLS_Subdet
protected

Definition at line 148 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cQ2Q12CutvsLS_FEDHF
protected

Definition at line 120 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cShapeCut_FED
protected

Definition at line 102 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D DigiTask::_cSummaryvsLS
protected

Definition at line 173 of file DigiTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::Container2D DigiTask::_cSummaryvsLS_FED
protected

Definition at line 172 of file DigiTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerProf2D DigiTask::_cSumQ_depth
protected

Definition at line 89 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cSumQ_SubdetPM
protected

Definition at line 88 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cSumQ_SubdetPM_HF
protected

Definition at line 96 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cSumQvsBX_SubdetPM
protected

Definition at line 91 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cSumQvsBX_SubdetPM_HF
protected

Definition at line 98 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cSumQvsLS_SubdetPM
protected

Definition at line 90 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cSumQvsLS_SubdetPM_HF
protected

Definition at line 97 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiTask::_cTimingCut_depth
protected

Definition at line 115 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiTask::_cTimingCut_ElectronicsuTCA
protected

Definition at line 112 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiTask::_cTimingCut_ElectronicsVME
protected

Definition at line 111 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiTask::_cTimingCut_FEDuTCA
protected

Definition at line 110 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiTask::_cTimingCut_FEDVME
protected

Definition at line 109 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiTask::_cTimingCut_SubdetPM
protected

Definition at line 108 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cTimingCutvsieta_Subdet
protected

Definition at line 117 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 116 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cTimingCutvsLS_FED
protected

Definition at line 113 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiTask::_cTimingCutvsLS_SubdetPM
protected

Definition at line 114 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

double DigiTask::_cutSumQ_HBHE
protected

Definition at line 55 of file DigiTask.h.

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

double DigiTask::_cutSumQ_HEP17
protected

Definition at line 55 of file DigiTask.h.

Referenced by _process(), and DigiTask().

double DigiTask::_cutSumQ_HF
protected

Definition at line 55 of file DigiTask.h.

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

double DigiTask::_cutSumQ_HO
protected

Definition at line 55 of file DigiTask.h.

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

hcaldqm::electronicsmap::ElectronicsMap DigiTask::_dhashmap
protected

Definition at line 74 of file DigiTask.h.

Referenced by bookHistograms().

hcaldqm::electronicsmap::ElectronicsMap DigiTask::_ehashmap
protected

Definition at line 73 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_FEDHF
protected

Definition at line 79 of file DigiTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_HEP17
protected

Definition at line 82 of file DigiTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_HF
protected

Definition at line 80 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_notHF
protected

Definition at line 81 of file DigiTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_uTCA
protected

Definition at line 78 of file DigiTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiTask::_filter_VME
protected

Definition at line 77 of file DigiTask.h.

Referenced by bookHistograms().

bool DigiTask::_qie10InConditions
protected

Definition at line 175 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::InputTag DigiTask::_tagHBHE
protected

Definition at line 46 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::InputTag DigiTask::_tagHEP17
protected

Definition at line 47 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::InputTag DigiTask::_tagHF
protected

Definition at line 49 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::InputTag DigiTask::_tagHO
protected

Definition at line 48 of file DigiTask.h.

Referenced by _process(), and DigiTask().

double DigiTask::_thresh_unihf
protected

Definition at line 56 of file DigiTask.h.

Referenced by DigiTask(), and endLuminosityBlock().

edm::EDGetTokenT<HBHEDigiCollection> DigiTask::_tokHBHE
protected

Definition at line 50 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::EDGetTokenT<QIE11DigiCollection> DigiTask::_tokHEP17
protected

Definition at line 51 of file DigiTask.h.

Referenced by _process(), and DigiTask().

edm::EDGetTokenT<QIE10DigiCollection> DigiTask::_tokHF
protected

Definition at line 53 of file DigiTask.h.

Referenced by _process(), and DigiTask().

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

Definition at line 52 of file DigiTask.h.

Referenced by _process(), and DigiTask().

bool DigiTask::_unknownIdsPresent
protected

Definition at line 170 of file DigiTask.h.

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

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

Definition at line 59 of file DigiTask.h.

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

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

Definition at line 70 of file DigiTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> DigiTask::_xDigiSize
protected

Definition at line 156 of file DigiTask.h.

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

hcaldqm::ContainerXXX<uint32_t> DigiTask::_xNChs
protected

Definition at line 158 of file DigiTask.h.

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

hcaldqm::ContainerXXX<uint32_t> DigiTask::_xNChsNominal
protected

Definition at line 159 of file DigiTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

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

Definition at line 157 of file DigiTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

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

Definition at line 157 of file DigiTask.h.

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

MonitorElement* DigiTask::meNumEvents1LS
protected

Definition at line 168 of file DigiTask.h.

Referenced by _process(), and bookHistograms().

MonitorElement* DigiTask::meUnknownIds1LS
protected

Definition at line 169 of file DigiTask.h.

Referenced by _process(), and bookHistograms().