17 findingRecord<SiStripHashedDetIdRcd>();
19 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 20 <<
" Constructing object...";
27 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 28 <<
" Destructing object...";
35 <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 36 <<
" Building \"fake\" hashed DetId map from ascii file";
38 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()
Provides dense hash map in place of DetId.
~SiStripHashedDetIdFakeESSource() override
const std::map< uint32_t, DetInfo > & getAllData() const
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static const IOVSyncValue & beginOfTime()
Abstract base class for producer of SiStripHashedDetId record.
SiStripHashedDetId * make(const SiStripHashedDetIdRcd &) override
SiStripHashedDetIdFakeESSource(const edm::ParameterSet &)