CMS 3D CMS Logo

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

#include <PedestalTask.h>

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

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmEndRun (edm::Run const &, edm::EventSetup const &) override
 
std::shared_ptr< hcaldqm::CacheglobalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override
 
void globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 PedestalTask (edm::ParameterSet const &)
 
 ~PedestalTask () override
 
- Public Member Functions inherited from hcaldqm::DQTask
void analyze (edm::Event const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQTask (edm::ParameterSet const &)
 
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
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () 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
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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)
 

Public Attributes

 debug
 
 mtype
 
 name
 
 pedestalTask
 
 ptype
 
 runkeyName
 
 runkeyVal
 
 subsystem
 
 tagHBHE
 
 tagHF
 
 tagHO
 
 tagRaw
 
 thresh_badm
 
 thresh_badr
 
 thresh_mean
 
 thresh_rms
 

Protected Types

enum  PedestalFlag { fMsn = 0, fBadM = 1, fBadR = 2, nPedestalFlag = 3 }
 

Protected Member Functions

virtual void _dump ()
 
bool _isApplicable (edm::Event const &) override
 
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 &)
 
- 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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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

hcaldqm::Container1D _cADC_SubdetPM
 
hcaldqm::ContainerProf2D _cMean1LS_depth
 
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
 
hcaldqm::Container1D _cMean1LS_Subdet
 
hcaldqm::Container2D _cMeanBad1LS_depth
 
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
 
hcaldqm::Container2D _cMeanBad1LS_FEDVME
 
hcaldqm::Container2D _cMeanBadTotal_depth
 
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
 
hcaldqm::Container2D _cMeanBadTotal_FEDVME
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
 
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
 
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
 
hcaldqm::ContainerProf2D _cMeanTotal_depth
 
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
 
hcaldqm::Container1D _cMeanTotal_Subdet
 
hcaldqm::Container2D _cMissing1LS_depth
 
hcaldqm::Container2D _cMissing1LS_FEDuTCA
 
hcaldqm::Container2D _cMissing1LS_FEDVME
 
hcaldqm::Container2D _cMissingTotal_depth
 
hcaldqm::Container2D _cMissingTotal_FEDuTCA
 
hcaldqm::Container2D _cMissingTotal_FEDVME
 
hcaldqm::Container1D _cMissingvsLS_Subdet
 
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
 
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
 
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
 
hcaldqm::Container1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerProf2D _cRMS1LS_depth
 
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
 
hcaldqm::Container1D _cRMS1LS_Subdet
 
hcaldqm::Container2D _cRMSBad1LS_depth
 
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
 
hcaldqm::Container2D _cRMSBad1LS_FEDVME
 
hcaldqm::Container2D _cRMSBadTotal_depth
 
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
 
hcaldqm::Container2D _cRMSBadTotal_FEDVME
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
 
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
 
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
 
hcaldqm::ContainerProf2D _cRMSTotal_depth
 
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
 
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
 
hcaldqm::Container1D _cRMSTotal_Subdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
hcaldqm::filter::HashFilter _filter_C38
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
edm::InputTag _tagHO
 
edm::InputTag _tagQIE10
 
edm::InputTag _tagQIE11
 
edm::InputTag _tagTrigger
 
edm::InputTag _taguMN
 
double _thresh_badm
 
double _thresh_badr
 
double _thresh_mean
 
double _thresh_missing_high
 
double _thresh_missing_low
 
double _thresh_rms
 
edm::EDGetTokenT< HODigiCollection_tokHO
 
edm::EDGetTokenT< QIE10DigiCollection_tokQIE10
 
edm::EDGetTokenT< QIE11DigiCollection_tokQIE11
 
edm::EDGetTokenT< HcalTBTriggerData_tokTrigger
 
edm::EDGetTokenT< HcalUMNioDigi_tokuMN
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< int > _xNBadMean1LS
 
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
 
hcaldqm::ContainerXXX< int > _xNChs
 
hcaldqm::ContainerXXX< int > _xNMsn1LS
 
hcaldqm::ContainerXXX< int > _xPedEntries1LS
 
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
 
hcaldqm::ContainerXXX< double > _xPedRefMean
 
hcaldqm::ContainerXXX< double > _xPedRefRMS
 
hcaldqm::ContainerXXX< double > _xPedSum1LS
 
hcaldqm::ContainerXXX< double > _xPedSum21LS
 
hcaldqm::ContainerXXX< double > _xPedSum2Total
 
hcaldqm::ContainerXXX< double > _xPedSumTotal
 
edm::ESGetToken< HcalDbService, HcalDbRecordhcalDbServiceToken_
 
- Protected Attributes inherited from hcaldqm::DQTask
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 hcaldqm::DQTask
static void fillPSetDescription (edm::ParameterSetDescription &des)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from hcaldqm::DQModule
static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

Detailed Description

Definition at line 21 of file PedestalTask.h.

Member Enumeration Documentation

◆ PedestalFlag

Enumerator
fMsn 
fBadM 
fBadR 
nPedestalFlag 

Definition at line 53 of file PedestalTask.h.

53 { fMsn = 0, fBadM = 1, fBadR = 2, nPedestalFlag = 3 };

Constructor & Destructor Documentation

◆ PedestalTask()

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

Definition at line 6 of file PedestalTask.cc.

7  : DQTask(ps), hcalDbServiceToken_(esConsumes<HcalDbService, HcalDbRecord, edm::Transition::BeginRun>()) {
8  // tags
9  _tagQIE11 = ps.getUntrackedParameter<edm::InputTag>("tagHE", edm::InputTag("hcalDigis"));
10  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO", edm::InputTag("hcalDigis"));
11  _tagQIE10 = ps.getUntrackedParameter<edm::InputTag>("tagHF", edm::InputTag("hcalDigis"));
12  _tagTrigger = ps.getUntrackedParameter<edm::InputTag>("tagTrigger", edm::InputTag("tbunpacker"));
13  _taguMN = ps.getUntrackedParameter<edm::InputTag>("taguMN", edm::InputTag("hcalDigis"));
14  _tokQIE11 = consumes<QIE11DigiCollection>(_tagQIE11);
15  _tokHO = consumes<HODigiCollection>(_tagHO);
16  _tokQIE10 = consumes<QIE10DigiCollection>(_tagQIE10);
17  _tokTrigger = consumes<HcalTBTriggerData>(_tagTrigger);
18  _tokuMN = consumes<HcalUMNioDigi>(_taguMN);
19 
20  _vflags.resize(2);
23  //_vflags[fBadR]=hcaldqm::flag::Flag("BadR");
24 
25  _thresh_mean = ps.getUntrackedParameter<double>("thresh_mean", 0.25);
26  _thresh_rms = ps.getUntrackedParameter<double>("thresh_mean", 0.25);
27  _thresh_badm = ps.getUntrackedParameter<double>("thresh_badm", 0.1);
28  _thresh_badr = ps.getUntrackedParameter<double>("thresh_badr", 0.1);
29  _thresh_missing_high = ps.getUntrackedParameter<double>("thresh_missing_high", 0.2);
30  _thresh_missing_low = ps.getUntrackedParameter<double>("thresh_missing_low", 0.05);
31 }

References _tagHO, _tagQIE10, _tagQIE11, _tagTrigger, _taguMN, _thresh_badm, _thresh_badr, _thresh_mean, _thresh_missing_high, _thresh_missing_low, _thresh_rms, _tokHO, _tokQIE10, _tokQIE11, _tokTrigger, _tokuMN, _vflags, fBadM, nanoDQM_cff::Flag, fMsn, edm::ParameterSet::getUntrackedParameter(), and HLT_FULL_cff::InputTag.

◆ ~PedestalTask()

PedestalTask::~PedestalTask ( )
inlineoverride

Definition at line 24 of file PedestalTask.h.

24 {}

Member Function Documentation

◆ _dump()

void PedestalTask::_dump ( )
protectedvirtual

Definition at line 616 of file PedestalTask.cc.

616  {
617  // reset what's needed
618 
619  // Mean/RMS actual values
624  if (_ptype != fOffline) { // hidefed2crate
629  }
630 
635  if (_ptype != fOffline) { // hidefed2crate
640  }
641 
642  // DB Conditions Comparison
647 
652 
653  if (_ptype != fOffline) { // hidefed2crate
658 
663  }
664 
665  // missing channels
669 
673 
674  // Missing or Bad
675  if (_ptype != fOffline) { // hidefed2crate
682 
689 
690  // reset some XXX containers
691  _xNChs.reset();
692  _xNMsn1LS.reset();
695  }
696  // - ITERATE OVER ALL TEH CHANNELS
697  // - FIND THE ONES THAT ARE MISSING
698  // - FIND THE ONES WITH BAD PEDESTAL MEANs
699  // - FIND THE ONES WITH BAD PEDESTAL RMSs
700  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
701  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
702  if (!it->isHcalDetId())
703  continue;
705  if (_filter_C38.filter(eid))
706  continue;
707 
708  // filter out channels with bad quality
709  if (_xQuality.exists(HcalDetId(*it))) {
710  HcalChannelStatus cs(it->rawId(), _xQuality.get(HcalDetId(*it)));
712  continue;
713  }
714 
715  HcalDetId did = HcalDetId(it->rawId());
716  double sum1LS = _xPedSum1LS.get(did);
717 #ifndef HIDE_PEDESTAL_CONDITIONS
718  double refm = _xPedRefMean.get(did);
719 #endif
720  double sum21LS = _xPedSum21LS.get(did);
721 #ifndef HIDE_PEDESTAL_CONDITIONS
722  double refr = _xPedRefRMS.get(did);
723 #endif
724  double n1LS = _xPedEntries1LS.get(did);
725 
726  double sumTotal = _xPedSumTotal.get(did);
727  double sum2Total = _xPedSum2Total.get(did);
728  double nTotal = _xPedEntriesTotal.get(did);
729 
730  if (_ptype != fOffline) { // hidefed2crate
731  _xNChs.get(eid)++;
732  }
733  // IF A CHANNEL IS MISSING FOR THIS LS
734  if (n1LS == 0) {
737  if (_ptype != fOffline) { // hidefed2crate
739  _xNMsn1LS.get(eid)++;
740  }
741  // ALSO CHECK
742  // IF A CHANNEL HAS BEEN MISSING FOR ALL LSs SO FAR
743  if (nTotal == 0) {
745  if (_ptype != fOffline) { // hidefed2crate
747  }
748  }
749  continue;
750  }
751 
752  // if not missing, fill the occupancy...
754 
755  // compute the means and diffs for this LS
756  sum1LS /= n1LS;
757  double rms1LS = sqrt(sum21LS / n1LS - sum1LS * sum1LS);
758 #ifndef HIDE_PEDESTAL_CONDITIONS
759  double diffm1LS = sum1LS - refm;
760  double diffr1LS = rms1LS - refr;
761 #endif
762  // compute the means and diffs for the whole Run
763  sumTotal /= nTotal;
764  double rmsTotal = sqrt(sum2Total / nTotal - sumTotal * sumTotal);
765 #ifndef HIDE_PEDESTAL_CONDITIONS
766  double diffmTotal = sumTotal - refm;
767  double diffrTotal = rmsTotal - refr;
768 #endif
769  // FILL ACTUAL MEANs AND RMSs FOR THIS LS
770  _cMean1LS_Subdet.fill(did, sum1LS);
771  _cMean1LS_depth.fill(did, sum1LS);
772  _cRMS1LS_Subdet.fill(did, rms1LS);
773  _cRMS1LS_depth.fill(did, rms1LS);
774 
775  // FILL THE DIFFERENCES FOR THIS LS
776 #ifndef HIDE_PEDESTAL_CONDITIONS
777  _cMeanDBRef1LS_Subdet.fill(did, diffm1LS);
778  _cMeanDBRef1LS_depth.fill(did, diffm1LS);
779  _cRMSDBRef1LS_Subdet.fill(did, diffr1LS);
780  _cRMSDBRef1LS_depth.fill(did, diffr1LS);
781 #endif
782  // FILL ACTUAL MEANs AND RMSs FOR THE WHOLE RUN
783  _cMeanTotal_Subdet.fill(did, sumTotal);
784  _cMeanTotal_depth.fill(did, sumTotal);
785  _cRMSTotal_Subdet.fill(did, rmsTotal);
786  _cRMSTotal_depth.fill(did, rmsTotal);
787 
788  // FILL THE DIFFERENCES FOR THE WHOLE RUN
789 #ifndef HIDE_PEDESTAL_CONDITIONS
790  _cMeanDBRefTotal_Subdet.fill(did, diffmTotal);
791  _cMeanDBRefTotal_depth.fill(did, diffmTotal);
792  _cRMSDBRefTotal_Subdet.fill(did, diffrTotal);
793  _cRMSDBRefTotal_depth.fill(did, diffrTotal);
794 #endif
795  // FOR THIS LS
796  if (_ptype != fOffline) { // hidefed2crate
797  if (eid.isVMEid()) {
798  _cMean1LS_FEDVME.fill(eid, sum1LS);
799  _cRMS1LS_FEDVME.fill(eid, rms1LS);
800  _cMeanDBRef1LS_FEDVME.fill(eid, diffm1LS);
801  _cRMSDBRef1LS_FEDVME.fill(eid, diffr1LS);
802  } else {
803  _cMean1LS_FEDuTCA.fill(eid, sum1LS);
804  _cRMS1LS_FEDuTCA.fill(eid, rms1LS);
805  _cMeanDBRef1LS_FEDuTCA.fill(eid, diffm1LS);
806  _cRMSDBRef1LS_FEDuTCA.fill(eid, diffr1LS);
807  }
808 
809  // FOR THE WHOLE RUN
810  if (eid.isVMEid()) {
811  _cMeanTotal_FEDVME.fill(eid, sumTotal);
812  _cRMSTotal_FEDVME.fill(eid, rmsTotal);
813  _cMeanDBRefTotal_FEDVME.fill(eid, diffmTotal);
814  _cRMSDBRefTotal_FEDVME.fill(eid, diffrTotal);
815  } else {
816  _cMeanTotal_FEDuTCA.fill(eid, sumTotal);
817  _cRMSTotal_FEDuTCA.fill(eid, rmsTotal);
818  _cMeanDBRefTotal_FEDuTCA.fill(eid, diffmTotal);
819  _cRMSDBRefTotal_FEDuTCA.fill(eid, diffrTotal);
820  }
821  }
822 
823  // FOR THE CURRENT LS COMPARE MEANS AND RMSS
824 #ifndef HIDE_PEDESTAL_CONDITIONS
825  if (fabs(diffm1LS) > _thresh_mean) {
828  if (_ptype != fOffline) { // hidefed2crate
829  if (eid.isVMEid())
831  else
833  _xNBadMean1LS.get(eid)++;
834  }
835  }
836  if (fabs(diffr1LS) > _thresh_rms) {
837  _cRMSBad1LS_depth.fill(did);
839  if (_ptype != fOffline) { // hidefed2crate
840  if (eid.isVMEid())
842  else
844  _xNBadRMS1LS.get(eid)++;
845  }
846  }
847 
848  // FOR THIS RUN
849  if (fabs(diffmTotal) > _thresh_mean) {
851  if (_ptype != fOffline) { // hidefed2crate
852  if (eid.isVMEid())
854  else
856  }
857  }
858  if (fabs(diffrTotal) > _thresh_rms) {
860  if (_ptype != fOffline) { // hidefed2crate
861  if (eid.isVMEid())
863  else
865  }
866  }
867 #endif
868  }
869 
870  // SET THE FLAGS FOR THIS LS
871  if (_ptype != fOffline) { // hidefed2crate
872  for (std::vector<uint32_t>::const_iterator it = _vhashFEDs.begin(); it != _vhashFEDs.end(); ++it) {
873  hcaldqm::flag::Flag fSum("PED");
875 
876  std::vector<uint32_t>::const_iterator jt = std::find(_vcdaqEids.begin(), _vcdaqEids.end(), (*it));
877  if (jt == _vcdaqEids.end()) {
878  // not @cDAQ
879  for (uint32_t iflag = 0; iflag < _vflags.size(); iflag++)
882  continue;
883  }
884 
885  // @cDAQ
887  double frmissing = (_xNChs.get(eid) == 0) ? 0 : double(_xNMsn1LS.get(eid)) / double(_xNChs.get(eid));
888  double frbadm = (_xNChs.get(eid) == 0) ? 0 : _xNBadMean1LS.get(eid) / _xNChs.get(eid);
889  //double frbadr = _xNBadRMS1LS.get(eid)/_xNChs.get(eid);
890 
891  if (frmissing >= _thresh_missing_high)
892  _vflags[fMsn]._state = hcaldqm::flag::fBAD;
893  else if (frmissing >= _thresh_missing_low)
895  else
897  if (frbadm >= _thresh_badm)
899  else
901  // BadR removed May 9, 2018 - the pedestal RMS isn't stable enough to monitor right now.
902  //if (frbadr>=_thresh_badr)
903  // _vflags[fBadR]._state = hcaldqm::flag::fBAD;
904  //else
905  // _vflags[fBadR]._state = hcaldqm::flag::fGOOD;
906  }
907 
908  int iflag = 0;
909  for (std::vector<hcaldqm::flag::Flag>::iterator ft = _vflags.begin(); ft != _vflags.end(); ++ft) {
910  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, iflag, int(ft->_state));
911  fSum += (*ft);
912  iflag++;
913  ft->reset();
914  }
915  _cSummaryvsLS.setBinContent(eid, _currentLS, fSum._state);
916  }
917  }
918 
919  // reset the pedestal containers instead of writting reset... func
920  _xPedSum1LS.reset();
923 }

References _cMean1LS_depth, _cMean1LS_FEDuTCA, _cMean1LS_FEDVME, _cMean1LS_Subdet, _cMeanBad1LS_depth, _cMeanBad1LS_FEDuTCA, _cMeanBad1LS_FEDVME, _cMeanBadTotal_depth, _cMeanBadTotal_FEDuTCA, _cMeanBadTotal_FEDVME, _cMeanDBRef1LS_depth, _cMeanDBRef1LS_FEDuTCA, _cMeanDBRef1LS_FEDVME, _cMeanDBRef1LS_Subdet, _cMeanDBRefTotal_depth, _cMeanDBRefTotal_FEDuTCA, _cMeanDBRefTotal_FEDVME, _cMeanDBRefTotal_Subdet, _cMeanTotal_depth, _cMeanTotal_FEDuTCA, _cMeanTotal_FEDVME, _cMeanTotal_Subdet, _cMissing1LS_depth, _cMissing1LS_FEDuTCA, _cMissing1LS_FEDVME, _cMissingTotal_depth, _cMissingTotal_FEDuTCA, _cMissingTotal_FEDVME, _cMissingvsLS_Subdet, _cNBadMeanvsLS_Subdet, _cNBadRMSvsLS_Subdet, _cOccupancyvsLS_Subdet, _cRMS1LS_depth, _cRMS1LS_FEDuTCA, _cRMS1LS_FEDVME, _cRMS1LS_Subdet, _cRMSBad1LS_depth, _cRMSBad1LS_FEDuTCA, _cRMSBad1LS_FEDVME, _cRMSBadTotal_depth, _cRMSBadTotal_FEDuTCA, _cRMSBadTotal_FEDVME, _cRMSDBRef1LS_depth, _cRMSDBRef1LS_FEDuTCA, _cRMSDBRef1LS_FEDVME, _cRMSDBRef1LS_Subdet, _cRMSDBRefTotal_depth, _cRMSDBRefTotal_FEDuTCA, _cRMSDBRefTotal_FEDVME, _cRMSDBRefTotal_Subdet, _cRMSTotal_depth, _cRMSTotal_FEDuTCA, _cRMSTotal_FEDVME, _cRMSTotal_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, _ehashmap, hcaldqm::DQTask::_emap, _filter_C38, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, _thresh_badm, _thresh_mean, _thresh_missing_high, _thresh_missing_low, _thresh_rms, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xNBadMean1LS, _xNBadRMS1LS, _xNChs, _xNMsn1LS, _xPedEntries1LS, _xPedEntriesTotal, _xPedRefMean, _xPedRefRMS, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, hcaldqm::DQTask::_xQuality, HcalElectronicsMap::allPrecisionId(), fwrapper::cs, runTauDisplay::eid, hcaldqm::ContainerXXX< STDTYPE >::exists(), hcaldqm::flag::fBAD, fBadM, hcaldqm::flag::fGOOD, hcaldqm::Container2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), hcaldqm::filter::HashFilter::filter(), spr::find(), fMsn, hcaldqm::flag::fNCDAQ, hcaldqm::fOffline, hcaldqm::flag::fPROBLEMATIC, hcaldqm::ContainerXXX< STDTYPE >::get(), HcalChannelStatus::HcalCellDead, HcalChannelStatus::HcalCellMask, hcaldqm::utilities::isFEDHBHE(), hcaldqm::utilities::isFEDHF(), hcaldqm::utilities::isFEDHO(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::Container1D::reset(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), and mathSSE::sqrt().

Referenced by dqmEndRun(), and globalEndLuminosityBlock().

◆ _isApplicable()

bool PedestalTask::_isApplicable ( edm::Event const &  e)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 1039 of file PedestalTask.cc.

1039  {
1040  if (_ptype == fOnline) {
1042  if (!e.getByToken(_tokuMN, cumn))
1043  return false;
1044 
1045  // for online just check the event type not the user Word
1046  uint8_t eventType = cumn->eventType();
1048  return true;
1049  } else {
1050  // local
1052  if (!e.getByToken(_tokTrigger, ctrigger))
1053  _logger.dqmthrow("Collection HcalTBTriggerData isn't available" + _tagTrigger.label() + " " +
1054  _tagTrigger.instance());
1055  return ctrigger->wasSpillIgnorantPedestalTrigger();
1056  }
1057 
1058  return false;
1059 }

References hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagTrigger, _tokTrigger, _tokuMN, Logger::dqmthrow(), MillePedeFileConverter_cfg::e, HcalUMNioDigi::eventType(), hcalcalib_dqm_sourceclient-live_cfg::eventType, hcaldqm::constants::EVENTTYPE_PEDESTAL, hcaldqm::fOnline, edm::InputTag::instance(), edm::InputTag::label(), and HcalTBTriggerData::wasSpillIgnorantPedestalTrigger().

◆ _process()

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

Implements hcaldqm::DQTask.

Definition at line 953 of file PedestalTask.cc.

953  {
957 
958  if (!e.getByToken(_tokHO, c_ho))
959  _logger.dqmthrow("Collection HODigiCollection isn't available" + _tagHO.label() + " " + _tagHO.instance());
960  if (!e.getByToken(_tokQIE10, c_QIE10))
961  _logger.dqmthrow("Collection QIE10DigiCollection isn't available" + _tagQIE10.label() + " " + _tagQIE10.instance());
962  if (!e.getByToken(_tokQIE11, c_QIE11))
963  _logger.dqmthrow("Collection QIE11DigiCollection isn't available" + _tagQIE11.label() + " " + _tagQIE11.instance());
964 
965  auto lumiCache = luminosityBlockCache(e.getLuminosityBlock().index());
966  _currentLS = lumiCache->currentLS;
967 
968  int nHB(0), nHE(0), nHO(0), nHF(0);
969  for (QIE11DigiCollection::const_iterator it = c_QIE11->begin(); it != c_QIE11->end(); ++it) {
970  const QIE11DataFrame digi = static_cast<const QIE11DataFrame>(*it);
971  HcalDetId const& did = digi.detid();
972  // Require barrel or endcap. As of 2017, some calibration channels are ending up in this collection.
973  if ((did.subdet() != HcalEndcap) && (did.subdet() != HcalBarrel)) {
974  continue;
975  }
976  int digiSizeToUse = floor(digi.samples() / constants::CAPS_NUM) * constants::CAPS_NUM - 1;
977  did.subdet() == HcalBarrel ? nHB++ : nHE++;
978 
979  for (int i = 0; i < digiSizeToUse; i++) {
980  _cADC_SubdetPM.fill(did, digi[i].adc());
981 
982  _xPedSum1LS.get(did) += digi[i].adc();
983  _xPedSum21LS.get(did) += digi[i].adc() * digi[i].adc();
984  _xPedEntries1LS.get(did)++;
985 
986  _xPedSumTotal.get(did) += digi[i].adc();
987  _xPedSum2Total.get(did) += digi[i].adc() * digi[i].adc();
988  _xPedEntriesTotal.get(did)++;
989  }
990  }
991 
994 
995  for (HODigiCollection::const_iterator it = c_ho->begin(); it != c_ho->end(); ++it) {
996  const HODataFrame digi = (const HODataFrame)(*it);
997  HcalDetId did = digi.id();
998  int digiSizeToUse = floor(digi.size() / constants::CAPS_NUM) * constants::CAPS_NUM - 1;
999  nHO++;
1000  for (int i = 0; i < digiSizeToUse; i++) {
1001  _cADC_SubdetPM.fill(did, it->sample(i).adc());
1002 
1003  _xPedSum1LS.get(did) += it->sample(i).adc();
1004  _xPedSum21LS.get(did) += it->sample(i).adc() * it->sample(i).adc();
1005  _xPedEntries1LS.get(did)++;
1006 
1007  _xPedSumTotal.get(did) += it->sample(i).adc();
1008  _xPedSum2Total.get(did) += it->sample(i).adc() * it->sample(i).adc();
1009  _xPedEntriesTotal.get(did)++;
1010  }
1011  }
1013 
1014  for (QIE10DigiCollection::const_iterator it = c_QIE10->begin(); it != c_QIE10->end(); ++it) {
1015  const QIE10DataFrame digi = static_cast<const QIE10DataFrame>(*it);
1016  HcalDetId did = digi.detid();
1017  if (did.subdet() != HcalForward) {
1018  continue;
1019  }
1020  // HF has 3 samples in global, so impossible to make divisible by 4
1021  int digiSizeToUse =
1022  (digi.samples() >= 4 ? floor(digi.samples() / constants::CAPS_NUM) * constants::CAPS_NUM - 1 : digi.samples());
1023  nHF++;
1024  for (int i = 0; i < digiSizeToUse; i++) {
1025  _cADC_SubdetPM.fill(did, digi[i].adc());
1026 
1027  _xPedSum1LS.get(did) += digi[i].adc();
1028  _xPedSum21LS.get(did) += digi[i].adc() * digi[i].adc();
1029  _xPedEntries1LS.get(did)++;
1030 
1031  _xPedSumTotal.get(did) += digi[i].adc();
1032  _xPedSum2Total.get(did) += digi[i].adc() * digi[i].adc();
1033  _xPedEntriesTotal.get(did)++;
1034  }
1035  }
1037 }

References _cADC_SubdetPM, _cOccupancyEAvsLS_Subdet, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_logger, _tagHO, _tagQIE10, _tagQIE11, _tokHO, _tokQIE10, _tokQIE11, _xPedEntries1LS, _xPedEntriesTotal, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, gpuClustering::adc, edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), hcaldqm::constants::CAPS_NUM, QIE11DataFrame::detid(), QIE10DataFrame::detid(), Logger::dqmthrow(), MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), hcaldqm::Container1D::fill(), hcaldqm::ContainerXXX< STDTYPE >::get(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, mps_fire::i, HODataFrame::id(), edm::InputTag::instance(), edm::InputTag::label(), QIE11DataFrame::samples(), QIE10DataFrame::samples(), HODataFrame::size(), and HcalDetId::subdet().

◆ _resetMonitors()

void PedestalTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
overrideprotectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 604 of file PedestalTask.cc.

604  {
605  DQTask::_resetMonitors(uf);
606 
607  switch (uf) {
608  case hcaldqm::f50LS:
610  break;
611  default:
612  break;
613  }
614 }

References _cADC_SubdetPM, hcaldqm::f50LS, and hcaldqm::Container1D::reset().

◆ bookHistograms()

void PedestalTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 33 of file PedestalTask.cc.

33  {
34  if (_ptype == fLocal)
35  if (r.runAuxiliary().run() == 1)
36  return;
38 
40  _emap = dbs->getHcalMapping();
41  std::vector<uint32_t> vhashVME;
42  std::vector<uint32_t> vhashuTCA;
43  std::vector<uint32_t> vhashC38;
44  vhashVME.push_back(
46  vhashuTCA.push_back(HcalElectronicsId(CRATE_uTCA_MIN, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
47  vhashC38.push_back(HcalElectronicsId(38, SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
51 
52  // Containers XXX
59 
60 #ifndef HIDE_PEDESTAL_CONDITIONS
63 #endif
64 
65  // Containers
67  "Mean1LS",
71  0);
73  "RMS1LS",
77  0);
79  "Mean1LS",
84  0);
86  "RMS1LS",
91  0);
92  if (_ptype != fOffline) { // hidefed2crate
94  "Mean1LS",
99  0);
101  "Mean1LS",
106  0);
108  "RMS1LS",
113  0);
115  "RMS1LS",
120  0);
121  }
122 
124  "Mean",
128  0);
130  "RMS",
134  0);
136  "Mean",
141  0);
143  "RMS",
148  0);
149 
151  "MeanDBRef1LS",
155  0);
157  "RMSDBRef1LS",
161  0);
163  "MeanDBRef1LS",
168  0);
170  "RMSDBRef1LS",
175  0);
176 
178  "MeanDBRef",
182  0);
184  "RMSDBRef",
188  0);
190  "MeanDBRef",
195  0);
197  "RMSDBRef",
202  0);
203 
205  "MissingvsLS",
209  0);
211  "OccupancyvsLS",
215  0);
217  "OccupancyEAvsLS",
221  0);
223  "NBadMeanvsLS",
227  0);
229  "NBadRMSvsLS",
233  0);
234 
236  "Missing1LS",
241  0);
243  "MeanBad1LS",
248  0);
250  "RMSBad1LS",
255  0);
256 
258  "Missing",
263  0);
265  "MeanBad",
270  0);
272  "RMSBad",
277  0);
278 
280  "ADC",
284  0);
285 
286  if (_ptype != fOffline) { // hidefed2crate
287  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
288  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
289  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
290  for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it)
291  _vhashFEDs.push_back(
293  for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
294  std::pair<uint16_t, uint16_t> cspair = utilities::fed2crate(*it);
295  _vhashFEDs.push_back(HcalElectronicsId(cspair.first, cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
296  }
302  "Mean",
307  0);
309  "Mean",
314  0);
316  "RMS",
321  0);
323  "RMS",
328  0);
330  "MeanDBRef1LS",
335  0);
337  "MeanDBRef1LS",
342  0);
344  "RMSDBRef1LS",
349  0);
351  "RMSDBRef1LS",
356  0);
358  "MeanDBRef",
363  0);
365  _name,
366  "MeanDBRef",
371  0);
373  "RMSDBRef",
378  0);
380  "RMSDBRef",
385  0);
387  "Missing1LS",
392  0);
394  "Missing1LS",
399  0);
401  "MeanBad1LS",
406  0);
408  "MeanBad1LS",
413  0);
415  "RMSBad1LS",
420  0);
422  "RMSBad1LS",
427  0);
429  "Missing",
434  0);
436  "Missing",
441  0);
443  "MeanBad",
448  0);
450  "MeanBad",
455  0);
457  "RMSBad",
462  0);
464  "RMSBad",
469  0);
471  "SummaryvsLS",
476  0);
478  "SummaryvsLS",
482  0);
483  }
484 
485  // book plots
498 
510 
511  if (_ptype != fOffline) { // hidefed2crate
526 
541  }
542 
548  if (_ptype != fOffline) { // hidefed2crate
551  }
552 
553  // book compact containers
560 
561 #ifndef HIDE_PEDESTAL_CONDITIONS
564 #endif
565 
566  if (_ptype != fOffline) { // hidefed2crate
567  _xNChs.book(_emap);
571  }
572 
574 
575  // load conditions pedestals
576  std::vector<HcalGenericDetId> dids = _emap->allPrecisionId();
577  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
578  // skip if calib or whatever
579  if (!it->isHcalDetId())
580  continue;
581  // skip Crate 38
583  continue;
584 #ifndef HIDE_PEDESTAL_CONDITIONS
585  HcalDetId did = HcalDetId(it->rawId());
586 
587  HcalPedestal const* peds = dbs->getPedestal(did);
588  float const* means = peds->getValues();
589  float const* rmss = peds->getWidths();
590  double msum = 0;
591  double rsum = 0;
592  for (uint32_t i = 0; i < 4; i++) {
593  msum += means[i];
594  rsum += rmss[i];
595  }
596  msum /= 4;
597  rsum /= 4;
598  _xPedRefMean.set(did, msum);
599  _xPedRefRMS.set(did, rsum);
600 #endif
601  }
602 }

References _cADC_SubdetPM, _cMean1LS_depth, _cMean1LS_FEDuTCA, _cMean1LS_FEDVME, _cMean1LS_Subdet, _cMeanBad1LS_depth, _cMeanBad1LS_FEDuTCA, _cMeanBad1LS_FEDVME, _cMeanBadTotal_depth, _cMeanBadTotal_FEDuTCA, _cMeanBadTotal_FEDVME, _cMeanDBRef1LS_depth, _cMeanDBRef1LS_FEDuTCA, _cMeanDBRef1LS_FEDVME, _cMeanDBRef1LS_Subdet, _cMeanDBRefTotal_depth, _cMeanDBRefTotal_FEDuTCA, _cMeanDBRefTotal_FEDVME, _cMeanDBRefTotal_Subdet, _cMeanTotal_depth, _cMeanTotal_FEDuTCA, _cMeanTotal_FEDVME, _cMeanTotal_Subdet, _cMissing1LS_depth, _cMissing1LS_FEDuTCA, _cMissing1LS_FEDVME, _cMissingTotal_depth, _cMissingTotal_FEDuTCA, _cMissingTotal_FEDVME, _cMissingvsLS_Subdet, _cNBadMeanvsLS_Subdet, _cNBadRMSvsLS_Subdet, _cOccupancyEAvsLS_Subdet, _cOccupancyvsLS_Subdet, _cRMS1LS_depth, _cRMS1LS_FEDuTCA, _cRMS1LS_FEDVME, _cRMS1LS_Subdet, _cRMSBad1LS_depth, _cRMSBad1LS_FEDuTCA, _cRMSBad1LS_FEDVME, _cRMSBadTotal_depth, _cRMSBadTotal_FEDuTCA, _cRMSBadTotal_FEDVME, _cRMSDBRef1LS_depth, _cRMSDBRef1LS_FEDuTCA, _cRMSDBRef1LS_FEDVME, _cRMSDBRef1LS_Subdet, _cRMSDBRefTotal_depth, _cRMSDBRefTotal_FEDuTCA, _cRMSDBRefTotal_FEDVME, _cRMSDBRefTotal_Subdet, _cRMSTotal_depth, _cRMSTotal_FEDuTCA, _cRMSTotal_FEDVME, _cRMSTotal_Subdet, _cSummaryvsLS, _cSummaryvsLS_FED, _ehashmap, hcaldqm::DQTask::_emap, _filter_C38, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _vflags, _vhashFEDs, _xNBadMean1LS, _xNBadRMS1LS, _xNChs, _xNMsn1LS, _xPedEntries1LS, _xPedEntriesTotal, _xPedRefMean, _xPedRefRMS, _xPedSum1LS, _xPedSum21LS, _xPedSum2Total, _xPedSumTotal, HcalElectronicsMap::allPrecisionId(), hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fADC_15, hcaldqm::quantity::fADC_256, hcaldqm::quantity::fADC_5, hcaldqm::quantity::fAroundZero, hcaldqm::hashfunctions::fCrate, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fDChannel, hcaldqm::hashfunctions::fdepth, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, 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::filter::HashFilter::filter(), hcaldqm::quantity::fiphi, hcaldqm::fLocal, hcaldqm::quantity::fN, hcaldqm::quantity::fN_to8000, hcaldqm::fOffline, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, hcaldqm::hashfunctions::fSubdet, hcaldqm::hashfunctions::fSubdetPM, hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), edm::EventSetup::getHandle(), HcalDbService::getHcalMapping(), HcalDbService::getPedestal(), HcalPedestal::getValues(), hcalDbServiceToken_, mps_fire::i, cuy::ib, hcaldqm::ContainerProf1D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), alignCSCRings::r, HcalElectronicsId::rawId(), hcaldqm::ContainerXXX< STDTYPE >::set(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

◆ dqmEndRun()

void PedestalTask::dqmEndRun ( edm::Run const &  r,
edm::EventSetup const &   
)
overridevirtual

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

Definition at line 930 of file PedestalTask.cc.

930  {
931  if (_ptype == fLocal) {
932  if (r.runAuxiliary().run() == 1)
933  return;
934  else
935  this->_dump();
936  } else if (_ptype == fOnline)
937  return;
938 }

References _dump(), hcaldqm::DQModule::_ptype, hcaldqm::fLocal, hcaldqm::fOnline, and alignCSCRings::r.

◆ globalBeginLuminosityBlock()

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

Definition at line 925 of file PedestalTask.cc.

926  {
927  return DQTask::globalBeginLuminosityBlock(lb, es);
928 }

◆ globalEndLuminosityBlock()

void PedestalTask::globalEndLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
override

Definition at line 940 of file PedestalTask.cc.

940  {
941  auto lumiCache = luminosityBlockCache(lb.index());
942  _currentLS = lumiCache->currentLS;
943  _xQuality.reset();
944  _xQuality = lumiCache->xQuality;
945 
946  if (_ptype == fLocal)
947  return;
948  this->_dump();
949 
950  DQTask::globalEndLuminosityBlock(lb, es);
951 }

References hcaldqm::DQModule::_currentLS, _dump(), hcaldqm::DQModule::_ptype, hcaldqm::DQTask::_xQuality, hcaldqm::fLocal, edm::LuminosityBlock::index(), and hcaldqm::ContainerXXX< STDTYPE >::reset().

Member Data Documentation

◆ _cADC_SubdetPM

hcaldqm::Container1D PedestalTask::_cADC_SubdetPM
protected

Definition at line 155 of file PedestalTask.h.

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

◆ _cMean1LS_depth

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_depth
protected

Definition at line 90 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMean1LS_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_FEDuTCA
protected

Definition at line 93 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMean1LS_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cMean1LS_FEDVME
protected

Definition at line 92 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMean1LS_Subdet

hcaldqm::Container1D PedestalTask::_cMean1LS_Subdet
protected

Definition at line 86 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBad1LS_depth

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_depth
protected

Definition at line 141 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBad1LS_FEDuTCA

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_FEDuTCA
protected

Definition at line 146 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBad1LS_FEDVME

hcaldqm::Container2D PedestalTask::_cMeanBad1LS_FEDVME
protected

Definition at line 143 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBadTotal_depth

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_depth
protected

Definition at line 148 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBadTotal_FEDuTCA

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_FEDuTCA
protected

Definition at line 153 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanBadTotal_FEDVME

hcaldqm::Container2D PedestalTask::_cMeanBadTotal_FEDVME
protected

Definition at line 150 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRef1LS_depth

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_depth
protected

Definition at line 109 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRef1LS_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_FEDuTCA
protected

Definition at line 112 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRef1LS_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRef1LS_FEDVME
protected

Definition at line 111 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRef1LS_Subdet

hcaldqm::Container1D PedestalTask::_cMeanDBRef1LS_Subdet
protected

Definition at line 105 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRefTotal_depth

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_depth
protected

Definition at line 116 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRefTotal_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_FEDuTCA
protected

Definition at line 119 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRefTotal_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cMeanDBRefTotal_FEDVME
protected

Definition at line 118 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanDBRefTotal_Subdet

hcaldqm::Container1D PedestalTask::_cMeanDBRefTotal_Subdet
protected

Definition at line 107 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanTotal_depth

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_depth
protected

Definition at line 97 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanTotal_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_FEDuTCA
protected

Definition at line 100 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanTotal_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cMeanTotal_FEDVME
protected

Definition at line 99 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMeanTotal_Subdet

hcaldqm::Container1D PedestalTask::_cMeanTotal_Subdet
protected

Definition at line 84 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissing1LS_depth

hcaldqm::Container2D PedestalTask::_cMissing1LS_depth
protected

Definition at line 133 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissing1LS_FEDuTCA

hcaldqm::Container2D PedestalTask::_cMissing1LS_FEDuTCA
protected

Definition at line 135 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissing1LS_FEDVME

hcaldqm::Container2D PedestalTask::_cMissing1LS_FEDVME
protected

Definition at line 134 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissingTotal_depth

hcaldqm::Container2D PedestalTask::_cMissingTotal_depth
protected

Definition at line 136 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissingTotal_FEDuTCA

hcaldqm::Container2D PedestalTask::_cMissingTotal_FEDuTCA
protected

Definition at line 138 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissingTotal_FEDVME

hcaldqm::Container2D PedestalTask::_cMissingTotal_FEDVME
protected

Definition at line 137 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cMissingvsLS_Subdet

hcaldqm::Container1D PedestalTask::_cMissingvsLS_Subdet
protected

Definition at line 124 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cNBadMeanvsLS_Subdet

hcaldqm::Container1D PedestalTask::_cNBadMeanvsLS_Subdet
protected

Definition at line 126 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cNBadRMSvsLS_Subdet

hcaldqm::Container1D PedestalTask::_cNBadRMSvsLS_Subdet
protected

Definition at line 127 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cOccupancyEAvsLS_Subdet

hcaldqm::ContainerProf1D PedestalTask::_cOccupancyEAvsLS_Subdet
protected

Definition at line 130 of file PedestalTask.h.

Referenced by _process(), and bookHistograms().

◆ _cOccupancyvsLS_Subdet

hcaldqm::Container1D PedestalTask::_cOccupancyvsLS_Subdet
protected

Definition at line 125 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMS1LS_depth

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_depth
protected

Definition at line 91 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMS1LS_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_FEDuTCA
protected

Definition at line 95 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMS1LS_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cRMS1LS_FEDVME
protected

Definition at line 94 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMS1LS_Subdet

hcaldqm::Container1D PedestalTask::_cRMS1LS_Subdet
protected

Definition at line 87 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBad1LS_depth

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_depth
protected

Definition at line 142 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBad1LS_FEDuTCA

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_FEDuTCA
protected

Definition at line 144 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBad1LS_FEDVME

hcaldqm::Container2D PedestalTask::_cRMSBad1LS_FEDVME
protected

Definition at line 145 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBadTotal_depth

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_depth
protected

Definition at line 149 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBadTotal_FEDuTCA

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_FEDuTCA
protected

Definition at line 151 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSBadTotal_FEDVME

hcaldqm::Container2D PedestalTask::_cRMSBadTotal_FEDVME
protected

Definition at line 152 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRef1LS_depth

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_depth
protected

Definition at line 110 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRef1LS_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_FEDuTCA
protected

Definition at line 114 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRef1LS_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRef1LS_FEDVME
protected

Definition at line 113 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRef1LS_Subdet

hcaldqm::Container1D PedestalTask::_cRMSDBRef1LS_Subdet
protected

Definition at line 106 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRefTotal_depth

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_depth
protected

Definition at line 117 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRefTotal_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_FEDuTCA
protected

Definition at line 121 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRefTotal_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cRMSDBRefTotal_FEDVME
protected

Definition at line 120 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSDBRefTotal_Subdet

hcaldqm::Container1D PedestalTask::_cRMSDBRefTotal_Subdet
protected

Definition at line 108 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSTotal_depth

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_depth
protected

Definition at line 98 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSTotal_FEDuTCA

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_FEDuTCA
protected

Definition at line 102 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSTotal_FEDVME

hcaldqm::ContainerProf2D PedestalTask::_cRMSTotal_FEDVME
protected

Definition at line 101 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cRMSTotal_Subdet

hcaldqm::Container1D PedestalTask::_cRMSTotal_Subdet
protected

Definition at line 85 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cSummaryvsLS

hcaldqm::ContainerSingle2D PedestalTask::_cSummaryvsLS
protected

Definition at line 159 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _cSummaryvsLS_FED

hcaldqm::Container2D PedestalTask::_cSummaryvsLS_FED
protected

Definition at line 158 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _ehashmap

hcaldqm::electronicsmap::ElectronicsMap PedestalTask::_ehashmap
protected

Definition at line 56 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _filter_C38

hcaldqm::filter::HashFilter PedestalTask::_filter_C38
protected

Definition at line 59 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _filter_uTCA

hcaldqm::filter::HashFilter PedestalTask::_filter_uTCA
protected

Definition at line 57 of file PedestalTask.h.

Referenced by bookHistograms().

◆ _filter_VME

hcaldqm::filter::HashFilter PedestalTask::_filter_VME
protected

Definition at line 58 of file PedestalTask.h.

Referenced by bookHistograms().

◆ _tagHO

edm::InputTag PedestalTask::_tagHO
protected

Definition at line 41 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tagQIE10

edm::InputTag PedestalTask::_tagQIE10
protected

Definition at line 42 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tagQIE11

edm::InputTag PedestalTask::_tagQIE11
protected

Definition at line 40 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tagTrigger

edm::InputTag PedestalTask::_tagTrigger
protected

Definition at line 43 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

◆ _taguMN

edm::InputTag PedestalTask::_taguMN
protected

Definition at line 44 of file PedestalTask.h.

Referenced by PedestalTask().

◆ _thresh_badm

double PedestalTask::_thresh_badm
protected

Definition at line 62 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

◆ _thresh_badr

double PedestalTask::_thresh_badr
protected

Definition at line 62 of file PedestalTask.h.

Referenced by PedestalTask().

◆ _thresh_mean

double PedestalTask::_thresh_mean
protected

Definition at line 62 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

◆ _thresh_missing_high

double PedestalTask::_thresh_missing_high
protected

Definition at line 63 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

◆ _thresh_missing_low

double PedestalTask::_thresh_missing_low
protected

Definition at line 63 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

◆ _thresh_rms

double PedestalTask::_thresh_rms
protected

Definition at line 62 of file PedestalTask.h.

Referenced by _dump(), and PedestalTask().

◆ _tokHO

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

Definition at line 47 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tokQIE10

edm::EDGetTokenT<QIE10DigiCollection> PedestalTask::_tokQIE10
protected

Definition at line 48 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tokQIE11

edm::EDGetTokenT<QIE11DigiCollection> PedestalTask::_tokQIE11
protected

Definition at line 46 of file PedestalTask.h.

Referenced by _process(), and PedestalTask().

◆ _tokTrigger

edm::EDGetTokenT<HcalTBTriggerData> PedestalTask::_tokTrigger
protected

Definition at line 49 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

◆ _tokuMN

edm::EDGetTokenT<HcalUMNioDigi> PedestalTask::_tokuMN
protected

Definition at line 45 of file PedestalTask.h.

Referenced by _isApplicable(), and PedestalTask().

◆ _vflags

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

Definition at line 52 of file PedestalTask.h.

Referenced by _dump(), bookHistograms(), and PedestalTask().

◆ _vhashFEDs

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

Definition at line 66 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xNBadMean1LS

hcaldqm::ContainerXXX<int> PedestalTask::_xNBadMean1LS
protected

Definition at line 77 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xNBadRMS1LS

hcaldqm::ContainerXXX<int> PedestalTask::_xNBadRMS1LS
protected

Definition at line 77 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xNChs

hcaldqm::ContainerXXX<int> PedestalTask::_xNChs
protected

Definition at line 75 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xNMsn1LS

hcaldqm::ContainerXXX<int> PedestalTask::_xNMsn1LS
protected

Definition at line 76 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xPedEntries1LS

hcaldqm::ContainerXXX<int> PedestalTask::_xPedEntries1LS
protected

Definition at line 71 of file PedestalTask.h.

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

◆ _xPedEntriesTotal

hcaldqm::ContainerXXX<int> PedestalTask::_xPedEntriesTotal
protected

Definition at line 74 of file PedestalTask.h.

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

◆ _xPedRefMean

hcaldqm::ContainerXXX<double> PedestalTask::_xPedRefMean
protected

Definition at line 80 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xPedRefRMS

hcaldqm::ContainerXXX<double> PedestalTask::_xPedRefRMS
protected

Definition at line 81 of file PedestalTask.h.

Referenced by _dump(), and bookHistograms().

◆ _xPedSum1LS

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum1LS
protected

Definition at line 69 of file PedestalTask.h.

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

◆ _xPedSum21LS

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum21LS
protected

Definition at line 70 of file PedestalTask.h.

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

◆ _xPedSum2Total

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSum2Total
protected

Definition at line 73 of file PedestalTask.h.

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

◆ _xPedSumTotal

hcaldqm::ContainerXXX<double> PedestalTask::_xPedSumTotal
protected

Definition at line 72 of file PedestalTask.h.

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

◆ debug

PedestalTask.debug

◆ hcalDbServiceToken_

edm::ESGetToken<HcalDbService, HcalDbRecord> PedestalTask::hcalDbServiceToken_
protected

Definition at line 50 of file PedestalTask.h.

Referenced by bookHistograms().

◆ mtype

PedestalTask.mtype

Definition at line 13 of file PedestalTask.py.

◆ name

PedestalTask.name

Definition at line 8 of file PedestalTask.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), TreeCrawler.Package.dump(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), personalPlayback.Applet.log(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), counter.Counter.write(), and average.Average.write().

◆ pedestalTask

PedestalTask.pedestalTask

Definition at line 4 of file PedestalTask.py.

◆ ptype

PedestalTask.ptype

Definition at line 12 of file PedestalTask.py.

◆ runkeyName

PedestalTask.runkeyName

Definition at line 11 of file PedestalTask.py.

◆ runkeyVal

PedestalTask.runkeyVal

Definition at line 10 of file PedestalTask.py.

◆ subsystem

PedestalTask.subsystem

Definition at line 14 of file PedestalTask.py.

◆ tagHBHE

PedestalTask.tagHBHE

Definition at line 17 of file PedestalTask.py.

◆ tagHF

PedestalTask.tagHF

Definition at line 19 of file PedestalTask.py.

◆ tagHO

PedestalTask.tagHO

Definition at line 18 of file PedestalTask.py.

◆ tagRaw

PedestalTask.tagRaw

Definition at line 20 of file PedestalTask.py.

◆ thresh_badm

PedestalTask.thresh_badm

Definition at line 24 of file PedestalTask.py.

◆ thresh_badr

PedestalTask.thresh_badr

Definition at line 25 of file PedestalTask.py.

◆ thresh_mean

PedestalTask.thresh_mean

Definition at line 22 of file PedestalTask.py.

◆ thresh_rms

PedestalTask.thresh_rms

Definition at line 23 of file PedestalTask.py.

hcaldqm::flag::Flag
Definition: Flag.h:24
hcaldqm::quantity::FEDQuantity
Definition: ElectronicsQuantity.h:356
PedestalTask::_cMissingTotal_FEDuTCA
hcaldqm::Container2D _cMissingTotal_FEDuTCA
Definition: PedestalTask.h:138
hcaldqm::constants::FED_VME_MIN
const int FED_VME_MIN
Definition: Constants.h:82
hcaldqm::ContainerXXX::initialize
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:81
PedestalTask::hcalDbServiceToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: PedestalTask.h:50
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::Container2D::initialize
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:25
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
hcaldqm::quantity::FlagQuantity
Definition: ValueQuantity.h:374
PedestalTask::_thresh_missing_high
double _thresh_missing_high
Definition: PedestalTask.h:63
hcaldqm::electronicsmap::ElectronicsMap::lookup
uint32_t lookup(DetId const &)
Definition: ElectronicsMap.cc:122
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
PedestalTask::_tokQIE10
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: PedestalTask.h:48
HcalUMNioDigi::eventType
uint8_t eventType() const
Definition: HcalUMNioDigi.cc:35
PedestalTask::_dump
virtual void _dump()
Definition: PedestalTask.cc:616
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
PedestalTask::_cMeanTotal_FEDVME
hcaldqm::ContainerProf2D _cMeanTotal_FEDVME
Definition: PedestalTask.h:99
hcaldqm::quantity::fSlotuTCA
Definition: ElectronicsQuantity.h:21
hcaldqm::ContainerXXX::set
virtual void set(HcalDetId const &, STDTYPE)
Definition: ContainerXXX.h:182
PedestalTask::_cADC_SubdetPM
hcaldqm::Container1D _cADC_SubdetPM
Definition: PedestalTask.h:155
PedestalTask::_xPedEntries1LS
hcaldqm::ContainerXXX< int > _xPedEntries1LS
Definition: PedestalTask.h:71
PedestalTask::_thresh_rms
double _thresh_rms
Definition: PedestalTask.h:62
hcaldqm::ContainerXXX::exists
virtual bool exists(HcalDetId const &)
Definition: ContainerXXX.h:212
QIE10DataFrame::samples
constexpr int samples() const
total number of samples in the digi
Definition: QIE10DataFrame.h:86
fwrapper::cs
unique_ptr< ClusterSequence > cs
Definition: fastjetfortran_madfks.cc:47
PedestalTask::nPedestalFlag
Definition: PedestalTask.h:53
hcaldqm::constants::CAPS_NUM
const int CAPS_NUM
Definition: Constants.h:207
hcaldqm::ContainerProf2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: ContainerProf2D.cc:47
hcaldqm::quantity::ValueQuantity
Definition: ValueQuantity.h:319
hcaldqm::hashfunctions::fElectronics
Definition: HashFunctions.h:154
hcaldqm::quantity::fN_to8000
Definition: ValueQuantity.h:40
PedestalTask::_cRMSTotal_depth
hcaldqm::ContainerProf2D _cRMSTotal_depth
Definition: PedestalTask.h:98
hcaldqm::Container1D::reset
virtual void reset()
Definition: Container1D.cc:60
PedestalTask::_cOccupancyEAvsLS_Subdet
hcaldqm::ContainerProf1D _cOccupancyEAvsLS_Subdet
Definition: PedestalTask.h:130
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition: gpuClusterChargeCut.h:20
HcalPedestal::getValues
const float * getValues() const
get value for all capId = 0..3
Definition: HcalPedestal.h:18
hcaldqm::flag::fGOOD
Definition: Flag.h:17
PedestalTask::_cMeanBad1LS_depth
hcaldqm::Container2D _cMeanBad1LS_depth
Definition: PedestalTask.h:141
PedestalTask::_cNBadRMSvsLS_Subdet
hcaldqm::Container1D _cNBadRMSvsLS_Subdet
Definition: PedestalTask.h:127
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
hcaldqm::electronicsmap::ElectronicsMap::initialize
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
Definition: ElectronicsMap.cc:6
hcaldqm::hashfunctions::fSubdetPM
Definition: HashFunctions.h:136
hcaldqm::constants::SPIGOT_MIN
const int SPIGOT_MIN
Definition: Constants.h:120
HcalDbService::getPedestal
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:277
PedestalTask::_cRMSBad1LS_FEDuTCA
hcaldqm::Container2D _cRMSBad1LS_FEDuTCA
Definition: PedestalTask.h:144
hcaldqm::fLocal
Definition: DQModule.h:26
hcaldqm::constants::SLOT_uTCA_MIN
const int SLOT_uTCA_MIN
Definition: Constants.h:107
PedestalTask::_cMeanDBRefTotal_FEDuTCA
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDuTCA
Definition: PedestalTask.h:119
hcaldqm::constants::FIBER_uTCA_MIN1
const int FIBER_uTCA_MIN1
Definition: Constants.h:128
PedestalTask::_cRMS1LS_FEDVME
hcaldqm::ContainerProf2D _cRMS1LS_FEDVME
Definition: PedestalTask.h:94
PedestalTask::_cMeanDBRef1LS_FEDVME
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDVME
Definition: PedestalTask.h:111
PedestalTask::_tokQIE11
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
Definition: PedestalTask.h:46
PedestalTask::_tagQIE11
edm::InputTag _tagQIE11
Definition: PedestalTask.h:40
PedestalTask::_tokHO
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: PedestalTask.h:47
PedestalTask::_tagTrigger
edm::InputTag _tagTrigger
Definition: PedestalTask.h:43
PedestalTask::_cMissing1LS_FEDVME
hcaldqm::Container2D _cMissing1LS_FEDVME
Definition: PedestalTask.h:134
PedestalTask::_xNBadRMS1LS
hcaldqm::ContainerXXX< int > _xNBadRMS1LS
Definition: PedestalTask.h:77
PedestalTask::_cMeanTotal_FEDuTCA
hcaldqm::ContainerProf2D _cMeanTotal_FEDuTCA
Definition: PedestalTask.h:100
PedestalTask::_cOccupancyvsLS_Subdet
hcaldqm::Container1D _cOccupancyvsLS_Subdet
Definition: PedestalTask.h:125
PedestalTask::_cMissing1LS_depth
hcaldqm::Container2D _cMissing1LS_depth
Definition: PedestalTask.h:133
PedestalTask::_filter_VME
hcaldqm::filter::HashFilter _filter_VME
Definition: PedestalTask.h:58
hcaldqm::hashfunctions::fFED
Definition: HashFunctions.h:145
HcalBarrel
Definition: HcalAssistant.h:33
hcaldqm::DQModule::_ptype
ProcessingType _ptype
Definition: DQModule.h:44
PedestalTask::_vflags
std::vector< hcaldqm::flag::Flag > _vflags
Definition: PedestalTask.h:52
PedestalTask::_cMeanTotal_depth
hcaldqm::ContainerProf2D _cMeanTotal_depth
Definition: PedestalTask.h:97
hcaldqm::flag::fBAD
Definition: Flag.h:19
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
PedestalTask::_cRMSBadTotal_FEDuTCA
hcaldqm::Container2D _cRMSBadTotal_FEDuTCA
Definition: PedestalTask.h:151
PedestalTask::_cMissingTotal_FEDVME
hcaldqm::Container2D _cMissingTotal_FEDVME
Definition: PedestalTask.h:137
edm::Handle
Definition: AssociativeIterator.h:50
PedestalTask::_tokuMN
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
Definition: PedestalTask.h:45
HcalChannelStatus::HcalCellMask
Definition: HcalChannelStatus.h:18
hcaldqm::hashfunctions::fdepth
Definition: HashFunctions.h:140
hcaldqm::quantity::fADC_5
Definition: ValueQuantity.h:16
hcaldqm::utilities::getFEDList
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:95
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
hcaldqm::DQTask::_xQuality
ContainerXXX< uint32_t > _xQuality
Definition: DQTask.h:66
HcalTBTriggerData::wasSpillIgnorantPedestalTrigger
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
Definition: HcalTBTriggerData.h:79
PedestalTask::_cMean1LS_FEDuTCA
hcaldqm::ContainerProf2D _cMean1LS_FEDuTCA
Definition: PedestalTask.h:93
PedestalTask::_cMeanBad1LS_FEDuTCA
hcaldqm::Container2D _cMeanBad1LS_FEDuTCA
Definition: PedestalTask.h:146
PedestalTask::_cMissing1LS_FEDuTCA
hcaldqm::Container2D _cMissing1LS_FEDuTCA
Definition: PedestalTask.h:135
PedestalTask::_cNBadMeanvsLS_Subdet
hcaldqm::Container1D _cNBadMeanvsLS_Subdet
Definition: PedestalTask.h:126
HcalElectronicsMap::allPrecisionId
std::vector< HcalGenericDetId > allPrecisionId() const
Definition: HcalElectronicsMap.cc:139
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
PedestalTask::_xNBadMean1LS
hcaldqm::ContainerXXX< int > _xNBadMean1LS
Definition: PedestalTask.h:77
PedestalTask::_xPedRefMean
hcaldqm::ContainerXXX< double > _xPedRefMean
Definition: PedestalTask.h:80
PedestalTask::_xPedSum2Total
hcaldqm::ContainerXXX< double > _xPedSum2Total
Definition: PedestalTask.h:73
hcaldqm::quantity::fieta
Definition: DetectorQuantity.h:15
PedestalTask::_cMean1LS_Subdet
hcaldqm::Container1D _cMean1LS_Subdet
Definition: PedestalTask.h:86
PedestalTask::_cRMSDBRefTotal_Subdet
hcaldqm::Container1D _cRMSDBRefTotal_Subdet
Definition: PedestalTask.h:108
PedestalTask::_xPedRefRMS
hcaldqm::ContainerXXX< double > _xPedRefRMS
Definition: PedestalTask.h:81
QIE10DataFrame::detid
constexpr DetId detid() const
Get the detector id.
Definition: QIE10DataFrame.h:76
PedestalTask::_cRMSDBRefTotal_depth
hcaldqm::ContainerProf2D _cRMSDBRefTotal_depth
Definition: PedestalTask.h:117
PedestalTask::_cSummaryvsLS_FED
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: PedestalTask.h:158
hcaldqm::quantity::fiphi
Definition: DetectorQuantity.h:14
PedestalTask::_cMeanBadTotal_depth
hcaldqm::Container2D _cMeanBadTotal_depth
Definition: PedestalTask.h:148
PedestalTask::_xPedSum21LS
hcaldqm::ContainerXXX< double > _xPedSum21LS
Definition: PedestalTask.h:70
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
hcaldqm::DQModule::_currentLS
int _currentLS
Definition: DQModule.h:53
hcaldqm::ContainerProf2D::initialize
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
Definition: ContainerProf2D.cc:22
HcalChannelStatus
Definition: HcalChannelStatus.h:13
PedestalTask::_cRMSDBRef1LS_depth
hcaldqm::ContainerProf2D _cRMSDBRef1LS_depth
Definition: PedestalTask.h:110
PedestalTask::_cMeanDBRefTotal_FEDVME
hcaldqm::ContainerProf2D _cMeanDBRefTotal_FEDVME
Definition: PedestalTask.h:118
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PedestalTask::_cMeanDBRef1LS_FEDuTCA
hcaldqm::ContainerProf2D _cMeanDBRef1LS_FEDuTCA
Definition: PedestalTask.h:112
hcaldqm::hashfunctions::fCrate
Definition: HashFunctions.h:148
PedestalTask::_cRMSDBRef1LS_Subdet
hcaldqm::Container1D _cRMSDBRef1LS_Subdet
Definition: PedestalTask.h:106
hcaldqm::ContainerXXX::reset
virtual void reset()
Definition: ContainerXXX.h:292
hcaldqm::constants::CRATE_uTCA_MIN
const int CRATE_uTCA_MIN
Definition: Constants.h:100
hcaldqm::filter::HashFilter::initialize
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:17
hcaldqm::filter::HashFilter::filter
virtual bool filter(HcalDetId const &) const
Definition: HashFilter.cc:24
PedestalTask::_cMean1LS_FEDVME
hcaldqm::ContainerProf2D _cMean1LS_FEDVME
Definition: PedestalTask.h:92
hcaldqm::constants::FIBER_VME_MIN
const int FIBER_VME_MIN
Definition: Constants.h:125
PedestalTask::_cRMSBad1LS_depth
hcaldqm::Container2D _cRMSBad1LS_depth
Definition: PedestalTask.h:142
edm::ESHandle< HcalDbService >
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::DQModule::_name
std::string _name
Definition: DQModule.h:42
PedestalTask::_cRMSBad1LS_FEDVME
hcaldqm::Container2D _cRMSBad1LS_FEDVME
Definition: PedestalTask.h:145
HcalOuter
Definition: HcalAssistant.h:35
QIE11DataFrame::samples
constexpr int samples() const
total number of samples in the digi
Definition: QIE11DataFrame.h:77
hcaldqm::constants::FIBERCH_MIN
const int FIBERCH_MIN
Definition: Constants.h:134
hcaldqm::hashfunctions::fSubdet
Definition: HashFunctions.h:132
PedestalTask::_cMissingvsLS_Subdet
hcaldqm::Container1D _cMissingvsLS_Subdet
Definition: PedestalTask.h:124
HcalPedestal
Definition: HcalPedestal.h:15
hcaldqm::quantity::DetectorQuantity
Definition: DetectorQuantity.h:59
hcaldqm::utilities::isFEDHF
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:168
PedestalTask::_cMeanDBRefTotal_depth
hcaldqm::ContainerProf2D _cMeanDBRefTotal_depth
Definition: PedestalTask.h:116
hcaldqm::Container2D::setBinContent
void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:163
hcaldqm::quantity::fN
Definition: ValueQuantity.h:11
PedestalTask::_cRMSDBRef1LS_FEDVME
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDVME
Definition: PedestalTask.h:113
Logger::dqmthrow
void dqmthrow(std::string const &msg) const
Definition: Logger.h:12
PedestalTask::_filter_uTCA
hcaldqm::filter::HashFilter _filter_uTCA
Definition: PedestalTask.h:57
PedestalTask::_cRMSDBRefTotal_FEDVME
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDVME
Definition: PedestalTask.h:120
hcaldqm::Container2D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:567
hcaldqm::Container2D::fill
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
hcaldqm::hashfunctions::fDChannel
Definition: HashFunctions.h:143
PedestalTask::_cMeanDBRef1LS_Subdet
hcaldqm::Container1D _cMeanDBRef1LS_Subdet
Definition: PedestalTask.h:105
PedestalTask::_thresh_badr
double _thresh_badr
Definition: PedestalTask.h:62
hcaldqm::Container1D::fill
virtual void fill(uint32_t)
Definition: Container1D.cc:73
PedestalTask::_filter_C38
hcaldqm::filter::HashFilter _filter_C38
Definition: PedestalTask.h:59
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
PedestalTask::_cRMS1LS_FEDuTCA
hcaldqm::ContainerProf2D _cRMS1LS_FEDuTCA
Definition: PedestalTask.h:95
PedestalTask::_tagHO
edm::InputTag _tagHO
Definition: PedestalTask.h:41
PedestalTask::_cMeanDBRefTotal_Subdet
hcaldqm::Container1D _cMeanDBRefTotal_Subdet
Definition: PedestalTask.h:107
hcaldqm::DQModule::_logger
Logger _logger
Definition: DQModule.h:55
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
PedestalTask::_cRMSDBRef1LS_FEDuTCA
hcaldqm::ContainerProf2D _cRMSDBRef1LS_FEDuTCA
Definition: PedestalTask.h:114
HcalDetId
Definition: HcalDetId.h:12
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
PedestalTask::_cMeanBadTotal_FEDVME
hcaldqm::Container2D _cMeanBadTotal_FEDVME
Definition: PedestalTask.h:150
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
PedestalTask::_ehashmap
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: PedestalTask.h:56
HODataFrame::size
constexpr int size() const
total number of samples in the digi
Definition: HODataFrame.h:27
PedestalTask::_cMeanTotal_Subdet
hcaldqm::Container1D _cMeanTotal_Subdet
Definition: PedestalTask.h:84
cuy.ib
ib
Definition: cuy.py:661
PedestalTask::_cMeanDBRef1LS_depth
hcaldqm::ContainerProf2D _cMeanDBRef1LS_depth
Definition: PedestalTask.h:109
PedestalTask::fMsn
Definition: PedestalTask.h:53
PedestalTask::_cRMSTotal_FEDuTCA
hcaldqm::ContainerProf2D _cRMSTotal_FEDuTCA
Definition: PedestalTask.h:102
hcaldqm::quantity::fSpigot
Definition: ElectronicsQuantity.h:23
PedestalTask::_xNChs
hcaldqm::ContainerXXX< int > _xNChs
Definition: PedestalTask.h:75
QIE11DataFrame::detid
constexpr DetId detid() const
Get the detector id.
Definition: QIE11DataFrame.h:67
PedestalTask::_cSummaryvsLS
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: PedestalTask.h:159
PedestalTask::_xNMsn1LS
hcaldqm::ContainerXXX< int > _xNMsn1LS
Definition: PedestalTask.h:76
PedestalTask::fBadM
Definition: PedestalTask.h:53
hcalcalib_dqm_sourceclient-live_cfg.eventType
eventType
Definition: hcalcalib_dqm_sourceclient-live_cfg.py:197
PedestalTask::_cRMSBadTotal_depth
hcaldqm::Container2D _cRMSBadTotal_depth
Definition: PedestalTask.h:149
hcaldqm::DQTask::_vcdaqEids
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:69
hcaldqm::DQModule::_subsystem
std::string _subsystem
Definition: DQModule.h:49
alignCSCRings.r
r
Definition: alignCSCRings.py:93
hcaldqm::ContainerProf2D::fill
void fill(HcalDetId const &) override
Definition: ContainerProf2D.cc:228
HcalForward
Definition: HcalAssistant.h:36
hcaldqm::flag::fPROBLEMATIC
Definition: Flag.h:18
hcaldqm::DQModule::_maxLS
int _maxLS
Definition: DQModule.h:54
hcaldqm::quantity::ElectronicsQuantity
Definition: ElectronicsQuantity.h:333
hcaldqm::ContainerProf1D::initialize
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
Definition: ContainerProf1D.cc:22
PedestalTask::_xPedEntriesTotal
hcaldqm::ContainerXXX< int > _xPedEntriesTotal
Definition: PedestalTask.h:74
HcalChannelStatus::HcalCellDead
Definition: HcalChannelStatus.h:20
hcaldqm::electronicsmap::fD2EHashMap
Definition: ElectronicsMap.h:25
hcaldqm::quantity::fADC_256
Definition: ValueQuantity.h:56
QIE10DataFrame
Definition: QIE10DataFrame.h:11
PedestalTask::_cRMS1LS_Subdet
hcaldqm::Container1D _cRMS1LS_Subdet
Definition: PedestalTask.h:87
hcaldqm::quantity::fAroundZero
Definition: ValueQuantity.h:29
HcalEndcap
Definition: HcalAssistant.h:34
PedestalTask::_cMeanBad1LS_FEDVME
hcaldqm::Container2D _cMeanBad1LS_FEDVME
Definition: PedestalTask.h:143
hcaldqm::quantity::fFiberuTCAFiberCh
Definition: ElectronicsQuantity.h:31
hcaldqm::utilities::isFEDHBHE
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:154
PedestalTask::_cRMSTotal_FEDVME
hcaldqm::ContainerProf2D _cRMSTotal_FEDVME
Definition: PedestalTask.h:101
nanoDQM_cff.Flag
Flag
Definition: nanoDQM_cff.py:98
HODataFrame
Definition: HODataFrame.h:14
hcaldqm::ContainerSingle2D::setBinContent
virtual void setBinContent(int, int, int)
Definition: ContainerSingle2D.cc:154
PedestalTask::fBadR
Definition: PedestalTask.h:53
HcalElectronicsId::rawId
constexpr uint32_t rawId() const
Definition: HcalElectronicsId.h:59
QIE11DataFrame
Definition: QIE11DataFrame.h:11
hcaldqm::quantity::fFiberVMEFiberCh
Definition: ElectronicsQuantity.h:32
hcaldqm::DQTask::_emap
const HcalElectronicsMap * _emap
Definition: DQTask.h:81
PedestalTask::_cMean1LS_depth
hcaldqm::ContainerProf2D _cMean1LS_depth
Definition: PedestalTask.h:90
hcaldqm::ContainerSingle2D::book
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: ContainerSingle2D.cc:68
hcaldqm::utilities::fed2crate
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:10
PedestalTask::_xPedSumTotal
hcaldqm::ContainerXXX< double > _xPedSumTotal
Definition: PedestalTask.h:72
hcaldqm::utilities::isFEDHO
bool isFEDHO(HcalElectronicsId const &)
Definition: Utilities.cc:180
PedestalTask::_cRMSBadTotal_FEDVME
hcaldqm::Container2D _cRMSBadTotal_FEDVME
Definition: PedestalTask.h:152
hcaldqm::utilities::getFEDVMEList
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:113
PedestalTask::_thresh_missing_low
double _thresh_missing_low
Definition: PedestalTask.h:63
hcaldqm::ContainerXXX::book
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:87
PedestalTask::_cRMS1LS_depth
hcaldqm::ContainerProf2D _cRMS1LS_depth
Definition: PedestalTask.h:91
PedestalTask::_taguMN
edm::InputTag _taguMN
Definition: PedestalTask.h:44
hcaldqm::ContainerXXX::get
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:197
PedestalTask::_xPedSum1LS
hcaldqm::ContainerXXX< double > _xPedSum1LS
Definition: PedestalTask.h:69
PedestalTask::_cMeanBadTotal_FEDuTCA
hcaldqm::Container2D _cMeanBadTotal_FEDuTCA
Definition: PedestalTask.h:153
PedestalTask::_thresh_badm
double _thresh_badm
Definition: PedestalTask.h:62
hcaldqm::ContainerSingle2D::initialize
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: ContainerSingle2D.cc:46
PedestalTask::_cMissingTotal_depth
hcaldqm::Container2D _cMissingTotal_depth
Definition: PedestalTask.h:136
hcaldqm::quantity::fADC_15
Definition: ValueQuantity.h:17
hcaldqm::Container1D::initialize
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:33
hcaldqm::ContainerProf1D::book
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: ContainerProf1D.cc:40
hcaldqm::flag::fNCDAQ
Definition: Flag.h:15
hcaldqm::fOnline
Definition: DQModule.h:26
hcaldqm::quantity::fState
Definition: ValueQuantity.h:49
PedestalTask::_cRMSDBRefTotal_FEDuTCA
hcaldqm::ContainerProf2D _cRMSDBRefTotal_FEDuTCA
Definition: PedestalTask.h:121
PedestalTask::_vhashFEDs
std::vector< uint32_t > _vhashFEDs
Definition: PedestalTask.h:66
HODataFrame::id
constexpr HcalDetId const & id() const
Definition: HODataFrame.h:23
hcaldqm::DQTask::DQTask
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:8
hcaldqm::f50LS
Definition: DQTask.h:32
hcaldqm::utilities::getFEDuTCAList
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:133
PedestalTask::_cRMSTotal_Subdet
hcaldqm::Container1D _cRMSTotal_Subdet
Definition: PedestalTask.h:85
PedestalTask::_tagQIE10
edm::InputTag _tagQIE10
Definition: PedestalTask.h:42
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
edm::InputTag
Definition: InputTag.h:15
hcaldqm::constants::CRATE_VME_MIN
const int CRATE_VME_MIN
Definition: Constants.h:95
hcaldqm::filter::fFilter
Definition: HashFilter.h:19
hcaldqm::Container1D::book
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:592
hcaldqm::constants::EVENTTYPE_PEDESTAL
const uint8_t EVENTTYPE_PEDESTAL
Definition: Constants.h:292
PedestalTask::_tokTrigger
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: PedestalTask.h:49
PedestalTask::_thresh_mean
double _thresh_mean
Definition: PedestalTask.h:62
hcaldqm::fOffline
Definition: DQModule.h:26
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
hcaldqm::quantity::LumiSection
Definition: ValueQuantity.h:400