33 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdESSourceFromGeom::" << __func__ <<
"]"
34 <<
" Constructing object...";
40 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdESSourceFromGeom::" << __func__ <<
"]"
41 <<
" Destructing object...";
47 edm::LogVerbatim(
"HashedDetId") <<
"[SiStripHashedDetIdFakeESSource::" << __func__ <<
"]"
48 <<
" Building \"fake\" hashed DetId map from geometry";
52 std::vector<uint32_t> dets;
55 for (
const auto& iter :
geom.detUnits()) {
56 const auto strip = dynamic_cast<StripGeomDetUnit const*>(iter);
58 dets.push_back((
strip->geographicalId()).rawId());
62 <<
" Retrieved " << dets.size() <<
" sistrip DetIds from geometry!";
65 auto hash = std::make_unique<SiStripHashedDetId>(dets);
67 <<
" DetId hash map: " << std::endl