#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 | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
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_ |
edm::ESHandle< SiStripFedCabling > | fedCabling_ |
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_ |
std::string | qualityLabel_ |
edm::ESHandle< SiStripQuality > | siStripQuality_ |
edm::ESHandle< TrackerTopology > | tTopo_ |
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 |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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 addBadCompFromFedErr_, fedErrCutoff_, dqmMemoryStats::float, edm::ParameterSet::getUntrackedParameter(), and LogDebug.
|
override |
Definition at line 33 of file SiStripBadComponentInfo.cc.
References LogDebug.
|
private |
Definition at line 168 of file SiStripBadComponentInfo.cc.
References badAPVME_, badFiberME_, badStripME_, dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), bookedStatus_, dqm::dqmstoreimpl::DQMStore::IBooker::cd(), dqm::dqmstoreimpl::DQMStore::IGetter::dirExists(), mps_fire::i, names, nSubSystem_, dqm::dqmstoreimpl::DQMStore::IBooker::pwd(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob().
|
private |
Definition at line 40 of file SiStripBadComponentInfo.cc.
References addBadCompFromFedErr_, fedCabling_, fillBadComponentMaps(), edm::EventSetup::get(), LogDebug, edm::ESHandle< T >::product(), qualityLabel_, siStripQuality_, and tTopo_.
Referenced by endRun().
|
private |
Definition at line 242 of file SiStripBadComponentInfo.cc.
References DEFINE_FWK_MODULE, dqm::impl::MonitorElement::getNbinsY(), mps_fire::i, dqmdumpme::k, genParticles_cff::map, nSubSystem_, and dqm::impl::MonitorElement::setBinContent().
Referenced by dqmEndJob().
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 150 of file SiStripBadComponentInfo.cc.
References addBadCompFromFedErr_, badAPVME_, badFiberME_, sistrip::badStripFromFedErr(), badStripME_, bookBadComponentHistos(), createSummary(), fedCabling_, fedErrCutoff_, fillBadComponentMaps(), LogDebug, mapBadAPV, mapBadFiber, and mapBadStrip.
|
overrideprotected |
Definition at line 145 of file SiStripBadComponentInfo.cc.
References checkBadComponents(), and LogDebug.
|
private |
Definition at line 53 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 226 of file SiStripBadComponentInfo.cc.
References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, KineDebug3::count(), mapBadAPV, mapBadFiber, and heppy_batch::val.
|
private |
Definition at line 74 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), dqmEndJob(), and SiStripBadComponentInfo().
|
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 73 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and dqmEndJob().
|
private |
Definition at line 75 of file SiStripBadComponentInfo.h.
Referenced by dqmEndJob(), and SiStripBadComponentInfo().
|
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 69 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents().
|
private |
Definition at line 71 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents().
|
private |
Definition at line 72 of file SiStripBadComponentInfo.h.
Referenced by checkBadComponents(), and fillBadComponentMaps().