31 edm::LogInfo(
"SiPixelFakeLorentzAngleESSource::SiPixelFakeLorentzAngleESSource");
35 findingRecord<SiPixelLorentzAngleRcd>();
50 unsigned int nmodules = 0;
53 const std::vector<uint32_t>& DetIds =
reader.getAllDetIds();
56 for(std::vector<uint32_t>::const_iterator detit = DetIds.begin(); detit!=DetIds.end(); detit++) {
61 if( !obj->
putLorentzAngle(*detit,langle) )
edm::LogError(
"SiPixelFakeLorentzAngleESSource")<<
"[SiPixelFakeLorentzAngleESSource::produce] detid already exists"<<std::endl;
66 return std::unique_ptr<SiPixelLorentzAngle>(
obj);
static const IOVSyncValue & endOfTime()
~SiPixelFakeLorentzAngleESSource() override
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
static const IOVSyncValue & beginOfTime()
virtual std::unique_ptr< SiPixelLorentzAngle > produce(const SiPixelLorentzAngleRcd &)
SiPixelFakeLorentzAngleESSource(const edm::ParameterSet &)
bool putLorentzAngle(const uint32_t &, float &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::string fullPath() const