29 using HitIds = std::vector<size_t>;
31 const auto& clusters = ctx.
eventStore.
get<Clusters>(m_cfg.inputClusters);
32 const auto& hitParticlesMap =
33 ctx.
eventStore.
get<HitParticlesMap>(m_cfg.inputHitParticlesMap);
34 const auto& hitIds = ctx.
eventStore.
get<HitIds>(m_cfg.inputHitIds);
38 size_t hitIdEnd = m_cfg.hitIdStart + m_cfg.hitIdLength;
39 for (
size_t ihit = m_cfg.hitIdStart;
ihit < hitIdEnd; ++
ihit) {
40 auto hitId = hitIds[
ihit];
41 auto ic = clusters.nth(
ihit);
42 if (ic == clusters.end()) {
47 ACTS_INFO(
" Cluster " <<
ihit <<
" hitId " << hitId <<
" geoId " << geoId
50 for (
const auto&
p :
makeRange(hitParticlesMap.equal_range(
ihit))) {
56 auto numVolume =
selectVolume(clusters, m_cfg.volumeId).size();
57 auto numLayer =
selectLayer(clusters, m_cfg.volumeId, m_cfg.layerId).size();
59 selectModule(clusters, m_cfg.volumeId, m_cfg.layerId, m_cfg.moduleId);
61 ACTS_INFO(
"Hits total: " << clusters.size());
62 ACTS_INFO(
"Hits in volume " << m_cfg.volumeId <<
": " << numVolume);
63 ACTS_INFO(
"Hits in volume " << m_cfg.volumeId <<
" layer " << m_cfg.layerId
65 ACTS_INFO(
"Hits in volume " << m_cfg.volumeId <<
" layer " << m_cfg.layerId
66 <<
" module " << m_cfg.moduleId <<
": "
67 << rangeModule.size());
71 for (
auto ic = rangeModule.begin(); ic != rangeModule.end(); ++ic) {
72 auto ihit = clusters.index_of(ic);
73 auto hitId = hitIds[
ihit];
77 ACTS_INFO(
" Cluster " <<
ihit <<
" hitId " << hitId <<
" geoId " << geoId