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 |
Private Attributes | |
Parameters | m_badAPVsList |
Parameters | m_badComponentList |
SiStripDetInfo | m_detInfo |
bool | m_doByAPVs |
bool | m_printDebug |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | trackTopoToken_ |
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={}) |
void | usesResources (std::vector< std::string > const &) |
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 57 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_badAPVsList, m_badComponentList, m_detInfo, m_doByAPVs, m_printDebug, and SiStripDetInfoFileReader::read().
|
override |
Definition at line 68 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::ReturnType SiStripBadModuleConfigurableFakeESSource::produce | ( | const SiStripBadModuleRcd & | iRecord | ) |
Definition at line 77 of file SiStripBadModuleConfigurableFakeESSource.cc.
References TauDecayModes::dec, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), SiStripDetInfo::getAllDetIds(), SiStripDetInfo::getNumberOfApvsAndStripLength(), m_detInfo, m_doByAPVs, m_printDebug, quality, selectAPVs(), selectDetectors(), contentValuesCheck::ss, and trackTopoToken_.
|
private |
Definition at line 184 of file SiStripBadModuleConfigurableFakeESSource.cc.
References m_badAPVsList.
Referenced by produce().
|
private |
Definition at line 197 of file SiStripBadModuleConfigurableFakeESSource.cc.
References gather_cfg::cout, spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, 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 70 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().