47 findingRecord<SiStripLatencyRcd>();
65 using namespace edm::es;
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()
~SiStripLatencyFakeESSource()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity)
std::shared_ptr< SiStripLatency > ReturnType
static const IOVSyncValue & beginOfTime()
ReturnType produce(const SiStripLatencyRcd &)
SiStripLatencyFakeESSource(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
std::string fullPath() const