Mu2e / Offline

Offline software for the Mu2e experiment
Apache License 2.0
8 stars 79 forks source link

Minor follow-ons from PR #1245 #1273

Open kutschke opened 1 month ago

kutschke commented 1 month ago

PR #1245 introduced a new data member to StrawDigiMC. We need to update

https://github.com/Mu2e/Offline/blob/main/Print/src/StrawDigiMCPrinter.cc https://github.com/Mu2e/Offline/blob/main/Validation/src/ValStrawDigiMC.cc

The first creates user friendly printout. The second histograms everything in the payload and is used in nightly validation: https://mu2e.fnal.gov/atwork/computing/ops/val/valJob/nightly/nightly.html . The policy for the printer is that lowest level printout is restricted to one line per entry and is curated. Speak with Ray to learn if he has guidelines for the other verbosity levels. This is where the EnumToString will make live easy: operator << prints both numerical value and the string.

edcallaghan commented 1 month ago

@kutschke I will link #1272 here, though I am not sure to what extent that overlaps with what you had planned for this.

kutschke commented 1 month ago

@kutschke I will link #1272 here, though I am not sure to what extent that overlaps with what you had planned for this.

I screwed up with the newline = create new issue feature. It's updated now. This is not a high priority but it's straightforward. It's orthogonal to the big questions you ask in 1272.