26 : geomDetToken_(setWhatProduced(this).consumes()) {}
31 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 32 <<
" Building \"fake\" hashed DetId map from IdealGeometry";
38 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 39 <<
" Retrieved " << dets.size() <<
" DetIds from IdealGeometry!";
41 auto hash = std::make_unique<SiStripHashedDetId>(dets);
42 LogTrace(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 43 <<
" DetId hash map: " << std::endl
Log< level::Info, true > LogVerbatim
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
~SiStripHashedDetIdFakeESSource() override
std::vector< uint32_t > getSiStripDetIds(const GeometricDet &geomDet)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
virtual std::unique_ptr< SiStripHashedDetId > produce(const SiStripHashedDetIdRcd &)
SiStripHashedDetIdFakeESSource(const edm::ParameterSet &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const