49 findingRecord<SiStripThresholdRcd>();
69 auto threshold = std::make_unique<SiStripThreshold>();
77 LogDebug(
"SiStripThresholdFakeESSource::produce")
78 <<
"detid: " << elm.first <<
" \t" 79 <<
"firstStrip: " <<
strip <<
" \t" << theSiStripVector.back().getFirstStrip() <<
" \t" 80 <<
"lTh: " <<
m_lTh <<
" \t" << theSiStripVector.back().getLth() <<
" \t" 81 <<
"hTh: " <<
m_hTh <<
" \t" << theSiStripVector.back().getHth() <<
" \t" 82 <<
"FirstStrip_and_Hth: " << theSiStripVector.back().FirstStrip_and_Hth <<
" \t";
84 if (!
threshold->put(elm.first, theSiStripVector)) {
85 edm::LogError(
"SiStripThresholdFakeESSource::produce ") <<
" detid already exists";
~SiStripThresholdFakeESSource() override
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getParameter(std::string const &) const
std::string fullPath() const
ReturnType produce(const SiStripThresholdRcd &)
static const IOVSyncValue & endOfTime()
Log< level::Error, false > LogError
std::vector< Data > Container
std::unique_ptr< SiStripThreshold > ReturnType
SiStripThresholdFakeESSource(const edm::ParameterSet &)
static const IOVSyncValue & beginOfTime()
SiStripDetInfo read(std::string filePath)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
const std::map< uint32_t, DetInfo > & getAllData() const noexcept