Go to the documentation of this file.
48 findingRecord<SiStripLatencyRcd>();
68 auto latency = std::make_unique<SiStripLatency>();
72 if (!detInfos.empty()) {
74 edm::LogInfo(
"SiStripLatencyGenerator") <<
"detId = " << detInfos.rbegin()->first <<
" apv = " << 6
81 edm::LogError(
"SiStripLatencyGenerator") <<
"Error: detInfo map is empty. Cannot get the last detId.";
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Log< level::Info, false > LogInfo
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
ReturnType produce(const SiStripLatencyRcd &)
std::unique_ptr< SiStripLatency > ReturnType
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
SiStripDetInfoFileReader m_detInfoFileReader
static const IOVSyncValue & endOfTime()
~SiStripLatencyFakeESSource() override
Log< level::Error, false > LogError
SiStripLatencyFakeESSource(const edm::ParameterSet &)
const std::map< uint32_t, DetInfo > & getAllData() const
static const IOVSyncValue & beginOfTime()
T getParameter(std::string const &) const