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::ESProductResolverProvider | |
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::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
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 TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &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::ESProductResolverFactoryProducer | |
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::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
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_2024v14_cff::distance, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, L1Scalers_cfi::maskedChannels, printDebug_, mps_fire::result, submitPVValidationJobs::text, and 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(), nano_mu_digi_cff::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().