47 findingRecord<SiStripLatencyRcd>();
70 const auto& detInfos =
reader.getAllData();
72 if ( ! detInfos.empty() ) {
74 edm::LogInfo(
"SiStripLatencyGenerator") <<
"detId = " << detInfos.rbegin()->first <<
" apv = " << 6
82 edm::LogError(
"SiStripLatencyGenerator") <<
"Error: detInfo map is empty. Cannot get the last detId.";
T getParameter(std::string const &) const
static const IOVSyncValue & endOfTime()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::shared_ptr< SiStripLatency > ReturnType
~SiStripLatencyFakeESSource() override
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
static const IOVSyncValue & beginOfTime()
ReturnType produce(const SiStripLatencyRcd &)
SiStripLatencyFakeESSource(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
std::string fullPath() const