Include calorimeter in digi harvesting#1814
Conversation
|
Hi @edcallaghan,
which require these tests: build. @Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main. ⌛ The following tests have been triggered for a4adb5e: build (Build queue - API unavailable) |
|
☀️ The build tests passed at a4adb5e.
N.B. These results were obtained from a build of this Pull Request at a4adb5e after being merged into the base branch at 1ceaf43. For more information, please check the job page here. |
PR #1814 Review: Include calorimeter in digi harvesting1) SummaryAuthor: @edcallaghan • State: open, mergeable (clean) • Risk: Low–Medium The PR extends the blinding/digi-harvesting workflow to include the calorimeter — previously 2) Core changesA.
|
| Aspect | Status |
|---|---|
| Build & integration tests | ✅ all green |
| Mergeable | ✅ clean |
| Reviews | ⏳ none yet |
| clang-tidy |
Blocker for merge, in my view: the mu2e: vs mu2e:: typo in classes_def.xml. The other items are improvements / clarifications.
5) Suggested improvements
- Fix the
mu2e:→mu2e::typos. - Use
std::lroundinstead of truncation for the calot0conversion, or document the truncation choice. - Differentiate fcl
Commentstrings for the twoInputTagatoms inDisplaceDigiTimes. - Consider deduplicating
CaloDigis across KalSeeds inTrackDigiExtractor. - Add a brief comment near
peakposin the displaced digi to clarify it is intentionally not shifted.
6) Want me to…
- Inspect the clang-tidy log to confirm whether any of the 4 errors / 24 warnings are introduced by this PR.
- Pull
CaloDigi.hh/CaloDigiWrapper.hhto confirm thesample_ttype and recommendlroundvsfloorprecisely. - Check
KalSeed::caloHit()/hasCaloCluster()semantics in the codebase for the null-pointer concern. - Search for existing fcl files referencing
DisplaceDigiTimes/TrackDigiExtractorto verify they will need to be updated for the new required parameters (these are required atoms with no defaults — existing fcl will break until updated). - Draft a suggested patch comment for the
classes_def.xmltypo fix.
|
📝 The HEAD of |
This PR includes calorimeter digis in the workflow of extracting digis from an event which participate in a reconstructed track and doctoring their timing to change where in the event window they (and, as a consequence, a track reconstructed them) occur in the event window, which is necessary to include the calorimeter in the proposed salt-with-cosmics blinding scheme.
Changes to existing modules:
One note is that the sample spacing of the calorimeter is not stored condition available via the usual handes, but (where used elsewhere) as a fcl parameter; this implementation thus also supplies this value as a fcl parameter, which may be coordinated as a prolog value when production fcl for this workflow materializes.
This also sneaks in some extra declarations of data products to be serialized to disk, which are necessary when running certain ensembling workflows in the process of testing the blinding mechanics.