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()) {
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
Log< level::Info, true > LogVerbatim
~SiStripHashedDetIdESModule() override
std::unique_ptr< SiStripHashedDetId > produce(const SiStripHashedDetIdRcd &)
Builds hashed DetId map based on DetIds read from geometry database.
static const char mlDqmCommon_[]
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
SiStripHashedDetIdESModule(const edm::ParameterSet &)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const