CMS 3D CMS Logo

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

#include <DigiPhase1Task.h>

Inheritance diagram for DigiPhase1Task:
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

Public Member Functions

void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 DigiPhase1Task (edm::ParameterSet const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ~DigiPhase1Task () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void 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 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 _cDigiSize_FED
 
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
 
hcaldqm::Container1D _cfC_SubdetPM
 
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::ContainerProf1D _cSumQvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
 
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
 
double _cutSumQ_HBHE
 
double _cutSumQ_HF
 
double _cutSumQ_HO
 
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_FEDHF
 
hcaldqm::filter::HashFilter _filter_HF
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
double _thresh_unihf
 
edm::EDGetTokenT< QIE11DigiCollection_tokHBHE
 
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 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

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

Online:

Offline:

Definition at line 29 of file DigiPhase1Task.h.

Member Enumeration Documentation

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

Definition at line 58 of file DigiPhase1Task.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file DigiPhase1Task.cc.

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

7  :
8  DQTask(ps)
9 {
10  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE",
11  edm::InputTag("hcalDigis"));
12  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO",
13  edm::InputTag("hcalDigis"));
14  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF",
15  edm::InputTag("hcalDigis"));
16 
17  _tokHBHE = consumes<QIE11DigiCollection>(_tagHBHE);
18  _tokHO = consumes<HODigiCollection>(_tagHO);
19  _tokHF = consumes<QIE10DigiCollection>(_tagHF);
20 
21  _cutSumQ_HBHE = ps.getUntrackedParameter<double>("cutSumQ_HBHE", 20);
22  _cutSumQ_HO = ps.getUntrackedParameter<double>("cutSumQ_HO", 20);
23  _cutSumQ_HF = ps.getUntrackedParameter<double>("cutSumQ_HF", 20);
24  _thresh_unihf = ps.getUntrackedParameter<double>("thresh_unihf", 0.2);
25 
26  _vflags.resize(nDigiFlag);
27  _vflags[fUni]=hcaldqm::flag::Flag("UniSlotHF");
31 }
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::InputTag _tagHF
edm::EDGetTokenT< HODigiCollection > _tokHO
std::vector< hcaldqm::flag::Flag > _vflags
double _cutSumQ_HBHE
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
double _thresh_unihf
edm::InputTag _tagHO
edm::InputTag _tagHBHE
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
DigiPhase1Task::~DigiPhase1Task ( )
inlineoverride

Member Function Documentation

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

Implements hcaldqm::DQTask.

Definition at line 295 of file DigiPhase1Task.cc.

References _cADC_SubdetPM, _cDigiSize_FED, _cfC_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyvsLS_Subdet, _cShapeCut_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQvsLS_SubdetPM, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsLS_FED, hcaldqm::DQModule::_currentLS, _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _ehashmap, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHF, _tagHO, _tokHBHE, _tokHF, _tokHO, _unknownIdsPresent, hcaldqm::DQTask::_xQuality, ecalMGPA::adc(), hcaldqm::constants::adc2fC, edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), fwrapper::cs, Logger::dqmthrow(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::Container2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), MonitorElement::Fill(), hcaldqm::fOffline, 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, QIE11DataFrame::samples(), QIE10DataFrame::samples(), and hcaldqm::utilities::sumQ().

Referenced by ~DigiPhase1Task().

297 {
301 
302  if (!e.getByToken(_tokHBHE, chbhe))
303  _logger.dqmthrow("Collection HBHEDigiCollection isn't available"
304  + _tagHBHE.label() + " " + _tagHBHE.instance());
305  if (!e.getByToken(_tokHO, cho))
306  _logger.dqmthrow("Collection HODigiCollection isn't available"
307  + _tagHO.label() + " " + _tagHO.instance());
308  if (!e.getByToken(_tokHF, chf))
309  _logger.dqmthrow("Collection HF QIE10Collection isn't available"
310  + _tagHF.label() + " " + _tagHF.instance());
311 
312  // extract some info per event
313  meNumEvents1LS->Fill(0.5); // just increment
314 
315  // To fill histograms outside of the loop, you need to determine if there were
316  // any valid det ids first
317  uint32_t rawidValid = 0;
318  uint32_t rawidHBValid = 0;
319  uint32_t rawidHEValid = 0;
320 
321  // HB collection
322  int numChs = 0;
323  int numChsCut = 0;
324  int numChsHE = 0;
325  int numChsCutHE = 0;
326  for (QIE11DigiCollection::const_iterator it=chbhe->begin(); it!=chbhe->end(); ++it) {
327  QIE11DataFrame const& frame = *it;
328  double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(frame, 2.5, 0, frame.samples()-1);
329 
330  // Explicit check on the DetIds present in the Collection
331  HcalDetId const& did = frame.detid();
332  uint32_t rawid = _ehashmap.lookup(did);
333  if (rawid==0)
334  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
335  HcalElectronicsId const& eid(rawid);
336  if (did.subdet()==HcalBarrel) {
337  rawidHBValid = did.rawId();
338  } else if (did.subdet()==HcalEndcap) {
339  rawidHEValid = did.rawId();
340  } else {
341  // Skip non-HB or HE detids
342  continue;
343  }
344 
345  // filter out channels that are masked out
346  if (_xQuality.exists(did))
347  {
348  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
349  if (
352  continue;
353  }
354 
355  _cSumQ_SubdetPM.fill(did, sumQ);
356  _cOccupancy_depth.fill(did);
357 
358  if (_ptype != fOffline) { // hidefed2crate
359  _cDigiSize_FED.fill(eid, frame.samples());
360  }
361  if (eid.isVMEid())
362  {
363  if (_ptype != fOffline) { // hidefed2crate
366  }
367  }
368  else
369  {
370  if (_ptype != fOffline) { // hidefed2crate
373  }
374  /*
375  if (!it->validate(0, it->size()))
376  {
377  _cCapIdRots_depth.fill(did);
378  _cCapIdRots_FEDuTCA.fill(eid, 1);
379  }*/
380  }
381 
382  for (int i=0; i<frame.samples(); i++)
383  {
384  _cADC_SubdetPM.fill(did, frame[i].adc());
385  _cfC_SubdetPM.fill(did,constants::adc2fC[frame[i].adc()]);
386  if (_ptype != fOffline) { // hidefed2crate
387  if (sumQ>_cutSumQ_HBHE)
389  }
390  }
391 
392  if (sumQ>_cutSumQ_HBHE)
393  {
394  double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(frame, 2.5, 0, frame.samples()-1);
395  _cTimingCut_SubdetPM.fill(did, timing);
396  _cTimingCut_depth.fill(did, timing);
398  if (_ptype != fOffline) { // hidefed2crate
400  }
401  _cSumQ_depth.fill(did, sumQ);
402  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
403 
404  if (eid.isVMEid())
405  {
406  if (_ptype != fOffline) { // hidefed2crate
407  _cTimingCut_FEDVME.fill(eid, timing);
411  }
412  }
413  else
414  {
415  if (_ptype != fOffline) { // hidefed2crate
416  _cTimingCut_FEDuTCA.fill(eid, timing);
420  }
421  }
422  did.subdet()==HcalBarrel?numChsCut++:numChsCutHE++;
423  }
424  did.subdet()==HcalBarrel?numChs++:numChsHE++;
425  }
426 
427  if (rawidHBValid!=0 && rawidHEValid!=0)
428  {
430  numChs);
432  numChsHE);
433 
434  }
435  numChs=0;
436  numChsCut = 0;
437 
438  // reset
439  rawidValid = 0;
440 
441  // HO collection
442  for (HODigiCollection::const_iterator it=cho->begin(); it!=cho->end();
443  ++it)
444  {
445  double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
446 
447  // Explicit check on the DetIds present in the Collection
448  HcalDetId const& did = it->id();
449  uint32_t rawid = _ehashmap.lookup(did);
450  if (rawid==0)
451  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
452  HcalElectronicsId const& eid(rawid);
453  if (did.subdet()==HcalOuter)
454  rawidValid = did.rawId();
455 
456  // filter out channels that are masked out
457  if (_xQuality.exists(did))
458  {
459  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
460  if (
463  continue;
464  }
465 
466  _cSumQ_SubdetPM.fill(did, sumQ);
467  _cOccupancy_depth.fill(did);
468  if (_ptype != fOffline) { // hidefed2crate
469  _cDigiSize_FED.fill(eid, it->size());
470  }
471  if (eid.isVMEid())
472  {
473  if (_ptype != fOffline) { // hidefed2crate
476  }
477  /*
478  if (!it->validate(0, it->size()))
479  _cCapIdRots_FEDVME.fill(eid, 1);
480  */
481  }
482  else
483  {
484  if (_ptype != fOffline) { // hidefed2crate
487  }
488  /*
489  if (!it->validate(0, it->size()))
490  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
491  }
492 
493  for (int i=0; i<it->size(); i++)
494  {
495  _cADC_SubdetPM.fill(did, it->sample(i).adc());
496  _cfC_SubdetPM.fill(did, it->sample(i).nominal_fC());
497  if (_ptype != fOffline) { // hidefed2crate
498  if (sumQ>_cutSumQ_HO)
499  _cShapeCut_FED.fill(eid, i, it->sample(i).nominal_fC());
500  }
501  }
502 
503  if (sumQ>_cutSumQ_HO)
504  {
505  double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0,
506  it->size()-1);
507  _cSumQ_depth.fill(did, sumQ);
508  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
510  _cTimingCut_SubdetPM.fill(did, timing);
511  _cTimingCut_depth.fill(did, timing);
512  if (_ptype != fOffline) { // hidefed2crate
514  }
515 
516  if (eid.isVMEid())
517  {
518  if (_ptype != fOffline) { // hidefed2crate
519  _cTimingCut_FEDVME.fill(eid, timing);
523  }
524  }
525  else
526  {
527  if (_ptype != fOffline) { // hidefed2crate
528  _cTimingCut_FEDuTCA.fill(eid, timing);
532  }
533  }
534  numChsCut++;
535  }
536  numChs++;
537  }
538 
539  if (rawidValid!=0)
540  {
542  numChs);
543  }
544  numChs=0; numChsCut=0;
545 
546  // reset
547  rawidValid = 0;
548 
549  // HF collection
550  for (QIE10DigiCollection::const_iterator it=chf->begin(); it!=chf->end();
551  ++it)
552  {
553  QIE10DataFrame frame = *it;
554  double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(frame,
555  2.5, 0, frame.samples()-1);
556 
557  // Explicit check on the DetIds present in the Collection
558  HcalDetId const& did = it->id();
559  uint32_t rawid = _ehashmap.lookup(did);
560  if (rawid==0)
561  {meUnknownIds1LS->Fill(1); _unknownIdsPresent=true;continue;}
562  HcalElectronicsId const& eid(rawid);
563  if (did.subdet()==HcalForward) {
564  rawidValid = did.rawId();
565  } else {
566  // Skip non-HF detids
567  continue;
568  }
569 
570  // filter out channels that are masked out
571  if (_xQuality.exists(did))
572  {
573  HcalChannelStatus cs(did.rawId(), _xQuality.get(did));
574  if (
577  continue;
578  }
579 
580  _cSumQ_SubdetPM.fill(did, sumQ);
581  _cOccupancy_depth.fill(did);
582  if (_ptype != fOffline) { // hidefed2crate
583  _cDigiSize_FED.fill(eid, frame.samples());
584  }
585  if (eid.isVMEid())
586  {
587  if (_ptype != fOffline) { // hidefed2crate
590  }
591  /*
592  if (!it->validate(0, it->size()))
593  _cCapIdRots_FEDVME.fill(eid, 1);*/
594  }
595  else
596  {
597  if (_ptype != fOffline) { // hidefed2crate
600  }
601  /*
602  if (!it->validate(0, it->size()))
603  _cCapIdRots_FEDuTCA.fill(eid, 1);*/
604  }
605 
606  for (int i=0; i<frame.samples(); i++)
607  {
608  _cADC_SubdetPM.fill(did, frame[i].adc());
609  _cfC_SubdetPM.fill(did, constants::adc2fC[frame[i].adc()]);
610  if (_ptype != fOffline) { // hidefed2crate
611  if (sumQ>_cutSumQ_HF)
613  }
614  }
615 
616  if (sumQ>_cutSumQ_HF)
617  {
618  double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(frame, 2.5, 0,
619  frame.samples()-1);
620 
621  _cSumQ_depth.fill(did, sumQ);
622  _cSumQvsLS_SubdetPM.fill(did, _currentLS, sumQ);
623 
624  _cTimingCut_SubdetPM.fill(did, timing);
625  _cTimingCut_depth.fill(did, timing);
626  if (_ptype != fOffline) { // hidefed2crate
628  }
630  if (eid.isVMEid())
631  {
632  if (_ptype != fOffline) { // hidefed2crate
633  _cTimingCut_FEDVME.fill(eid, timing);
637  }
638  }
639  else
640  {
641  if (_ptype != fOffline) { // hidefed2crate
642  _cTimingCut_FEDuTCA.fill(eid, timing);
646  }
647  }
648  numChsCut++;
649  }
650  numChs++;
651  }
652 
653  if (rawidValid!=0)
654  {
656  numChs);
657 
658  }
659 }
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::Container1D _cADC_SubdetPM
auto_ptr< ClusterSequence > cs
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:265
hcaldqm::ContainerProf2D _cSumQ_depth
edm::InputTag _tagHF
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
void fill(HcalDetId const &) override
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
edm::EDGetTokenT< HODigiCollection > _tokHO
std::vector< HODataFrame >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
const_iterator begin() const
hcaldqm::Container2D _cOccupancyCut_depth
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
hcaldqm::Container1D _cShapeCut_FED
void Fill(long long x)
double _cutSumQ_HBHE
MonitorElement * meUnknownIds1LS
hcaldqm::ContainerProf2D _cTimingCut_depth
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:83
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:62
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
Logger _logger
Definition: DQModule.h:70
hcaldqm::Container2D _cOccupancyCut_FEDVME
const_iterator end() const
double const adc2fC[256]
Definition: Constants.h:271
hcaldqm::Container1D _cDigiSize_FED
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
edm::InputTag _tagHO
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
std::string const & label() const
Definition: InputTag.h:36
const_iterator end() const
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:247
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
edm::InputTag _tagHBHE
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
void fill(HcalDetId const &) override
Definition: Container2D.cc:59
hcaldqm::Container1D _cSumQ_SubdetPM
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
int samples() const
total number of samples in the digi
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
hcaldqm::Container1D _cfC_SubdetPM
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
const_iterator begin() const
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Definition: Utilities.h:121
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA
void DigiPhase1Task::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 279 of file DigiPhase1Task.cc.

References _unknownIdsPresent, hcaldqm::f1LS, and hcaldqm::f50LS.

Referenced by ~DigiPhase1Task().

280 {
281  DQTask::_resetMonitors(uf);
282 
283  switch(uf)
284  {
285  case hcaldqm::f1LS:
286  _unknownIdsPresent = false;
287  break;
288  case hcaldqm::f50LS:
289  break;
290  default:
291  break;
292  }
293 }
void DigiPhase1Task::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 661 of file DigiPhase1Task.cc.

Referenced by ~DigiPhase1Task().

663 {
664  DQTask::beginLuminosityBlock(lb, es);
665 }
void DigiPhase1Task::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 33 of file DigiPhase1Task.cc.

References _cADC_SubdetPM, _cDigiSize_FED, _cfC_SubdetPM, _cOccupancy_depth, _cOccupancy_ElectronicsuTCA, _cOccupancy_ElectronicsVME, _cOccupancy_FEDuTCA, _cOccupancy_FEDVME, _cOccupancyCut_depth, _cOccupancyCut_ElectronicsuTCA, _cOccupancyCut_ElectronicsVME, _cOccupancyCut_FEDuTCA, _cOccupancyCut_FEDVME, _cOccupancyCutvsLS_Subdet, _cOccupancyvsLS_Subdet, _cShapeCut_FED, _cSumQ_depth, _cSumQ_SubdetPM, _cSumQvsLS_SubdetPM, _cTimingCut_depth, _cTimingCut_ElectronicsuTCA, _cTimingCut_ElectronicsVME, _cTimingCut_FEDuTCA, _cTimingCut_FEDVME, _cTimingCut_SubdetPM, _cTimingCutvsLS_FED, _cutSumQ_HBHE, _cutSumQ_HF, _cutSumQ_HO, _dhashmap, _ehashmap, hcaldqm::DQTask::_emap, _filter_FEDHF, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _unknownIdsPresent, _vhashFEDs, hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), DQMStore::IBooker::book1D(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fADC_128, 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::hashfunctions::fFED, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::quantity::fFiberVMEFiberCh, hcaldqm::filter::fFilter, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::quantity::fTiming_TS, hcaldqm::quantity::fTiming_TS200, edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), HcalDbService::getHcalMapping(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), meNumEvents1LS, meUnknownIds1LS, HcalElectronicsId::rawId(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), hcaldqm::Container1D::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

Referenced by ~DigiPhase1Task().

35 {
37 
38  // GET WHAT YOU NEED
40  es.get<HcalDbRecord>().get(dbs);
41  _emap = dbs->getHcalMapping();
42  std::vector<uint32_t> vVME;
43  std::vector<uint32_t> vuTCA;
47  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
49  vVME);
51  vuTCA);
52 
53  // INITIALIZE FIRST
75  _cTimingCut_depth.initialize(_name, "TimingCut",
80 
81  // Occupancy w/o a cut
82  _cOccupancyvsLS_Subdet.initialize(_name, "OccupancyvsLS",
86  _cOccupancy_depth.initialize(_name, "Occupancy",
91 
92  // Occupancy w/ a cut
93  _cOccupancyCutvsLS_Subdet.initialize(_name, "OccupancyCutvsLS",
97  _cOccupancyCut_depth.initialize(_name, "OccupancyCut",
102 
103  if (_ptype != fOffline) { // hidefed2crate
104  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
105  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
106  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
107 
108  std::vector<uint32_t> vFEDHF;
109  vFEDHF.push_back(HcalElectronicsId(22, SLOT_uTCA_MIN,
110  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
111  vFEDHF.push_back(HcalElectronicsId(29, SLOT_uTCA_MIN,
112  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
113  vFEDHF.push_back(HcalElectronicsId(32, SLOT_uTCA_MIN,
114  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
115  // initialize filters
117  vFEDHF);
118 
119  // push the rawIds of each fed into the vector...
120  for (std::vector<int>::const_iterator it=vFEDsVME.begin(); it!=vFEDsVME.end(); ++it) {
121  _vhashFEDs.push_back(HcalElectronicsId(
123  (*it)-FED_VME_MIN).rawId());
124  }
125  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
126  it!=vFEDsuTCA.end(); ++it)
127  {
128  std::pair<uint16_t, uint16_t> cspair = hcaldqm::utilities::fed2crate(*it);
129  _vhashFEDs.push_back(HcalElectronicsId(
130  cspair.first, cspair.second, FIBER_uTCA_MIN1,
131  FIBERCH_MIN, false).rawId());
132  }
133 
138 
139  _cTimingCut_FEDVME.initialize(_name, "TimingCut",
144  _cTimingCut_FEDuTCA.initialize(_name, "TimingCut",
151  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
156  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
159  _cTimingCutvsLS_FED.initialize(_name, "TimingvsLS",
163 
164  _cOccupancy_FEDVME.initialize(_name, "Occupancy",
169  _cOccupancy_FEDuTCA.initialize(_name, "Occupancy",
176  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
181  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
184 
185  _cOccupancyCut_FEDVME.initialize(_name, "OccupancyCut",
190  _cOccupancyCut_FEDuTCA.initialize(_name, "OccupancyCut",
197  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
202  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
205 
206  _cDigiSize_FED.initialize(_name, "DigiSize",
210 
211  }
212 
213 
214  // BOOK HISTOGRAMS
215  char cutstr[200];
216  sprintf(cutstr, "_SumQHBHE%dHO%dHF%d", int(_cutSumQ_HBHE),
217  int(_cutSumQ_HO), int(_cutSumQ_HF));
218  char cutstr2[200];
219  sprintf(cutstr2, "_SumQHF%d", int(_cutSumQ_HF));
220 
222 
227 
228 
231 
235 
236  if (_ptype != fOffline) { // hidefed2crate
252  }
253 
254  // BOOK HISTOGRAMS that are only for Online
257 
258  // MARK THESE HISTOGRAMS AS LUMI BASED FOR OFFLINE PROCESSING
259  if (_ptype==fOffline)
260  {
261  //_cDigiSize_FED.setLumiFlag(); // hidefed2crate : FED stuff not available offline anymore, so this histogram doesn't make sense?
263  }
264 
265  // book Number of Events vs LS histogram
266  ib.setCurrentFolder(_subsystem+"/RunInfo");
267  meNumEvents1LS = ib.book1D("NumberOfEvents", "NumberOfEvents",
268  1, 0, 1);
270 
271  // book the flag for unknown ids and the online guy as well
273  meUnknownIds1LS = ib.book1D("UnknownIds", "UnknownIds",
274  1, 0, 1);
275  _unknownIdsPresent = false;
277 }
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
constexpr uint32_t rawId() const
hcaldqm::Container1D _cADC_SubdetPM
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:41
hcaldqm::ContainerProf2D _cSumQ_depth
int const CRATE_VME_MIN
Definition: Constants.h:111
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:12
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
int const SPIGOT_MIN
Definition: Constants.h:136
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancyCut_depth
std::vector< uint32_t > _vhashFEDs
int const FIBER_VME_MIN
Definition: Constants.h:141
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
int const FIBERCH_MIN
Definition: Constants.h:151
hcaldqm::Container1D _cShapeCut_FED
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:119
hcaldqm::filter::HashFilter _filter_VME
double _cutSumQ_HBHE
MonitorElement * meUnknownIds1LS
hcaldqm::ContainerProf2D _cTimingCut_depth
ProcessingType _ptype
Definition: DQModule.h:59
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
void setLumiFlag()
this ME is meant to be stored for each luminosity section
int const FED_VME_MIN
Definition: Constants.h:98
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
int const FIBER_uTCA_MIN1
Definition: Constants.h:144
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
std::string _name
Definition: DQModule.h:57
HcalElectronicsMap const * _emap
Definition: DQTask.h:73
int const CRATE_uTCA_MIN
Definition: Constants.h:116
hcaldqm::Container1D _cDigiSize_FED
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:958
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
virtual void setLumiFlag()
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:95
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:145
const HcalElectronicsMap * getHcalMapping() const
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:28
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::Container1D _cSumQ_SubdetPM
hcaldqm::filter::HashFilter _filter_FEDHF
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
hcaldqm::Container1D _cfC_SubdetPM
int const SLOT_uTCA_MIN
Definition: Constants.h:123
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA
void DigiPhase1Task::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 667 of file DigiPhase1Task.cc.

References DEFINE_FWK_MODULE.

Referenced by ~DigiPhase1Task().

669 {
670  DQTask::endLuminosityBlock(lb, es);
671 }

Member Data Documentation

hcaldqm::Container1D DigiPhase1Task::_cADC_SubdetPM
protected

Definition at line 82 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cDigiSize_FED
protected

Definition at line 136 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cDigiSizevsLS_FED
protected

Definition at line 137 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cfC_SubdetPM
protected

Definition at line 83 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_depth
protected

Definition at line 113 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_ElectronicsuTCA
protected

Definition at line 112 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_ElectronicsVME
protected

Definition at line 111 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_FEDuTCA
protected

Definition at line 110 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancy_FEDVME
protected

Definition at line 109 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_depth
protected

Definition at line 124 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 123 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_ElectronicsVME
protected

Definition at line 122 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_FEDuTCA
protected

Definition at line 121 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCut_FEDVME
protected

Definition at line 120 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyCutvsBX_Subdet
protected

Definition at line 133 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cOccupancyCutvsieta_Subdet
protected

Definition at line 126 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 125 of file DigiPhase1Task.h.

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 128 of file DigiPhase1Task.h.

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyCutvsLS_Subdet
protected

Definition at line 132 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::Container2D DigiPhase1Task::_cOccupancyCutvsSlotvsLS_HFPM
protected

Definition at line 127 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cOccupancyvsieta_Subdet
protected

Definition at line 115 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 114 of file DigiPhase1Task.h.

hcaldqm::ContainerProf1D DigiPhase1Task::_cOccupancyvsLS_Subdet
protected

Definition at line 131 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cQ2Q12CutvsLS_FEDHF
protected

Definition at line 105 of file DigiPhase1Task.h.

hcaldqm::Container1D DigiPhase1Task::_cShapeCut_FED
protected

Definition at line 90 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D DigiPhase1Task::_cSummaryvsLS
protected

Definition at line 149 of file DigiPhase1Task.h.

hcaldqm::Container2D DigiPhase1Task::_cSummaryvsLS_FED
protected

Definition at line 148 of file DigiPhase1Task.h.

hcaldqm::ContainerProf2D DigiPhase1Task::_cSumQ_depth
protected

Definition at line 85 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cSumQ_SubdetPM
protected

Definition at line 84 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cSumQvsBX_SubdetPM
protected

Definition at line 87 of file DigiPhase1Task.h.

hcaldqm::ContainerProf1D DigiPhase1Task::_cSumQvsLS_SubdetPM
protected

Definition at line 86 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_depth
protected

Definition at line 100 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_ElectronicsuTCA
protected

Definition at line 98 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_ElectronicsVME
protected

Definition at line 97 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_FEDuTCA
protected

Definition at line 96 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D DigiPhase1Task::_cTimingCut_FEDVME
protected

Definition at line 95 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D DigiPhase1Task::_cTimingCut_SubdetPM
protected

Definition at line 94 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsieta_Subdet
protected

Definition at line 102 of file DigiPhase1Task.h.

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 101 of file DigiPhase1Task.h.

hcaldqm::ContainerProf1D DigiPhase1Task::_cTimingCutvsLS_FED
protected

Definition at line 99 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

double DigiPhase1Task::_cutSumQ_HBHE
protected

Definition at line 53 of file DigiPhase1Task.h.

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

double DigiPhase1Task::_cutSumQ_HF
protected

Definition at line 53 of file DigiPhase1Task.h.

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

double DigiPhase1Task::_cutSumQ_HO
protected

Definition at line 53 of file DigiPhase1Task.h.

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

hcaldqm::electronicsmap::ElectronicsMap DigiPhase1Task::_dhashmap
protected

Definition at line 72 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::electronicsmap::ElectronicsMap DigiPhase1Task::_ehashmap
protected

Definition at line 71 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_FEDHF
protected

Definition at line 77 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_HF
protected

Definition at line 78 of file DigiPhase1Task.h.

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_uTCA
protected

Definition at line 76 of file DigiPhase1Task.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter DigiPhase1Task::_filter_VME
protected

Definition at line 75 of file DigiPhase1Task.h.

Referenced by bookHistograms().

edm::InputTag DigiPhase1Task::_tagHBHE
protected

Definition at line 46 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::InputTag DigiPhase1Task::_tagHF
protected

Definition at line 48 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

edm::InputTag DigiPhase1Task::_tagHO
protected

Definition at line 47 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

double DigiPhase1Task::_thresh_unihf
protected

Definition at line 54 of file DigiPhase1Task.h.

Referenced by DigiPhase1Task().

edm::EDGetTokenT<QIE11DigiCollection> DigiPhase1Task::_tokHBHE
protected

Definition at line 49 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

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

Definition at line 51 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

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

Definition at line 50 of file DigiPhase1Task.h.

Referenced by _process(), and DigiPhase1Task().

bool DigiPhase1Task::_unknownIdsPresent
protected

Definition at line 146 of file DigiPhase1Task.h.

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

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

Definition at line 57 of file DigiPhase1Task.h.

Referenced by DigiPhase1Task().

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

Definition at line 68 of file DigiPhase1Task.h.

Referenced by bookHistograms().

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

Definition at line 138 of file DigiPhase1Task.h.

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

Definition at line 140 of file DigiPhase1Task.h.

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

Definition at line 141 of file DigiPhase1Task.h.

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

Definition at line 139 of file DigiPhase1Task.h.

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

Definition at line 139 of file DigiPhase1Task.h.

MonitorElement* DigiPhase1Task::meNumEvents1LS
protected

Definition at line 144 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().

MonitorElement* DigiPhase1Task::meUnknownIds1LS
protected

Definition at line 145 of file DigiPhase1Task.h.

Referenced by _process(), and bookHistograms().