16 detIds_( pset.getParameter<
edm::FileInPath>(
"DetIdsFile") )
18 findingRecord<SiStripHashedDetIdRcd>();
20 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 21 <<
" Constructing object...";
28 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 29 <<
" Destructing object...";
36 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 37 <<
" Building \"fake\" hashed DetId map from ascii file";
39 typedef std::map<uint32_t,SiStripDetInfoFileReader::DetInfo>
Dets;
42 std::vector<uint32_t> dets;
45 Dets::const_iterator idet = det_info.begin();
46 Dets::const_iterator jdet = det_info.end();
47 for ( ; idet != jdet; ++idet ) { dets.push_back( idet->first ); }
49 <<
"[SiStripHashedDetIdESProducer::" << __func__ <<
"]" 50 <<
" Retrieved " << dets.size()
51 <<
" DetIds from ascii file!";
55 <<
"[SiStripHashedDetIdESProducer::" << __func__ <<
"]" 56 <<
" DetId hash map: " << std::endl
static const IOVSyncValue & endOfTime()
virtual ~SiStripHashedDetIdFakeESSource()
Provides dense hash map in place of DetId.
static const IOVSyncValue & beginOfTime()
Abstract base class for producer of SiStripHashedDetId record.
virtual SiStripHashedDetId * make(const SiStripHashedDetIdRcd &)
SiStripHashedDetIdFakeESSource(const edm::ParameterSet &)
std::string fullPath() const
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)