add a list of panel to skip while filtering#1768
add a list of panel to skip while filtering#1768pavel1murat wants to merge 3 commits intoMu2e:mainfrom
Conversation
|
Hi @pavel1murat,
which require these tests: build. @Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main. ⌛ The following tests have been triggered for 78c2f8e: build (Build queue - API unavailable) |
|
☀️ The build tests passed at 78c2f8e.
N.B. These results were obtained from a build of this Pull Request at 78c2f8e after being merged into the base branch at e4c9d83. For more information, please check the job page here. |
|
I'll review this pull request by examining its details and changes.Here is my review of PR #1768 — "add a list of panel to skip while filtering". SummaryThis PR adds the ability to skip specific tracker panels (identified by their "Minnesota ID" / Files changed: Issues Found1. 🔴 No null-pointer check on
|
| # | Severity | Issue | New/Pre-existing |
|---|---|---|---|
| 1 | 🔴 High | Null-pointer dereference from panel_map_by_offline_ind |
New |
| 2 | 🔴 High | _nsht not reset on getByLabel failure → null _shc dereference |
Pre-existing (made worse) |
| 3 | 🟡 Medium | O(N×M) linear scan in hot loop — use unordered_set |
New |
| 4 | 🟡 Medium | _trkPanelMap not initialized to nullptr |
New |
| 5 | 🟡 Medium | _nevt/_nevp not initialized |
Pre-existing |
| 6 | 🟢 Low | Typo "histogrms" |
Pre-existing |
| 7 | 🟢 Low | _fillHistograms declared int, initialized from bool |
Pre-existing |
Recommendation: Issues #1 and #2 should be addressed before merging, as they can lead to crashes. Issue #3 is a nice-to-have optimization. The rest are minor or pre-existing.
|
Hi Pasha, could we not just mark these panels as noisy in the status tables for those runs? Is there any reason to not use strawid to refer to them as well? |
|
📝 The HEAD of |
a few panels have eDep distributions significantly wider that the majority. Skip them in the simplest single hit eDep-based trigger