26 : geomDetToken_(setWhatProduced(this).consumes()) {}
31 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 32 <<
" Building \"fake\" hashed DetId map from IdealGeometry";
37 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 38 <<
" Retrieved " << dets.size() <<
" DetIds from IdealGeometry!";
40 auto hash = std::make_unique<SiStripHashedDetId>(dets);
41 LogTrace(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]" 42 <<
" 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 &)