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, 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  uint32_t rawid = _ehashmap.lookup(did);
581  if (rawid==0)
582  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
583  HcalElectronicsId const& eid(rawid);
584  if (did.subdet()==HcalBarrel)
585  rawidHBValid = did.rawId();
586  else if (did.subdet()==HcalEndcap)
587  rawidHEValid = did.rawId();
588 
589  //double sumQ = hcaldqm::utilities::sumQ<HBHEDataFrame>(*it, 2.5, 0, it->size()-1);
590  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<HBHEDataFrame>(_dbService, did, *it);
591  double sumQ = hcaldqm::utilities::sumQDB<HBHEDataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
592 
593  // filter out channels that are masked out
594  if (_xQuality.exists(did))
595  {
596  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
597  if (
600  continue;
601  }
602 
603  _cSumQ_SubdetPM.fill(did, sumQ);
604  _cOccupancy_depth.fill(did);
605  if (_ptype == fOnline || _ptype == fLocal) {
608  }
609  if (_ptype==fOnline)
610  {
611  _cDigiSizevsLS_FED.fill(eid, _currentLS, it->size());
612  it->size()!=constants::DIGISIZE[did.subdet()-1]?
616  }
617  _cDigiSize_Crate.fill(eid, it->size());
618  if (_ptype != fOffline) { // hidefed2crate
619  _cDigiSize_FED.fill(eid, it->size());
620  if (eid.isVMEid())
621  {
624  }
625  else
626  {
629  /*
630  if (!it->validate(0, it->size()))
631  {
632  _cCapIdRots_depth.fill(did);
633  _cCapIdRots_FEDuTCA.fill(eid, 1);
634  }*/
635  }
636  }
637 
638  for (int i=0; i<it->size(); i++)
639  {
640  _cADC_SubdetPM.fill(did, it->sample(i).adc());
641  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
642  if (_ptype != fOffline) { // hidefed2crate
643  _cADCvsTS_SubdetPM.fill(did, i, it->sample(i).nominal_fC());
644  if (sumQ>_cutSumQ_HBHE) {
645  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
646  }
647  }
648  }
649 
650  if (sumQ>_cutSumQ_HBHE)
651  {
652  //double timing = hcaldqm::utilities::aveTS<HBHEDataFrame>(*it, 2.5, 0, it->size()-1);
653  double timing = hcaldqm::utilities::aveTSDB<HBHEDataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
654  _cTimingCut_SubdetPM.fill(did, timing);
655  _cTimingCut_depth.fill(did, timing);
658  if (_ptype != fOffline) { // hidefed2crate
660  }
661  _cSumQ_depth.fill(did, sumQ);
662  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
663  if (_ptype==fOnline)
664  {
665  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
666  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
667  _cTimingCutvsieta_Subdet.fill(did, timing);
671  }
672  if (_ptype != fOffline) { // hidefed2crate
673  if (eid.isVMEid())
674  {
675  _cTimingCut_FEDVME.fill(eid, timing);
679  }
680  else
681  {
682  _cTimingCut_FEDuTCA.fill(eid, timing);
686  }
687  }
688  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
689  }
690  did.subdet()==HcalBarrel?numChs++:numChsHE++;
691  }
692 
693  // HEP17 collection
694  // The following are filled w.r.t. HBHE digis
695  // - All eta-phi maps
696  // - Occupancy in electronics coordinates
697  // - Digi size
698  //
699  // The following are not filled:
700  // - ADC, fC, sumQ, timing. These are different for QIE11 vs. QIE8. Find them in QIE11Task instead.
701  for (QIE11DigiCollection::const_iterator it=chep17->begin(); it!=chep17->end();
702  ++it)
703  {
704  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
705 
706  // Explicit check on the DetIds present in the Collection
707  HcalDetId const& did = digi.detid();
708  uint32_t rawid = _ehashmap.lookup(did);
709  if (rawid==0)
710  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
711  HcalElectronicsId const& eid(rawid);
712  if (did.subdet()==HcalBarrel) // Note: since this is HEP17, we obviously expect did.subdet() always to be HcalEndcap, but QIE11DigiCollection may someday expand.
713  rawidHBValid = did.rawId();
714  else if (did.subdet()==HcalEndcap)
715  rawidHEValid = did.rawId();
716 
717  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(digi, 2.5, 0, digi.samples()-1);
718  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE11DataFrame>(_dbService, did, digi);
719  double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
720 
721  // filter out channels that are masked out
722  if (_xQuality.exists(did))
723  {
724  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
725  if (
728  continue;
729  }
730 
731  _cOccupancy_depth.fill(did);
732  if (_ptype==fOnline)
733  {
734  _cDigiSizevsLS_FED.fill(eid, _currentLS, digi.samples());
735  digi.samples()!=constants::DIGISIZE[did.subdet()-1]?
739  }
740  _cDigiSize_Crate.fill(eid, digi.samples());
741  if (_ptype != fOffline) { // hidefed2crate
742  _cDigiSize_FED.fill(eid, digi.samples());
743  if (eid.isVMEid())
744  {
747  }
748  else
749  {
752  /*
753  if (!digi.validate(0, digi.size()))
754  {
755  _cCapIdRots_depth.fill(did);
756  _cCapIdRots_FEDuTCA.fill(eid, 1);
757  }*/
758  }
759  }
760 
761  if (sumQ>_cutSumQ_HEP17)
762  {
763  //double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(digi, 2.5, 0,digi.samples()-1);
764  double timing = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
765 
767  _cTimingCut_depth.fill(did, timing);
768  _cSumQ_depth.fill(did, sumQ);
769  if (_ptype==fOnline)
770  {
774  }
775  if (_ptype != fOffline) { // hidefed2crate
776  if (eid.isVMEid())
777  {
780  }
781  else
782  {
785  }
786  }
787  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
788  }
789  did.subdet()==HcalBarrel?numChs++:numChsHE++;
790  }
791 
792  if (rawidHBValid!=0 && rawidHEValid!=0)
793  {
795  numChs);
797  numChsHE);
798  // ONLINE ONLY!
799  if (_ptype==fOnline)
800  {
802  _currentLS, numChsCut);
803  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHBValid), bx,
804  numChsCut);
806  _currentLS, numChsCutHE);
807  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidHEValid), bx,
808  numChsCutHE);
809  }
810  // ^^^ONLINE ONLY!
811  }
812  numChs=0;
813  numChsCut = 0;
814 
815  // reset
816  rawidValid = 0;
817 
818 
819  // HO collection
820  for (HODigiCollection::const_iterator it=cho->begin(); it!=cho->end();
821  ++it)
822  {
823  // Explicit check on the DetIds present in the Collection
824  HcalDetId const& did = it->id();
825  uint32_t rawid = _ehashmap.lookup(did);
826  if (rawid==0)
827  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
828  HcalElectronicsId const& eid(rawid);
829  if (did.subdet()==HcalOuter)
830  rawidValid = did.rawId();
831 
832  //double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
833  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<HODataFrame>(_dbService, did, *it);
834  double sumQ = hcaldqm::utilities::sumQDB<HODataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
835 
836  // filter out channels that are masked out
837  if (_xQuality.exists(did))
838  {
839  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
840  if (
843  continue;
844  }
845 
846  _cSumQ_SubdetPM.fill(did, sumQ);
847  _cOccupancy_depth.fill(did);
848  if (_ptype==fOnline)
849  {
850  _cDigiSizevsLS_FED.fill(eid, _currentLS, it->size());
851  it->size()!=constants::DIGISIZE[did.subdet()-1]?
855  }
856  _cDigiSize_Crate.fill(eid, it->size());
857  if (_ptype != fOffline) { // hidefed2crate
858  _cDigiSize_FED.fill(eid, it->size());
859  if (eid.isVMEid())
860  {
863  /*
864  if (!it->validate(0, it->size()))
865  _cCapIdRots_FEDVME.fill(eid, 1);
866  */
867  }
868  else
869  {
872  /*
873  if (!it->validate(0, it->size()))
874  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
875  }
876  }
877 
878  for (int i=0; i<it->size(); i++)
879  {
880  _cADC_SubdetPM.fill(did, it->sample(i).adc());
881  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
882  if (_ptype != fOffline) { // hidefed2crate
883  _cADCvsTS_SubdetPM.fill(did, i, it->sample(i).nominal_fC());
884  if (sumQ>_cutSumQ_HO)
885  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
886  }
887  }
888 
889  if (sumQ>_cutSumQ_HO)
890  {
891  //double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0,it->size()-1);
892  double timing = hcaldqm::utilities::aveTSDB<HODataFrame>(_dbService, digi_fC, did, *it, 0, it->size()-1);
893  _cSumQ_depth.fill(did, sumQ);
894  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
896  _cTimingCut_SubdetPM.fill(did, timing);
897  _cTimingCut_depth.fill(did, timing);
899  if (_ptype != fOffline) { // hidefed2crate
901  }
902  if (_ptype==fOnline)
903  {
904  _cSumQvsBX_SubdetPM.fill(did, bx, sumQ);
905  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
906  _cTimingCutvsieta_Subdet.fill(did, timing);
910  }
911  if (_ptype != fOffline) { // hidefed2crate
912  if (eid.isVMEid())
913  {
914  _cTimingCut_FEDVME.fill(eid, timing);
918  }
919  else
920  {
921  _cTimingCut_FEDuTCA.fill(eid, timing);
925  }
926  }
927  numChsCut++;
928  }
929  numChs++;
930  }
931 
932  if (rawidValid!=0)
933  {
935  numChs);
936 
937  if (_ptype==fOnline)
938  {
940  _currentLS, numChsCut);
941  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx,
942  numChsCut);
943  }
944  }
945  numChs=0; numChsCut=0;
946 
947  // reset
948  rawidValid = 0;
949 
950  // HF collection
951  if (_qie10InConditions) {
952  for (QIE10DigiCollection::const_iterator it=chf->begin(); it!=chf->end(); ++it) {
953  const QIE10DataFrame digi = static_cast<const QIE10DataFrame>(*it);
954 
955  // Explicit check on the DetIds present in the Collection
956  HcalDetId const& did = digi.detid();
957 
958  // Require subdet == HF. In 2017, calibration channels are included in QIE10DigiCollection :(
959  if (did.subdet() != HcalForward) {
960  continue;
961  }
962 
963  uint32_t rawid = _ehashmap.lookup(did);
964  if (rawid==0) {
965  meUnknownIds1LS->Fill(1);
966  _unknownIdsPresent=true;
967  continue;
968  }
969  HcalElectronicsId const& eid(rawid);
970  if (did.subdet()==HcalForward)
971  rawidValid = did.rawId();
972 
973  CaloSamples digi_fC = hcaldqm::utilities::loadADC2fCDB<QIE10DataFrame>(_dbService, did, digi);
974  double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(_dbService, digi_fC, did, digi, 0, digi.samples()-1);
975  //double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(digi, 2.5, 0, digi.samples()-1);
976 
977 
978  // filter out channels that are masked out
979  if (_xQuality.exists(did))
980  {
981  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
982  if (
985  continue;
986  }
987  if (!_filter_HF.filter(did)) {
988  _cSumQ_SubdetPM_HF.fill(did, sumQ);
989  }
990  _cOccupancy_depth.fill(did);
991  if (_ptype==fOnline)
992  {
993  _xNChs.get(eid)++;
994  _cDigiSizevsLS_FED.fill(eid, _currentLS, digi.samples());
995  digi.samples()!=constants::DIGISIZE[did.subdet()-1]?
999  }
1000  _cDigiSize_Crate.fill(eid, digi.samples());
1001  if (_ptype != fOffline) { // hidefed2crate
1002  _cDigiSize_FED.fill(eid, digi.samples());
1003  if (eid.isVMEid())
1004  {
1007  /*
1008  if (!it->validate(0, it->size()))
1009  _cCapIdRots_FEDVME.fill(eid, 1);*/
1010  }
1011  else
1012  {
1015  /*
1016  if (!it->validate(0, it->size()))
1017  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
1018  }
1019  }
1020 
1021  for (int i=0; i<digi.samples(); i++)
1022  {
1023  double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, i);
1024  if (!_filter_HF.filter(did)) {
1025  _cADC_SubdetPM_HF.fill(did, digi[i].adc());
1026  _cfC_SubdetPM_HF.fill(did, q);
1027  _cLETDCvsADC_SubdetPM.fill(did, digi[i].adc(), digi[i].le_tdc());
1028  _cLETDCvsTS_SubdetPM.fill(did, (int)i, digi[i].le_tdc());
1029  if (digi[i].le_tdc() <50) {
1030  double time = i*25. + (digi[i].le_tdc() / 2.);
1031  _cLETDCTime_SubdetPM.fill(did, time);
1032  _cLETDCTimevsADC_SubdetPM.fill(did, digi[i].adc(), time);
1033  }
1034  }
1035 
1036  if (_ptype != fOffline) { // hidefed2crate
1037  _cADCvsTS_SubdetPM_HF.fill(did, (int)i, q);
1038  if (sumQ>_cutSumQ_HF)
1039  _cShapeCut_FED.fill(eid, (int)i, q);
1040  }
1041  }
1042 
1043  if (sumQ>_cutSumQ_HF)
1044  {
1045  double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0,
1046  digi.samples()-1);
1047  double q1 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, 1);
1048  double q2 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi, 2);
1049  double q2q12 = q2/(q1+q2);
1050  _cSumQ_depth.fill(did, sumQ);
1051  if (!_filter_HF.filter(did)) {
1053  }
1054  if (_ptype==fOnline)
1055  {
1056  if (!_filter_HF.filter(did)) {
1057  _cSumQvsBX_SubdetPM_HF.fill(did, bx, sumQ);
1058  }
1059  _cTimingCutvsiphi_SubdetPM.fill(did, timing);
1060  _cTimingCutvsieta_Subdet.fill(did, timing);
1064  // _cOccupancyCutvsSlotvsLS_HFPM.fill(did, _currentLS);
1065  _xUniHF.get(eid)++;
1066  }
1067  _cTimingCut_SubdetPM.fill(did, timing);
1068  _cTimingCut_depth.fill(did, timing);
1070  if (_ptype != fOffline) { // hidefed2crate
1072  }
1074  if (!eid.isVMEid())
1075  if (_ptype==fOnline)
1077  if (_ptype != fOffline) { // hidefed2crate
1078  if (eid.isVMEid())
1079  {
1080  _cTimingCut_FEDVME.fill(eid, timing);
1084  }
1085  else
1086  {
1087  _cTimingCut_FEDuTCA.fill(eid, timing);
1091  }
1092  }
1093  numChsCut++;
1094  }
1095  numChs++;
1096  }
1097  }
1098 
1099  if (rawidValid!=0)
1100  {
1102  numChs);
1103 
1104  if (_ptype==fOnline)
1105  {
1107  _currentLS, numChsCut);
1108  _cOccupancyCutvsBX_Subdet.fill(HcalDetId(rawidValid), bx,
1109  numChsCut);
1110  }
1111  }
1112 }
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 1114 of file DigiTask.cc.

Referenced by ~DigiTask().

1116 {
1117  DQTask::beginLuminosityBlock(lb, es);
1118 }
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 1120 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(), and hcaldqm::ContainerSingle2D::setBinContent().

Referenced by ~DigiTask().

1122 {
1123  if (_ptype!=fOnline)
1124  return;
1125 
1126  for (uintCompactMap::const_iterator it=_xUniHF.begin();
1127  it!=_xUniHF.end(); ++it)
1128  {
1129  uint32_t hash1 = it->first;
1130  HcalElectronicsId eid1(hash1);
1131  double x1 = it->second;
1132 
1133  for (uintCompactMap::const_iterator jt=_xUniHF.begin();
1134  jt!=_xUniHF.end(); ++jt)
1135  {
1136  if (jt==it)
1137  continue;
1138  double x2 = jt->second;
1139  if (x2==0)
1140  continue;
1141  if (x1/x2<_thresh_unihf)
1142  _xUni.get(eid1)++;
1143  }
1144  }
1145 
1146  if (_ptype != fOffline) { // hidefed2crate
1147  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
1148  it!=_vhashFEDs.end(); ++it)
1149  {
1150  hcaldqm::flag::Flag fSum("DIGI");
1152 
1153  std::vector<uint32_t>::const_iterator cit=std::find(
1154  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
1155  if (cit==_vcdaqEids.end())
1156  {
1157  // not @cDAQ
1158  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
1159  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
1160  int(hcaldqm::flag::fNCDAQ));
1162  continue;
1163  }
1164 
1165  // FED is @cDAQ
1168  {
1169  if (_xDigiSize.get(eid)>0)
1171  else
1173  if (hcaldqm::utilities::isFEDHF(eid))
1174  {
1175  double fr = double(_xNChs.get(eid))/double(
1176  _xNChsNominal.get(eid)*_evsPerLS);
1177  if (_runkeyVal==0 || _runkeyVal==4)
1178  {
1179  // only for pp or hi
1180  if (_xUni.get(eid)>0)
1182  else
1183  _vflags[fUni]._state = hcaldqm::flag::fGOOD;
1184  }
1185  if (fr<0.95)
1187  else if (fr<1.0)
1189  else
1191  }
1192  }
1193  if (_unknownIdsPresent)
1195  else
1197 
1198  int iflag=0;
1199  for (std::vector<hcaldqm::flag::Flag>::iterator ft=_vflags.begin();
1200  ft!=_vflags.end(); ++ft)
1201  {
1203  int(ft->_state));
1204  fSum+=(*ft);
1205  iflag++;
1206 
1207  // reset!
1208  ft->reset();
1209  }
1210  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
1211  }
1212  }
1213 
1215  _xNChs.reset();
1216 
1217  // in the end always do the DQTask::endLumi
1218  DQTask::endLuminosityBlock(lb, es);
1219 }
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().