47 findingRecord<SiStripThresholdRcd>();
67 auto threshold = std::make_unique<SiStripThreshold>();
70 for (
const auto& elm : reader->getAllData() ) {
76 LogDebug(
"SiStripThresholdFakeESSource::produce") <<
"detid: " << elm.first <<
" \t" 77 <<
"firstStrip: " << strip <<
" \t" << theSiStripVector.back().getFirstStrip() <<
" \t" 78 <<
"lTh: " <<
m_lTh <<
" \t" << theSiStripVector.back().getLth() <<
" \t" 79 <<
"hTh: " <<
m_hTh <<
" \t" << theSiStripVector.back().getHth() <<
" \t" 80 <<
"FirstStrip_and_Hth: " << theSiStripVector.back().FirstStrip_and_Hth <<
" \t";
82 if ( !
threshold->put(elm.first, theSiStripVector) ) {
83 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