CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
hcaldqm::DQTask Class Referenceabstract

#include <DQTask.h>

Inheritance diagram for hcaldqm::DQTask:
DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > > hcaldqm::DQModule edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper DigiComparisonTask DigiTask HFRaddamTask LaserTask LEDTask NoCQTask PedestalTask QIE10Task QIE11Task RawTask RecHitTask TestTask TPComparisonTask TPTask UMNioTask

Public Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
std::shared_ptr< hcaldqm::CacheglobalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule () noexcept(false)
 

Protected Member Functions

virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 
virtual void _process (edm::Event const &, edm::EventSetup const &)=0
 
virtual void _resetMonitors (UpdateFreq)
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Protected Attributes

ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
edm::ESHandle< HcalDbService_dbService
 
const HcalElectronicsMap_emap = nullptr
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT< FEDRawDataCollection_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcdhcalChannelQualityToken_
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
edm::ESGetToken< RunInfo, RunInfoRcdrunInfoToken_
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
edm::EDPutTokenT< DQMTokenrunToken_
 
- 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 DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 33 of file DQTask.h.

Constructor & Destructor Documentation

◆ DQTask()

hcaldqm::DQTask::DQTask ( edm::ParameterSet const &  ps)

Definition at line 8 of file DQTask.cc.

9  : DQModule(ps),
10  _cEvsTotal(_name, "EventsTotal"),
11  _cEvsPerLS(_name, "EventsPerLS"),
12  _cRunKeyVal(_name, "RunKeyValue"),
13  _cRunKeyName(_name, "RunKeyName"),
14  _cProcessingTypeName(_name, "ProcessingType"),
15  _procLSs(0),
16  hcalDbServiceToken_(esConsumes<HcalDbService, HcalDbRecord, edm::Transition::BeginRun>()),
17  runInfoToken_(esConsumes<RunInfo, RunInfoRcd, edm::Transition::BeginRun>()),
19  esConsumes<HcalChannelQuality, HcalChannelQualityRcd, edm::Transition::BeginLuminosityBlock>(
20  edm::ESInputTag("", "withTopo"))) {
21  // tags and Tokens
22  _tagRaw = ps.getUntrackedParameter<edm::InputTag>("tagRaw", edm::InputTag("rawDataCollector"));
23  _tokRaw = consumes<FEDRawDataCollection>(_tagRaw);
24  }

References _tagRaw, _tokRaw, edm::ParameterSet::getUntrackedParameter(), and HLT_2018_cff::InputTag.

◆ ~DQTask()

hcaldqm::DQTask::~DQTask ( )
inlineoverride

Definition at line 37 of file DQTask.h.

37 {}

Member Function Documentation

◆ _getCalibType()

int hcaldqm::DQTask::_getCalibType ( edm::Event const &  e)
protectedvirtual

Definition at line 153 of file DQTask.cc.

153  {
154  int calibType = 0;
155 
157  if (!e.getByToken(_tokRaw, craw))
158  _logger.dqmthrow("Collection FEDRawDataCollection isn't available " + _tagRaw.label() + " " + _tagRaw.instance());
159 
160  int badFEDs = 0;
161  std::vector<int> types(8, 0);
162  for (int i = FED_VME_MIN; i <= FED_VME_MAX; i++) {
163  FEDRawData const &fd = craw->FEDData(i);
164  if (fd.size() < 24) {
165  badFEDs++;
166  continue;
167  }
168  int cval = (int)((HcalDCCHeader const *)(fd.data()))->getCalibType();
169  if (cval > 7)
170  _logger.warn("Unexpected Calib Type in FED " + std::to_string(i));
171  types[cval]++;
172  }
173  for (int i = FED_uTCA_MIN; i <= FED_uTCA_MAX; i++) {
174  FEDRawData const &fd = craw->FEDData(i);
175  if (fd.size() < 24) {
176  badFEDs++;
177  continue;
178  }
179  int cval = (int)((HcalDCCHeader const *)(fd.data()))->getCalibType();
180  if (cval > 7)
181  _logger.warn("Unexpected Calib Type in FED " + std::to_string(i));
182  types[cval]++;
183  }
184 
185  int max = 0;
186  for (unsigned int ic = 0; ic < 8; ic++) {
187  if (types[ic] > max) {
188  max = types[ic];
189  calibType = ic;
190  }
191  }
192  if (max != (FED_VME_NUM + (FED_uTCA_MAX - FED_uTCA_MIN + 1) - badFEDs))
193  _logger.warn("Conflicting Calibration Types found. Assigning " + std::to_string(calibType));
194 
195  return calibType;
196  }

References hcaldqm::DQModule::_logger, _tagRaw, _tokRaw, Logger::dqmthrow(), MillePedeFileConverter_cfg::e, ztee::fd, hcaldqm::constants::FED_uTCA_MAX, hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MAX, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FED_VME_NUM, FEDRawDataCollection::FEDData(), mps_fire::i, edm::InputTag::instance(), createfilelist::int, edm::InputTag::label(), SiStripPI::max, and Logger::warn().

◆ _isApplicable()

virtual bool hcaldqm::DQTask::_isApplicable ( edm::Event const &  )
inlineprotectedvirtual

Reimplemented in LaserTask, LEDTask, PedestalTask, QIE11Task, and HFRaddamTask.

Definition at line 51 of file DQTask.h.

51 { return true; }

Referenced by analyze().

◆ _process()

virtual void hcaldqm::DQTask::_process ( edm::Event const &  ,
edm::EventSetup const &   
)
protectedpure virtual

◆ _resetMonitors()

void hcaldqm::DQTask::_resetMonitors ( UpdateFreq  uf)
protectedvirtual

Reimplemented in LaserTask, DigiTask, LEDTask, RecHitTask, RawTask, PedestalTask, TPTask, QIE10Task, QIE11Task, TPComparisonTask, DigiComparisonTask, NoCQTask, and TestTask.

Definition at line 134 of file DQTask.cc.

134  {
135  // reset per event
136  switch (uf) {
137  case fEvent:
138  break;
139  case f1LS:
140  _evsPerLS = 0;
141  break;
142  case f10LS:
143  break;
144  case f50LS:
145  break;
146  case f100LS:
147  break;
148  default:
149  break;
150  }
151  }

References hcaldqm::DQModule::_evsPerLS, hcaldqm::f100LS, hcaldqm::f10LS, hcaldqm::f1LS, hcaldqm::f50LS, and hcaldqm::fEvent.

Referenced by analyze(), and dqmBeginRun().

◆ analyze()

void hcaldqm::DQTask::analyze ( edm::Event const &  e,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< hcaldqm::Cache > >.

Definition at line 30 of file DQTask.cc.

30  {
31  this->_resetMonitors(fEvent);
32  _logger.debug(_name + " processing");
33  if (!this->_isApplicable(e))
34  return;
35 
36  _evsTotal++;
38 
39  auto lumiCache = luminosityBlockCache(e.getLuminosityBlock().index());
40  lumiCache->EvtCntLS++;
41  _evsPerLS = lumiCache->EvtCntLS;
43 
44  this->_process(e, es);
45  }

References _cEvsPerLS, _cEvsTotal, hcaldqm::DQModule::_evsPerLS, hcaldqm::DQModule::_evsTotal, _isApplicable(), hcaldqm::DQModule::_logger, hcaldqm::DQModule::_name, _process(), _resetMonitors(), Logger::debug(), MillePedeFileConverter_cfg::e, hcaldqm::fEvent, and hcaldqm::ContainerI::fill().

◆ bookHistograms()

void hcaldqm::DQTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
override

Definition at line 47 of file DQTask.cc.

47  {
48  // initialize some containers to be used by all modules
50 
51  // get the run info FEDs - FEDs registered at cDAQ
52  // and determine if there are any HCAL FEDs in.
53  // push them as ElectronicsIds into the vector
54  if (auto runInfoRec = es.tryToGet<RunInfoRcd>()) {
55  const RunInfo &runInfo = es.getData(runInfoToken_);
56  std::vector<int> vfeds = runInfo.m_fed_in;
57  for (std::vector<int>::const_iterator it = vfeds.begin(); it != vfeds.end(); ++it) {
58  if (*it >= constants::FED_VME_MIN && *it <= FED_VME_MAX)
59  _vcdaqEids.push_back(
61  .rawId());
62  else if (*it >= constants::FED_uTCA_MIN && *it <= FEDNumbering::MAXHCALuTCAFEDID) {
63  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
64  _vcdaqEids.push_back(
65  HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
66  }
67  }
68  }
69 
70  // book some base guys
76 
77  // fill what you can now
81 
82  // Load conditions and emap
83  _dbService = es.getHandle(hcalDbServiceToken_);
85  }

References _cEvsPerLS, _cEvsTotal, _cProcessingTypeName, _cRunKeyName, _cRunKeyVal, _dbService, _emap, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_runkeyName, hcaldqm::DQModule::_runkeyVal, hcaldqm::DQModule::_subsystem, _vcdaqEids, _xQuality, hcaldqm::ContainerI::book(), hcaldqm::ContainerS::book(), hcaldqm::hashfunctions::fDChannel, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_uTCA_MIN, hcaldqm::constants::FED_VME_MAX, hcaldqm::constants::FED_VME_MIN, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::ContainerI::fill(), hcaldqm::ContainerS::fill(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), HcalDbService::getHcalMapping(), hcalDbServiceToken_, cuy::ib, hcaldqm::ContainerXXX< STDTYPE >::initialize(), RunInfo::m_fed_in, FEDNumbering::MAXHCALuTCAFEDID, hcaldqm::pTypeNames, HcalElectronicsId::rawId(), runInfoToken_, hcaldqm::constants::SPIGOT_MIN, and edm::EventSetup::tryToGet().

◆ dqmBeginRun()

void hcaldqm::DQTask::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

◆ globalBeginLuminosityBlock()

std::shared_ptr< hcaldqm::Cache > hcaldqm::DQTask::globalBeginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
) const
override

Definition at line 95 of file DQTask.cc.

96  {
97  auto d = std::make_shared<hcaldqm::Cache>();
98  d->currentLS = lb.luminosityBlock();
99  d->EvtCntLS = 0;
100 
101  /* //// these resets were not useful anymore
102  this->_resetMonitors(f1LS);
103  if (_procLSs % 10 == 0)
104  this->_resetMonitors(f10LS);
105  if (_procLSs % 50 == 0)
106  this->_resetMonitors(f50LS);
107  if (_procLSs % 100 == 0)
108  this->_resetMonitors(f100LS);
109 */
110 
111  // get the Channel Quality Status for all the channels
112  d->xQuality.initialize(hashfunctions::fDChannel);
113  d->xQuality.reset();
114  const HcalChannelQuality &cq = es.getData(hcalChannelQualityToken_);
115  std::vector<DetId> detids = cq.getAllChannels();
116  for (std::vector<DetId>::const_iterator it = detids.begin(); it != detids.end(); ++it) {
117  // if unknown skip
119  continue;
120 
121  if (HcalGenericDetId(*it).isHcalDetId()) {
122  HcalDetId did(*it);
123  uint32_t mask = (cq.getValues(did))->getValue();
124  if (mask != 0) {
125  d->xQuality.push(did, mask);
126  }
127  }
128  }
129  return d;
130  }

References ztail::d, hcaldqm::hashfunctions::fDChannel, HcalGenericDetId::genericSubdet(), HcalCondObjectContainer< Item >::getAllChannels(), edm::EventSetup::getData(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), hcalChannelQualityToken_, HcalGenericDetId::HcalGenUnknown, HcalGenericDetId::isHcalDetId(), and edm::LuminosityBlockBase::luminosityBlock().

◆ globalEndLuminosityBlock()

void hcaldqm::DQTask::globalEndLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
override

Definition at line 132 of file DQTask.cc.

132 { _procLSs++; }

References _procLSs.

Member Data Documentation

◆ _cEvsPerLS

ContainerI hcaldqm::DQTask::_cEvsPerLS
protected

Definition at line 56 of file DQTask.h.

Referenced by analyze(), and bookHistograms().

◆ _cEvsTotal

ContainerI hcaldqm::DQTask::_cEvsTotal
protected

Definition at line 55 of file DQTask.h.

Referenced by analyze(), and bookHistograms().

◆ _cProcessingTypeName

ContainerS hcaldqm::DQTask::_cProcessingTypeName
protected

Definition at line 59 of file DQTask.h.

Referenced by bookHistograms().

◆ _cRunKeyName

ContainerS hcaldqm::DQTask::_cRunKeyName
protected

Definition at line 58 of file DQTask.h.

Referenced by bookHistograms().

◆ _cRunKeyVal

ContainerI hcaldqm::DQTask::_cRunKeyVal
protected

Definition at line 57 of file DQTask.h.

Referenced by bookHistograms().

◆ _dbService

edm::ESHandle<HcalDbService> hcaldqm::DQTask::_dbService
protected

◆ _emap

const HcalElectronicsMap* hcaldqm::DQTask::_emap = nullptr
protected

◆ _procLSs

int hcaldqm::DQTask::_procLSs
protected

Definition at line 62 of file DQTask.h.

Referenced by globalEndLuminosityBlock().

◆ _tagRaw

edm::InputTag hcaldqm::DQTask::_tagRaw
protected

Definition at line 71 of file DQTask.h.

Referenced by _getCalibType(), and DQTask().

◆ _tokRaw

edm::EDGetTokenT<FEDRawDataCollection> hcaldqm::DQTask::_tokRaw
protected

Definition at line 72 of file DQTask.h.

Referenced by _getCalibType(), and DQTask().

◆ _vcdaqEids

std::vector<uint32_t> hcaldqm::DQTask::_vcdaqEids
protected

◆ _xQuality

ContainerXXX<uint32_t> hcaldqm::DQTask::_xQuality
protected

◆ hcalChannelQualityToken_

edm::ESGetToken<HcalChannelQuality, HcalChannelQualityRcd> hcaldqm::DQTask::hcalChannelQualityToken_
protected

Definition at line 77 of file DQTask.h.

Referenced by globalBeginLuminosityBlock().

◆ hcalDbServiceToken_

edm::ESGetToken<HcalDbService, HcalDbRecord> hcaldqm::DQTask::hcalDbServiceToken_
protected

Definition at line 75 of file DQTask.h.

Referenced by bookHistograms().

◆ runInfoToken_

edm::ESGetToken<RunInfo, RunInfoRcd> hcaldqm::DQTask::runInfoToken_
protected

Definition at line 76 of file DQTask.h.

Referenced by bookHistograms().

hcaldqm::constants::FED_VME_MIN
const int FED_VME_MIN
Definition: Constants.h:80
hcaldqm::ContainerXXX::initialize
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
hcaldqm::DQTask::_tokRaw
edm::EDGetTokenT< FEDRawDataCollection > _tokRaw
Definition: DQTask.h:72
mps_fire.i
i
Definition: mps_fire.py:355
edm::ESInputTag
Definition: ESInputTag.h:87
hcaldqm::DQTask::_cRunKeyName
ContainerS _cRunKeyName
Definition: DQTask.h:58
hcaldqm::DQTask::_tagRaw
edm::InputTag _tagRaw
Definition: DQTask.h:71
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
HcalGenericDetId
Definition: HcalGenericDetId.h:15
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:118
hcaldqm::DQTask::_procLSs
int _procLSs
Definition: DQTask.h:62
hcaldqm::DQModule::_evsTotal
int _evsTotal
Definition: DQModule.h:50
hcaldqm::ContainerI::fill
virtual void fill(int x)
Definition: ContainerI.h:19
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:126
RunInfo::m_fed_in
std::vector< int > m_fed_in
Definition: RunInfo.h:25
HcalChannelQuality
Definition: HcalChannelQuality.h:17
hcaldqm::DQModule::_runkeyVal
int _runkeyVal
Definition: DQModule.h:46
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:43
hcaldqm::DQTask::hcalDbServiceToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: DQTask.h:75
edm::Handle
Definition: AssociativeIterator.h:50
hcaldqm::DQTask::_cEvsPerLS
ContainerI _cEvsPerLS
Definition: DQTask.h:56
HcalCondObjectContainer::getValues
const Item * getValues(DetId fId, bool throwOnFail=true) const
Definition: HcalCondObjectContainer.h:159
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
FEDRawData
Definition: FEDRawData.h:19
hcaldqm::DQTask::_xQuality
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:65
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
ztee.fd
fd
Definition: ztee.py:136
RunInfo
Definition: RunInfo.h:18
hcaldqm::DQTask::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: DQTask.h:76
HcalGenericDetId::HcalGenUnknown
Definition: HcalGenericDetId.h:27
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:123
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::DQModule::_name
std::string _name
Definition: DQModule.h:41
Logger::warn
void warn(std::string const &msg) const
Definition: Logger.h:13
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:132
hcaldqm::constants::FED_VME_NUM
const int FED_VME_NUM
Definition: Constants.h:83
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
RunInfoRcd
Definition: RunSummaryRcd.h:26
hcaldqm::ContainerS::fill
virtual void fill(std::string const &x)
Definition: ContainerS.h:20
hcaldqm::DQTask::_isApplicable
virtual bool _isApplicable(edm::Event const &)
Definition: DQTask.h:51
Logger::dqmthrow
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
hcaldqm::DQModule::_runkeyName
std::string _runkeyName
Definition: DQModule.h:47
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
hcaldqm::pTypeNames
const std::string pTypeNames[nProcessingType]
Definition: DQModule.h:28
hcaldqm::hashfunctions::fDChannel
Definition: HashFunctions.h:134
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
hcaldqm::constants::FED_uTCA_MIN
const int FED_uTCA_MIN
Definition: Constants.h:85
hcaldqm::DQTask::_process
virtual void _process(edm::Event const &, edm::EventSetup const &)=0
HcalCondObjectContainer::getAllChannels
std::vector< DetId > getAllChannels() const
Definition: HcalCondObjectContainer.h:312
hcaldqm::DQModule::_logger
Logger _logger
Definition: DQModule.h:54
reco::JetExtendedAssociation::getValue
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
Definition: JetExtendedAssociation.cc:50
hcaldqm::constants::FED_VME_MAX
const int FED_VME_MAX
Definition: Constants.h:81
FEDNumbering::MAXHCALuTCAFEDID
Definition: FEDNumbering.h:104
HcalDetId
Definition: HcalDetId.h:12
createfilelist.int
int
Definition: createfilelist.py:10
hcaldqm::ContainerI::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerI.h:21
hcaldqm::DQTask::_dbService
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:79
cuy.ib
ib
Definition: cuy.py:662
hcaldqm::f1LS
Definition: DQTask.h:32
hcaldqm::f100LS
Definition: DQTask.h:32
hcaldqm::DQTask::_vcdaqEids
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:68
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:48
HcalDCCHeader
Definition: HcalDCCHeader.h:17
types
types
Definition: AlignPCLThresholds_PayloadInspector.cc:30
hcaldqm::fEvent
Definition: DQTask.h:32
HcalGenericDetId::isHcalDetId
bool isHcalDetId() const
Definition: HcalGenericDetId.cc:64
hcaldqm::DQModule::DQModule
DQModule(edm::ParameterSet const &)
Definition: DQModule.cc:5
HcalGenericDetId::genericSubdet
HcalGenericSubdetector genericSubdet() const
Definition: HcalGenericDetId.cc:21
HcalElectronicsId::rawId
constexpr uint32_t rawId() const
Definition: HcalElectronicsId.h:59
hcaldqm::ContainerS::book
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerS.h:22
hcaldqm::DQTask::_emap
const HcalElectronicsMap * _emap
Definition: DQTask.h:80
hcaldqm::f10LS
Definition: DQTask.h:32
hcaldqm::utilities::fed2crate
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
hcaldqm::DQTask::hcalChannelQualityToken_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
Definition: DQTask.h:77
ztail.d
d
Definition: ztail.py:151
hcaldqm::DQTask::_cProcessingTypeName
ContainerS _cProcessingTypeName
Definition: DQTask.h:59
hcaldqm::DQTask::_cEvsTotal
ContainerI _cEvsTotal
Definition: DQTask.h:55
Logger::debug
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
hcaldqm::DQTask::_resetMonitors
virtual void _resetMonitors(UpdateFreq)
Definition: DQTask.cc:134
hcaldqm::f50LS
Definition: DQTask.h:32
edm::InputTag
Definition: InputTag.h:15
hcaldqm::DQTask::_cRunKeyVal
ContainerI _cRunKeyVal
Definition: DQTask.h:57
hcaldqm::constants::FED_uTCA_MAX
const int FED_uTCA_MAX
Definition: Constants.h:87
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
hcaldqm::DQModule::_evsPerLS
int _evsPerLS
Definition: DQModule.h:51