Public Types | |
typedef std::shared_ptr < SiStripBadStrip > | ReturnType |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair < DataKey, edm::propagate_const < std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector < EventSetupRecordKey > | Keys |
typedef std::map < EventSetupRecordKey, KeyedProxies > | RecordProxies |
Private Member Functions | |
std::vector< std::pair < uint16_t, uint16_t > > | getFedBadChannelList (DQMStore *dqmStore, const MonitorElement *me) const |
float | getProcessedEvents (DQMStore *dqmStore) const |
Private Attributes | |
float | m_cutoff |
std::string | m_fileName |
bool | m_readFlag |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Description: SiStripBadStrip ESProducer from FED errors
A new SiStrip fake source has been added to create Bad Components from the list of Fed detected errors. This is done using a histogram from DQM output where FedId vs APVId is plotted for detected channels.
Implementation:
SiStripBadStrip
object checking detected FedChannel
and FedId
and using SiStripFedCabling
information.SiStripBadModuleFedErrRcd
is defined in CalibTracker/Records
package in SiStripDependentRecords.h
and SiStripDependentRecords.cc
. This is a dependent record and depends on `SiStripFedCablingRcd'. This record is filled with SiStripBadStrip
object.CalibTracker/SiStripESProducers/python/fake/SiStripBadModuleFedErrESSource_cfi.py
CalibTracker/SiStripESProducers/test/mergeBadChannel_cfg.py
which merges SiStrip Bad channels from PLC, RunInfo
and SiStripBadModuleFedErrESSource in SiStripQualityEsProducer
and finally listed by the SiStripQualityStatistics
module.Original author: Suchandra Dutta Sucha ndra .Dutt a@ce rn.ch
Port to edm::ESProducer: Pieter David Piete, summer 2016 r.Da vid@c ern. ch
Definition at line 43 of file SiStripBadModuleFedErrESSource.cc.
typedef std::shared_ptr<SiStripBadStrip> SiStripBadModuleFedErrESSource::ReturnType |
Definition at line 50 of file SiStripBadModuleFedErrESSource.cc.
SiStripBadModuleFedErrESSource::SiStripBadModuleFedErrESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 70 of file SiStripBadModuleFedErrESSource.cc.
References edm::ParameterSet::getParameter(), m_cutoff, m_fileName, m_readFlag, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
SiStripBadModuleFedErrESSource::~SiStripBadModuleFedErrESSource | ( | ) |
Definition at line 80 of file SiStripBadModuleFedErrESSource.cc.
|
private |
Definition at line 100 of file SiStripBadModuleFedErrESSource.cc.
References MonitorElement::DQM_KIND_TH2F, getProcessedEvents(), MonitorElement::getTH2F(), i, j, MonitorElement::kind(), m_cutoff, and runTheMatrix::ret.
Referenced by produce().
|
private |
Definition at line 87 of file SiStripBadModuleFedErrESSource.cc.
References DQMStore::cd(), DQMStore::dirExists(), RefreshWebPage::dname, DQMStore::get(), MonitorElement::getEntries(), hlt_dqm_clientPB-live_cfg::me, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getFedBadChannelList().
SiStripBadModuleFedErrESSource::ReturnType SiStripBadModuleFedErrESSource::produce | ( | const SiStripBadModuleFedErrRcd & | iRecord | ) |
Definition at line 121 of file SiStripBadModuleFedErrESSource.cc.
References FedChannelConnection::apvPairNumber(), TauDecayModes::dec, FedChannelConnection::detId(), RefreshWebPage::dname, AlcaSiStripGainsAfterAbortGapHarvester_cff::DQMStore, getFedBadChannelList(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_fileName, m_readFlag, hlt_dqm_clientPB-live_cfg::me, cppFunctionSkipper::operator, TrackCollections2monitor_cff::quality, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
virtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 82 of file SiStripBadModuleFedErrESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 56 of file SiStripBadModuleFedErrESSource.cc.
Referenced by getFedBadChannelList(), and SiStripBadModuleFedErrESSource().
|
private |
Definition at line 55 of file SiStripBadModuleFedErrESSource.cc.
Referenced by produce(), and SiStripBadModuleFedErrESSource().
|
private |
Definition at line 54 of file SiStripBadModuleFedErrESSource.cc.
Referenced by produce(), and SiStripBadModuleFedErrESSource().