#include <SiStripBadComponentInfo.h>
Protected Member Functions | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
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) |
Private Member Functions | |
void | bookBadComponentHistos (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) |
void | checkBadComponents (edm::EventSetup const &eSetup) |
void | createSummary (MonitorElement *me, const std::map< std::pair< int, int >, float > &map) |
void | fillBadComponentMaps (const SiStripQuality *siStripQuality) |
void | fillBadComponentMaps (int xbin, int component, SiStripQuality::BadComponent const &BC) |
Private Attributes | |
bool | addBadCompFromFedErr_ |
MonitorElement * | badAPVME_ |
MonitorElement * | badFiberME_ |
MonitorElement * | badStripME_ |
bool | bookedStatus_ |
const SiStripFedCabling * | fedCabling_ |
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > | fedCablingToken_ |
float | fedErrCutoff_ |
std::map< std::pair< int, int >, float > | mapBadAPV |
std::map< std::pair< int, int >, float > | mapBadFiber |
std::map< std::pair< int, int >, float > | mapBadStrip |
int | nSubSystem_ |
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > | qualityToken_ |
const SiStripQuality * | siStripQuality_ |
const TrackerTopology * | tTopo_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
DQM/SiStripMonitorCluster/interface/SiStripBadComponentInfo.h
Description: Checks the # of SiStrip FEDs from DAQ Usage: <usage>
Definition at line 41 of file SiStripBadComponentInfo.h.
SiStripBadComponentInfo::SiStripBadComponentInfo | ( | edm::ParameterSet const & | ps | ) |
Constructor.
Definition at line 25 of file SiStripBadComponentInfo.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 38 of file SiStripBadComponentInfo.cc.
References LogDebug.
|
private |
Definition at line 173 of file SiStripBadComponentInfo.cc.
References badAPVME_, badFiberME_, badStripME_, dqm::implementation::IBooker::book2D(), bookedStatus_, dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), mps_fire::i, names, nSubSystem_, dqm::implementation::NavigatorBase::pwd(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob().
|
private |
Definition at line 45 of file SiStripBadComponentInfo.cc.
References addBadCompFromFedErr_, fedCabling_, fedCablingToken_, fillBadComponentMaps(), edm::EventSetup::getData(), LogDebug, qualityToken_, siStripQuality_, tTopo_, and tTopoToken_.
Referenced by endRun().
|
private |
Definition at line 247 of file SiStripBadComponentInfo.cc.
References mps_fire::i, dqmdumpme::k, genParticles_cff::map, hlt_dqm_clientPB-live_cfg::me, and nSubSystem_.
Referenced by dqmEndJob().
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 155 of file SiStripBadComponentInfo.cc.
References addBadCompFromFedErr_, badAPVME_, badFiberME_, sistrip::badStripFromFedErr(), badStripME_, bookBadComponentHistos(), createSummary(), fedCabling_, fedErrCutoff_, fillBadComponentMaps(), LogDebug, mapBadAPV, mapBadFiber, mapBadStrip, and siStripQuality_.
|
overrideprotected |
Definition at line 150 of file SiStripBadComponentInfo.cc.
References checkBadComponents(), and LogDebug.
|
private |
Definition at line 58 of file SiStripBadComponentInfo.cc.
References SiStripBadStrip::decode(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), mps_fire::i, mapBadStrip, FastTimerService_cff::range, SiStripBadStrip::data::range, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerTopology::tobLayer(), tTopo_, and heppy_batch::val.
Referenced by checkBadComponents(), and dqmEndJob().
|
private |
Definition at line 231 of file SiStripBadComponentInfo.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, mapBadAPV, mapBadFiber, gpuPixelDoublets::ntot, and heppy_batch::val.
|
private |
Definition at line 76 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and dqmEndJob().
|
private |
Definition at line 59 of file SiStripBadComponentInfo.h.
Referenced by bookBadComponentHistos(), and dqmEndJob().
|
private |
Definition at line 60 of file SiStripBadComponentInfo.h.
Referenced by bookBadComponentHistos(), and dqmEndJob().
|
private |
Definition at line 61 of file SiStripBadComponentInfo.h.
Referenced by bookBadComponentHistos(), and dqmEndJob().
|
private |
Definition at line 67 of file SiStripBadComponentInfo.h.
Referenced by bookBadComponentHistos().
|
private |
Definition at line 72 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and dqmEndJob().
|
private |
Definition at line 75 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents().
|
private |
Definition at line 77 of file SiStripBadComponentInfo.h.
Referenced by dqmEndJob().
|
private |
Definition at line 63 of file SiStripBadComponentInfo.h.
Referenced by dqmEndJob(), and fillBadComponentMaps().
|
private |
Definition at line 64 of file SiStripBadComponentInfo.h.
Referenced by dqmEndJob(), and fillBadComponentMaps().
|
private |
Definition at line 65 of file SiStripBadComponentInfo.h.
Referenced by dqmEndJob(), and fillBadComponentMaps().
|
private |
Definition at line 68 of file SiStripBadComponentInfo.h.
Referenced by bookBadComponentHistos(), and createSummary().
|
private |
Definition at line 73 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents().
|
private |
Definition at line 70 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and dqmEndJob().
|
private |
Definition at line 71 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and fillBadComponentMaps().
|
private |
Definition at line 74 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents().