47 findingRecord<SiStripPedestalsRcd>();
72 for (
const auto& elm :
reader.getAllData() ) {
75 for (
unsigned short j{0}; j < 128*elm.second.nApvs; ++j ) {
77 edm::LogInfo(
"SiStripPedestalsFakeESSource::makePedestals(): ") <<
"detid: " << elm.first <<
" strip: " << j <<
" ped: " <<
m_pedestalValue;
82 if ( ! pedestals->put(elm.first, theSiStripVector) ) {
83 edm::LogError(
"SiStripPedestalsFakeESSource::produce ") <<
" detid already exists";
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
static const IOVSyncValue & endOfTime()
ReturnType produce(const SiStripPedestalsRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::vector< uint16_t > InputVector
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity)
static const IOVSyncValue & beginOfTime()
~SiStripPedestalsFakeESSource()
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
std::shared_ptr< SiStripPedestals > ReturnType
SiStripPedestalsFakeESSource(const edm::ParameterSet &)
std::string fullPath() const