Public Types | |
typedef std::unique_ptr< SiStripBadStrip > | ReturnType |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
Protected Member Functions inherited from edm::ESProducer | |
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 EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
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 29 of file SiStripBadModuleConfigurableFakeESSource.cc.
|
private |
Definition at line 42 of file SiStripBadModuleConfigurableFakeESSource.cc.
typedef std::unique_ptr<SiStripBadStrip> SiStripBadModuleConfigurableFakeESSource::ReturnType |
Definition at line 38 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::SiStripBadModuleConfigurableFakeESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 58 of file SiStripBadModuleConfigurableFakeESSource.cc.
References contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_badAPVsList, m_badComponentList, m_detInfoFileReader, m_doByAPVs, m_printDebug, edm::ESProducer::setWhatProduced(), and trackTopoToken_.
|
override |
Definition at line 70 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::ReturnType SiStripBadModuleConfigurableFakeESSource::produce | ( | const SiStripBadModuleRcd & | iRecord | ) |
Definition at line 79 of file SiStripBadModuleConfigurableFakeESSource.cc.
References TauDecayModes::dec, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), SiStripDetInfoFileReader::getAllDetIds(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), mps_fire::i, m_detInfoFileReader, m_doByAPVs, m_printDebug, qcdUeDQM_cfi::quality, selectAPVs(), selectDetectors(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, trackTopoToken_, and SiStripDetId::UNKNOWN.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 186 of file SiStripBadModuleConfigurableFakeESSource.cc.
References m_badAPVsList.
Referenced by produce().
|
private |
Definition at line 199 of file SiStripBadModuleConfigurableFakeESSource.cc.
References gather_cfg::cout, DEFINE_FWK_EVENTSETUP_SOURCE, spr::find(), m_badComponentList, m_printDebug, DetId::rawId(), contentValuesCheck::ss, 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 72 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 44 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by selectAPVs(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 43 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 47 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 46 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 45 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 48 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), and SiStripBadModuleConfigurableFakeESSource().