Go to the documentation of this file.
49 findingRecord<SiStripThresholdRcd>();
70 auto threshold = std::make_unique<SiStripThreshold>();
78 LogDebug(
"SiStripThresholdFakeESSource::produce")
79 <<
"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";
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
std::vector< Data > Container
SiStripDetInfoFileReader m_detInfoFileReader
~SiStripThresholdFakeESSource() override
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
static const IOVSyncValue & endOfTime()
Log< level::Error, false > LogError
ReturnType produce(const SiStripThresholdRcd &)
const std::map< uint32_t, DetInfo > & getAllData() const
static const IOVSyncValue & beginOfTime()
T getParameter(std::string const &) const
std::unique_ptr< SiStripThreshold > ReturnType
SiStripThresholdFakeESSource(const edm::ParameterSet &)