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< uint32_t > | selectDetectors (const TrackerTopology *tTopo, const std::vector< uint32_t > &detIds) const |
Private Attributes | |
Parameters | m_badComponentList |
edm::FileInPath | m_file |
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 | |
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()) |
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 50 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_badComponentList, m_file, m_printDebug, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 60 of file SiStripBadModuleConfigurableFakeESSource.cc.
SiStripBadModuleConfigurableFakeESSource::ReturnType SiStripBadModuleConfigurableFakeESSource::produce | ( | const SiStripBadModuleRcd & | iRecord | ) |
Definition at line 69 of file SiStripBadModuleConfigurableFakeESSource.cc.
References TauDecayModes::dec, edm::FileInPath::fullPath(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), mps_fire::i, m_file, m_printDebug, edm::ESHandle< T >::product(), jets_cff::quality, matplotRender::reader, 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 139 of file SiStripBadModuleConfigurableFakeESSource.cc.
References gather_cfg::cout, DEFINE_FWK_EVENTSETUP_SOURCE, spr::find(), 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 62 of file SiStripBadModuleConfigurableFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 38 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 39 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), and SiStripBadModuleConfigurableFakeESSource().
|
private |
Definition at line 40 of file SiStripBadModuleConfigurableFakeESSource.cc.
Referenced by produce(), selectDetectors(), and SiStripBadModuleConfigurableFakeESSource().