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:
DQMEDAnalyzer hcaldqm::DQModule edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper DigiComparisonTask DigiPhase1Task 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 beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DQTask () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () 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
 
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)
 
 ~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 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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) 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 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 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

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 DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
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 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 26 of file DQTask.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file DQTask.cc.

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

7  :
8  DQModule(ps),
9  _cEvsTotal(_name, "EventsTotal"),
10  _cEvsPerLS(_name, "EventsPerLS"),
11  _cRunKeyVal(_name, "RunKeyValue"),
12  _cRunKeyName(_name, "RunKeyName"),
13  _cProcessingTypeName(_name, "ProcessingType"),
14  _procLSs(0)
15  {
16  // tags and Tokens
17  _tagRaw = ps.getUntrackedParameter<edm::InputTag>("tagRaw",
18  edm::InputTag("rawDataCollector"));
19  _tokRaw = consumes<FEDRawDataCollection>(_tagRaw);
20  }
ContainerI _cEvsTotal
Definition: DQTask.h:52
ContainerS _cRunKeyName
Definition: DQTask.h:55
edm::InputTag _tagRaw
Definition: DQTask.h:68
edm::EDGetTokenT< FEDRawDataCollection > _tokRaw
Definition: DQTask.h:69
ContainerI _cEvsPerLS
Definition: DQTask.h:53
int _procLSs
Definition: DQTask.h:59
std::string _name
Definition: DQModule.h:57
ContainerS _cProcessingTypeName
Definition: DQTask.h:56
ContainerI _cRunKeyVal
Definition: DQTask.h:54
DQModule(edm::ParameterSet const &)
Definition: DQModule.cc:6
hcaldqm::DQTask::~DQTask ( )
inlineoverride

Member Function Documentation

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

Definition at line 171 of file DQTask.cc.

References hcaldqm::DQModule::_logger, _tagRaw, _tokRaw, FEDRawData::data(), Logger::dqmthrow(), 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(), edm::Event::getByToken(), mps_fire::i, edm::InputTag::instance(), createfilelist::int, edm::InputTag::label(), SiStripPI::max, FEDRawData::size(), and Logger::warn().

Referenced by _isApplicable().

172  {
173  int calibType = 0;
174 
176  if (!e.getByToken(_tokRaw, craw))
178  "Collection FEDRawDataCollection isn't available "
179  + _tagRaw.label() + " " + _tagRaw.instance());
180 
181  int badFEDs=0;
182  std::vector<int> types(8,0);
183  for (int i=FED_VME_MIN; i<=FED_VME_MAX; i++)
184  {
185  FEDRawData const& fd = craw->FEDData(i);
186  if (fd.size()<24)
187  {
188  badFEDs++;
189  continue;
190  }
191  int cval = (int)((HcalDCCHeader const*)(fd.data()))->getCalibType();
192  if (cval>7)
193  _logger.warn("Unexpected Calib Type in FED " +
194  std::to_string(i));
195  types[cval]++;
196  }
197  for (int i=FED_uTCA_MIN; i<=FED_uTCA_MAX; i++)
198  {
199  FEDRawData const& fd = craw->FEDData(i);
200  if (fd.size()<24)
201  {
202  badFEDs++;
203  continue;
204  }
205  int cval = (int)((HcalDCCHeader const*)(fd.data()))->getCalibType();
206  if (cval>7)
207  _logger.warn("Unexpected Calib Type in FED " +
208  std::to_string(i));
209  types[cval]++;
210  }
211 
212  int max = 0;
213  for (unsigned int ic=0; ic<8; ic++)
214  {
215  if (types[ic]>max)
216  {
217  max = types[ic];
218  calibType = ic;
219  }
220  }
221  if (max!=(FED_VME_NUM+(FED_uTCA_MAX-FED_uTCA_MIN+1)-badFEDs))
222  _logger.warn("Conflicting Calibration Types found. Assigning " +
223  std::to_string(calibType));
224 
225  return calibType;
226  }
void warn(std::string const &msg) const
Definition: Logger.h:20
edm::InputTag _tagRaw
Definition: DQTask.h:68
edm::EDGetTokenT< FEDRawDataCollection > _tokRaw
Definition: DQTask.h:69
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
int const FED_uTCA_MIN
Definition: Constants.h:103
int const FED_uTCA_MAX
Definition: Constants.h:105
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
int const FED_VME_MIN
Definition: Constants.h:98
Logger _logger
Definition: DQModule.h:70
int const FED_VME_NUM
Definition: Constants.h:101
std::string const & label() const
Definition: InputTag.h:36
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
int const FED_VME_MAX
Definition: Constants.h:99
std::string const & instance() const
Definition: InputTag.h:37
virtual bool hcaldqm::DQTask::_isApplicable ( edm::Event const &  )
inlineprotectedvirtual

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

Definition at line 48 of file DQTask.h.

References _getCalibType().

Referenced by analyze().

48 {return true;}
virtual void hcaldqm::DQTask::_process ( edm::Event const &  ,
edm::EventSetup const &   
)
protectedpure virtual
void hcaldqm::DQTask::_resetMonitors ( UpdateFreq  uf)
protectedvirtual

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

Definition at line 150 of file DQTask.cc.

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

Referenced by analyze(), beginLuminosityBlock(), dqmBeginRun(), and ~DQTask().

151  {
152  // reset per event
153  switch (uf)
154  {
155  case fEvent:
156  break;
157  case f1LS:
158  _evsPerLS = 0;
159  break;
160  case f10LS:
161  break;
162  case f50LS:
163  break;
164  case f100LS:
165  break;
166  default:
167  break;
168  }
169  }
void hcaldqm::DQTask::analyze ( edm::Event const &  e,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 26 of file DQTask.cc.

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

Referenced by ~DQTask().

28  {
29  this->_resetMonitors(fEvent);
30  _logger.debug(_name+" processing");
31  if (!this->_isApplicable(e))
32  return;
33 
36  this->_process(e, es);
37  }
ContainerI _cEvsTotal
Definition: DQTask.h:52
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
ContainerI _cEvsPerLS
Definition: DQTask.h:53
virtual bool _isApplicable(edm::Event const &)
Definition: DQTask.h:48
virtual void _process(edm::Event const &, edm::EventSetup const &)=0
virtual void fill(int x)
Definition: ContainerI.h:27
Logger _logger
Definition: DQModule.h:70
std::string _name
Definition: DQModule.h:57
virtual void _resetMonitors(UpdateFreq)
Definition: DQTask.cc:150
void hcaldqm::DQTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 127 of file DQTask.cc.

References hcaldqm::DQModule::_currentLS, _procLSs, _resetMonitors(), hcaldqm::f100LS, hcaldqm::f10LS, hcaldqm::f1LS, hcaldqm::f50LS, and edm::LuminosityBlockBase::luminosityBlock().

Referenced by ~DQTask().

130  {
131  _currentLS = lb.luminosityBlock();
132  this->_resetMonitors(f1LS);
133 
134  if (_procLSs%10==0)
135  this->_resetMonitors(f10LS);
136  if (_procLSs%50==0)
137  this->_resetMonitors(f50LS);
138  if (_procLSs%100==0)
139  this->_resetMonitors(f100LS);
140 
141  }
int _procLSs
Definition: DQTask.h:59
virtual void _resetMonitors(UpdateFreq)
Definition: DQTask.cc:150
void hcaldqm::DQTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Implements DQMEDAnalyzer.

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

Definition at line 39 of file DQTask.cc.

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::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), HcalGenericDetId::genericSubdet(), edm::EventSetup::get(), HcalCondObjectContainer< Item >::getAllChannels(), HcalDbService::getHcalMapping(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalGenericDetId::HcalGenUnknown, hcaldqm::ContainerXXX< STDTYPE >::initialize(), HcalGenericDetId::isHcalDetId(), RunInfo::m_fed_in, RecoTauDiscriminantConfiguration::mask, FEDNumbering::MAXHCALuTCAFEDID, edm::ESHandle< T >::product(), hcaldqm::pTypeNames, hcaldqm::ContainerXXX< STDTYPE >::push(), HcalElectronicsId::rawId(), and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~DQTask().

42  {
43  // initialize some containers to be used by all modules
45 
46  // get the run info FEDs - FEDs registered at cDAQ
47  // and determine if there are any HCAL FEDs in.
48  // push them as ElectronicsIds into the vector
51  "RunInfoRcd"));
52  if (es.find(recordKey))
53  {
55  es.get<RunInfoRcd>().get(ri);
56  std::vector<int> vfeds= ri->m_fed_in;
57  for (std::vector<int>::const_iterator it=vfeds.begin();
58  it!=vfeds.end(); ++it)
59  {
60  if (*it>=constants::FED_VME_MIN && *it<=FED_VME_MAX)
61  _vcdaqEids.push_back(HcalElectronicsId(
64  (*it)-FED_VME_MIN).rawId());
65  else if (*it>=constants::FED_uTCA_MIN &&
67  {
68  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
69  _vcdaqEids.push_back(HcalElectronicsId(
70  cspair.first, cspair.second,
71  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
72  }
73  }
74  }
75 
76  // get the Channel Quality Status for all the channels
78  es.get<HcalChannelQualityRcd>().get("withTopo", hcq);
79  const HcalChannelQuality *cq = hcq.product();
80  std::vector<DetId> detids = cq->getAllChannels();
81  for (std::vector<DetId>::const_iterator it=detids.begin();
82  it!=detids.end(); ++it)
83  {
84  // if unknown skip
85  if (HcalGenericDetId(*it).genericSubdet()==
87  continue;
88 
89  if (HcalGenericDetId(*it).isHcalDetId())
90  {
91  HcalDetId did(*it);
92  uint32_t mask = (cq->getValues(did))->getValue();
93  if (mask!=0)
94  {
95  _xQuality.push(did, mask);
96  }
97  }
98  }
99 
100  // book some base guys
106 
107  // fill what you can now
111 
112  // Load conditions and emap
113  es.get<HcalDbRecord>().get(_dbService);
115  }
constexpr uint32_t rawId() const
ContainerI _cEvsTotal
Definition: DQTask.h:52
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
ContainerS _cRunKeyName
Definition: DQTask.h:55
ContainerI _cEvsPerLS
Definition: DQTask.h:53
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
int const SPIGOT_MIN
Definition: Constants.h:136
virtual void push(HcalDetId const &, STDTYPE)
Definition: ContainerXXX.h:283
const Item * getValues(DetId fId, bool throwOnFail=true) const
int const FIBER_VME_MIN
Definition: Constants.h:141
int const FED_uTCA_MIN
Definition: Constants.h:103
int const FIBERCH_MIN
Definition: Constants.h:151
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(std::string const &x)
Definition: ContainerS.h:28
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
int const FED_VME_MIN
Definition: Constants.h:98
std::vector< DetId > getAllChannels() const
std::vector< int > m_fed_in
Definition: RunInfo.h:26
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerI.h:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
virtual void fill(int x)
Definition: ContainerI.h:27
virtual void book(DQMStore::IBooker &ib, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerS.h:33
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
bool isHcalDetId() const
edm::ESHandle< HcalDbService > _dbService
Definition: DQTask.h:72
const HcalElectronicsMap * getHcalMapping() const
std::string _subsystem
Definition: DQModule.h:64
std::string _runkeyName
Definition: DQModule.h:63
ContainerS _cProcessingTypeName
Definition: DQTask.h:56
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:65
std::string const pTypeNames[nProcessingType]
Definition: DQModule.h:41
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:89
HcalGenericSubdetector genericSubdet() const
int const FED_VME_MAX
Definition: Constants.h:99
ContainerI _cRunKeyVal
Definition: DQTask.h:54
T const * product() const
Definition: ESHandle.h:86
Readout chain identification for Hcal.
void hcaldqm::DQTask::dqmBeginRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 117 of file DQTask.cc.

References _resetMonitors(), hcaldqm::f100LS, hcaldqm::f10LS, hcaldqm::f1LS, hcaldqm::f50LS, and hcaldqm::fEvent.

Referenced by ~DQTask().

119  {
120  this->_resetMonitors(fEvent);
121  this->_resetMonitors(f1LS);
122  this->_resetMonitors(f10LS);
123  this->_resetMonitors(f50LS);
124  this->_resetMonitors(f100LS);
125  }
virtual void _resetMonitors(UpdateFreq)
Definition: DQTask.cc:150
void hcaldqm::DQTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 143 of file DQTask.cc.

References _procLSs.

Referenced by ~DQTask().

146  {
147  _procLSs++;
148  }
int _procLSs
Definition: DQTask.h:59

Member Data Documentation

ContainerI hcaldqm::DQTask::_cEvsPerLS
protected

Definition at line 53 of file DQTask.h.

Referenced by analyze(), and bookHistograms().

ContainerI hcaldqm::DQTask::_cEvsTotal
protected

Definition at line 52 of file DQTask.h.

Referenced by analyze(), and bookHistograms().

ContainerS hcaldqm::DQTask::_cProcessingTypeName
protected

Definition at line 56 of file DQTask.h.

Referenced by bookHistograms().

ContainerS hcaldqm::DQTask::_cRunKeyName
protected

Definition at line 55 of file DQTask.h.

Referenced by bookHistograms().

ContainerI hcaldqm::DQTask::_cRunKeyVal
protected

Definition at line 54 of file DQTask.h.

Referenced by bookHistograms().

edm::ESHandle<HcalDbService> hcaldqm::DQTask::_dbService
protected
HcalElectronicsMap const* hcaldqm::DQTask::_emap
protected
int hcaldqm::DQTask::_procLSs
protected

Definition at line 59 of file DQTask.h.

Referenced by beginLuminosityBlock(), and endLuminosityBlock().

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

Definition at line 68 of file DQTask.h.

Referenced by _getCalibType(), and DQTask().

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

Definition at line 69 of file DQTask.h.

Referenced by _getCalibType(), and DQTask().

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