Updated CRV coincidence cluster finder#1772
Conversation
|
Hi @ehrlich-uva,
which require these tests: build. @Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main. ⌛ The following tests have been triggered for 98c3b17: build (Build queue - API unavailable) |
|
☀️ The build tests passed at 98c3b17.
N.B. These results were obtained from a build of this Pull Request at 98c3b17 after being merged into the base branch at c570352. For more information, please check the job page here. |
|
I'll review this pull request by examining its details and the code changes.Here is my detailed review of PR #1772. This is a significant refactoring of the CRV coincidence cluster finder that changes the algorithm for pairing hits from both readout sides of CRV counters. Below are the issues I found, organized by severity. 🔴 Bugs / Potential Correctness Issues1. Operator precedence bug in
|
| Severity | Issue | Location |
|---|---|---|
| 🔴 Bug | float map keys can split same-counter hits |
clusterProperties |
| 🔴 Bug | filterHits PE threshold now only checks one side |
filterHits |
| 🔴 Bug | Deleted CrvCoincidence.hh still forward-declared |
HlPrint.hh |
| 🟡 Logic | One-side fallback can silently overwrite avgHitTime |
clusterProperties |
| 🟡 Logic | Multi-counter clusters use only first/last map entry | clusterProperties |
| 🟡 Perf | Repeated _sectorMap scans per sector type |
produce() |
| 🟢 Style | Typos in comments ("diving", "orign", "overconstraint") | Throughout |
| 🟢 Style | Inconsistent float/double mixing |
Throughout |
|
Responses:
|
Changed algorithm that pairs hits of both readout sides of CRV counters.