#include <CalibTracker/SiStripQuality/plugins/SiStripQualityStatistics.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | SetBadComponents (int, int, SiStripQuality::BadComponent &) |
void | updateAndSave (const SiStripQuality *siStripQuality) |
Private Attributes | |
std::string | dataLabel_ |
SiStripDetInfo | detInfo_ |
int | NBadComponent [4][19][4] |
int | NTkBadComponent [4] |
edm::RunID | run_ |
bool | saveTkHistoMap_ |
std::stringstream | ssV [4][19] |
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > | tkDetMapToken_ |
std::unique_ptr< TkHistoMap > | tkhisto |
TrackerMap * | tkMap |
std::string | TkMapFileName_ |
TrackerMap * | tkMapFullIOVs |
std::unique_ptr< TrackerTopology > | tTopo_ |
edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
SiStripQualityWithFromFedErrorsHelper | withFedErrHelper_ |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::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 |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
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... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 18 of file SiStripQualityStatistics.h.
|
explicit |
Definition at line 29 of file SiStripQualityStatistics.cc.
References edm::EDConsumerBase::consumesCollector(), and iConfig.
|
overridedefault |
|
overridevirtual |
Implements DQMEDHarvester.
Definition at line 54 of file SiStripQualityStatistics.cc.
References SiStripQualityWithFromFedErrorsHelper::addBadCompFromFedErr(), lut2db_cfg::filename, SiStripQualityWithFromFedErrorsHelper::getMergedQuality(), TrackerMap::print(), TrackerMap::save(), saveTkHistoMap_, AlCaHLTBitMon_QueryRunRegistry::string, tkhisto, TkMapFileName_, tkMapFullIOVs, updateAndSave(), and withFedErrHelper_.
|
override |
Definition at line 71 of file SiStripQualityStatistics.cc.
References SiStripQualityWithFromFedErrorsHelper::addBadCompFromFedErr(), SiStripQualityWithFromFedErrorsHelper::endRun(), edm::EventSetup::getData(), edm::RunBase::id(), SiStripQualityWithFromFedErrorsHelper::qualityToken(), run_, tkDetMapToken_, tkhisto, TkMapFileName_, tTopo_, tTopoToken_, updateAndSave(), and withFedErrHelper_.
|
static |
Definition at line 45 of file SiStripQualityStatistics.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, SiStripQualityWithFromFedErrorsHelper::fillDescription(), SiStripDetInfoFileReader::kDefaultFile, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 292 of file SiStripQualityStatistics.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, SiStripQuality::BadComponent::BadModule, SiStripQuality::BadComponent::detid, detInfo_, TrackerMap::fillc(), SiStripDetInfo::getNumberOfApvsAndStripLength(), mps_fire::i, NBadComponent, ssV, and tkMap.
Referenced by updateAndSave().
|
private |
Definition at line 84 of file SiStripQualityStatistics.cc.
References SiStripBadStrip::decode(), detInfo_, lut2db_cfg::filename, TrackerMap::fill(), TrackerMap::fillc(), SiStripDetInfo::getAllDetIds(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripDetInfo::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), mps_fire::i, SiStripQuality::IsModuleUsable(), dqmiolumiharvest::j, isotrackApplyRegressor::k, LogDebug, NBadComponent, NTkBadComponent, TrackerMap::print(), SiStripBadStrip::data::range, sistrip::SpyUtilities::range(), edm::RunID::run(), run_, TrackerMap::save(), SetBadComponents(), contentValuesCheck::ss, ssV, str, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, tkhisto, tkMap, TkMapFileName_, tkMapFullIOVs, StripSubdetector::TOB, and tTopo_.
Referenced by dqmEndJob(), and endRun().
|
private |
Definition at line 33 of file SiStripQualityStatistics.h.
|
private |
Definition at line 45 of file SiStripQualityStatistics.h.
Referenced by SetBadComponents(), and updateAndSave().
|
private |
Definition at line 38 of file SiStripQualityStatistics.h.
Referenced by SetBadComponents(), and updateAndSave().
|
private |
Definition at line 37 of file SiStripQualityStatistics.h.
Referenced by updateAndSave().
|
private |
Definition at line 32 of file SiStripQualityStatistics.h.
Referenced by endRun(), and updateAndSave().
|
private |
Definition at line 35 of file SiStripQualityStatistics.h.
Referenced by dqmEndJob().
|
private |
Definition at line 42 of file SiStripQualityStatistics.h.
Referenced by SetBadComponents(), and updateAndSave().
|
private |
Definition at line 48 of file SiStripQualityStatistics.h.
Referenced by endRun().
|
private |
Definition at line 46 of file SiStripQualityStatistics.h.
Referenced by dqmEndJob(), endRun(), and updateAndSave().
|
private |
Definition at line 44 of file SiStripQualityStatistics.h.
Referenced by SetBadComponents(), and updateAndSave().
|
private |
Definition at line 34 of file SiStripQualityStatistics.h.
Referenced by dqmEndJob(), endRun(), and updateAndSave().
|
private |
Definition at line 44 of file SiStripQualityStatistics.h.
Referenced by dqmEndJob(), and updateAndSave().
|
private |
Definition at line 49 of file SiStripQualityStatistics.h.
Referenced by endRun(), and updateAndSave().
|
private |
Definition at line 47 of file SiStripQualityStatistics.h.
Referenced by endRun().
|
private |
Definition at line 50 of file SiStripQualityStatistics.h.
Referenced by dqmEndJob(), and endRun().