31 edm::LogInfo(
"SiPixelFakeLorentzAngleESSource::SiPixelFakeLorentzAngleESSource");
35 findingRecord<SiPixelLorentzAngleRcd>();
49 using namespace edm::es;
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::auto_ptr<SiPixelLorentzAngle>(
obj);
static const IOVSyncValue & endOfTime()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
static const IOVSyncValue & beginOfTime()
SiPixelFakeLorentzAngleESSource(const edm::ParameterSet &)
virtual std::auto_ptr< SiPixelLorentzAngle > produce(const SiPixelLorentzAngleRcd &)
~SiPixelFakeLorentzAngleESSource()
std::string fullPath() const