48 findingRecord<SiStripLatencyRcd>();
67 auto latency = std::make_unique<SiStripLatency>();
71 if (!detInfos.empty()) {
73 edm::LogInfo(
"SiStripLatencyGenerator") <<
"detId = " << detInfos.rbegin()->first <<
" apv = " << 6
80 edm::LogError(
"SiStripLatencyGenerator") <<
"Error: detInfo map is empty. Cannot get the last detId.";
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getParameter(std::string const &) const
static const IOVSyncValue & endOfTime()
Log< level::Error, false > LogError
~SiStripLatencyFakeESSource() override
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
static const IOVSyncValue & beginOfTime()
ReturnType produce(const SiStripLatencyRcd &)
SiStripDetInfo read(std::string filePath)
SiStripLatencyFakeESSource(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
std::unique_ptr< SiStripLatency > ReturnType
const std::map< uint32_t, DetInfo > & getAllData() const noexcept
const std::string & fullPath() const