23 using namespace sistrip;
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
const DepRecordT getRecord() const
std::vector< uint32_t > getSiStripDetIds(const GeometricDet &geomDet)
virtual std::unique_ptr< SiStripHashedDetId > produce(const SiStripHashedDetIdRcd &)
SiStripHashedDetIdFakeESSource(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)