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