Public Types | |
typedef std::unique_ptr< SiStripBadStrip > | ReturnType |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
std::map< unsigned short, unsigned short > | clusterizeBadChannels (const std::vector< Phase2TrackerDigi::PackedDigiType > &maskedChannels) |
Private Attributes | |
float | badComponentsFraction_ |
std::unique_ptr< CLHEP::HepRandomEngine > | engine_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
bool | printDebug_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | trackTopoToken_ |
Additional Inherited Members | |
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 > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&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: Adapted to Phase-2 from CalibTracker/SiStripESProducers/plugins/fake/SiStripBadModuleConfigurableFakeESSource.cc
Definition at line 43 of file SiPhase2BadStripConfigurableFakeESSource.cc.
typedef std::unique_ptr<SiStripBadStrip> SiPhase2BadStripConfigurableFakeESSource::ReturnType |
Definition at line 52 of file SiPhase2BadStripConfigurableFakeESSource.cc.
SiPhase2BadStripConfigurableFakeESSource::SiPhase2BadStripConfigurableFakeESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 73 of file SiPhase2BadStripConfigurableFakeESSource.cc.
References badComponentsFraction_, gpuPixelDoublets::cc, Exception, geomToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), printDebug_, edm::ESProducer::setWhatProduced(), and trackTopoToken_.
|
overridedefault |
|
private |
Definition at line 192 of file SiPhase2BadStripConfigurableFakeESSource.cc.
References data, HLT_2023v12_cff::distance, LogDebug, L1Scalers_cfi::maskedChannels, printDebug_, mps_fire::result, submitPVValidationJobs::text, and cond::impl::to_string().
Referenced by produce().
|
static |
Definition at line 242 of file SiPhase2BadStripConfigurableFakeESSource.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), and submitPVResolutionJobs::desc.
SiPhase2BadStripConfigurableFakeESSource::ReturnType SiPhase2BadStripConfigurableFakeESSource::produce | ( | const SiPhase2OuterTrackerBadStripRcd & | iRecord | ) |
Definition at line 97 of file SiPhase2BadStripConfigurableFakeESSource.cc.
References cms::cuda::assert(), badComponentsFraction_, clusterizeBadChannels(), TauDecayModes::dec, DetId::det(), TrackerGeometry::detUnits(), engine_, f, spr::find(), dqmdumpme::first, geomToken_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), TrackerGeometry::getDetectorType(), LogDebug, hgcalPlots::ncols, PixelTopology::nrows(), TrackerGeometry::Ph2PSS, TrackerGeometry::Ph2SS, Phase2TrackerDigi::pixelToChannel(), printDebug_, FastTimerService_cff::range, DetId::rawId(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), StripSubdetector::TID, StripSubdetector::TOB, and align::Tracker.
|
overridevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 90 of file SiPhase2BadStripConfigurableFakeESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 63 of file SiPhase2BadStripConfigurableFakeESSource.cc.
Referenced by produce(), and SiPhase2BadStripConfigurableFakeESSource().
|
private |
Definition at line 66 of file SiPhase2BadStripConfigurableFakeESSource.cc.
Referenced by produce().
|
private |
Definition at line 70 of file SiPhase2BadStripConfigurableFakeESSource.cc.
Referenced by produce(), and SiPhase2BadStripConfigurableFakeESSource().
|
private |
Definition at line 62 of file SiPhase2BadStripConfigurableFakeESSource.cc.
Referenced by clusterizeBadChannels(), produce(), and SiPhase2BadStripConfigurableFakeESSource().
|
private |
Definition at line 69 of file SiPhase2BadStripConfigurableFakeESSource.cc.
Referenced by SiPhase2BadStripConfigurableFakeESSource().