Public Types | |
typedef std::unique_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 Types | |
using | Parameters = std::vector< edm::ParameterSet > |
Private Member Functions | |
std::vector< std::pair< uint32_t, std::vector< uint32_t > > > | selectAPVs () const |
std::vector< uint32_t > | selectDetectors (const TrackerTopology *tTopo, const std::vector< uint32_t > &detIds) const |
Private Attributes | |
Parameters | m_badAPVsList |
Parameters | m_badComponentList |
bool | m_doByAPVs |
bool | m_printDebug |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
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()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
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: "fake" SiStripBadStrip ESProducer - configurable list of bad modules
Implementation: Port of SiStripBadModuleGenerator and templated fake ESSource to an edm::ESProducer
Definition at line 26 of file SiStripBadModuleConfigurableFakeESSource.cc.
|
private |
Definition at line 37 of file SiStripBadModuleConfigurableFakeESSource.cc.
typedef std::unique_ptr<SiStripBadStrip> SiStripBadModuleConfigurableFakeESSource::ReturnType |
Definition at line 33 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::SiStripBadModuleConfigurableFakeESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 52 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::ParameterSet::getUntrackedParameter(), m_badAPVsList, m_badComponentList, m_doByAPVs, m_printDebug, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 63 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::ReturnType SiStripBadModuleConfigurableFakeESSource::produce | ( | const SiStripBadModuleRcd & | iRecord | ) |
Definition at line 72 of file SiStripBadModuleConfigurableFakeESSource.cc.
References TauDecayModes::dec, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), mps_fire::i, m_doByAPVs, m_printDebug, edm::ESHandle< T >::product(), jets_cff::quality, matplotRender::reader, selectAPVs(), selectDetectors(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and SiStripDetId::UNKNOWN.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 181 of file SiStripBadModuleConfigurableFakeESSource.cc.
References m_badAPVsList.
Referenced by produce().
|
private |
Definition at line 197 of file SiStripBadModuleConfigurableFakeESSource.cc.
References gather_cfg::cout, DEFINE_FWK_EVENTSETUP_SOURCE, spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_badComponentList, m_printDebug, DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::TEC, TrackerTopology::tecIsFrontPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZPlusSide(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibIsInternalString(), TrackerTopology::tibIsRPhi(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZPlusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibString(), SiStripDetId::TID, TrackerTopology::tidIsRPhi(), TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZPlusSide(), TrackerTopology::tidRing(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobIsRPhi(), TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZPlusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobRod(), and DetId::Tracker.
Referenced by produce().
|
overridevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 65 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 39 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by selectAPVs(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 38 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 41 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 40 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().