#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 | |
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 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().
|
overridedefault |
|
overridevirtual |
Implements DQMEDHarvester.
Definition at line 54 of file SiStripQualityStatistics.cc.
References SiStripQualityWithFromFedErrorsHelper::addBadCompFromFedErr(), corrVsCorr::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(), SiStripQualityWithFromFedErrorsHelper::qualityToken(), writedatasetfile::run, run_, tkDetMapToken_, tkhisto, TkMapFileName_, tTopo_, tTopoToken_, updateAndSave(), and withFedErrHelper_.
|
static |
Definition at line 45 of file SiStripQualityStatistics.cc.
References edm::ConfigurationDescriptions::add(), 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, tkMap, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by updateAndSave().
|
private |
Definition at line 84 of file SiStripQualityStatistics.cc.
References SiStripBadStrip::decode(), detInfo_, corrVsCorr::filename, TrackerMap::fill(), TrackerMap::fillc(), SiStripDetInfo::getAllDetIds(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripDetInfo::getNumberOfApvsAndStripLength(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), mps_fire::i, SiStripQuality::IsModuleUsable(), dqmiolumiharvest::j, dqmdumpme::k, LogDebug, NBadComponent, NTkBadComponent, TrackerMap::print(), FastTimerService_cff::range, SiStripBadStrip::data::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, tTopo_, and testProducerWithPsetDescEmpty_cfi::x1.
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().