Skip to content

Commit

Permalink
Add debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ruse-traveler committed Nov 6, 2024
1 parent 4e9f901 commit 903fe3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/algorithms/calorimetry/CalorimeterHitsMerger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ void CalorimeterHitsMerger::init() {
ref_maps.emplace_back(
svc.service<EvaluatorSvc>("EvaluatorSvc")->compile(mapping, hit_to_map)
);
trace("Mapping for field {} = {}", m_cfg.fields.at(iMap), mapping);
}
++iMap;
} // end loop over mappings
Expand Down Expand Up @@ -120,6 +121,7 @@ void CalorimeterHitsMerger::process(
} else {
build_map_via_funcs(in_hits,merge_map);
}
debug("Merge map built: merging {} hits into {} merged hits", in_hits->size(), merge_map.size());

// sort hits by energy from large to small
for (auto &it : merge_map) {
Expand Down

0 comments on commit 903fe3e

Please sign in to comment.