Experiment-independent access to pedestals in larsoft event display.
#1 Updated by Tracy Usher about 5 years ago
- Assignee set to Tracy Usher
Currently the event display is accessing pedestals for the raw digit display from the raw digit data objects themselves. This data member is now deprecated and will be removed at some point in the future. In addition, MicroBooNE now has a pedestals database and a method for retrieving that information, though that method may change at some point in the future.
The immediate task is to modify the event display to use the pedestals database for MicroBooNE but to use experiment dependent constant values for other experiments. A quick consult with people from lariat, DUNE 35ton, etc., indicates it should be possible with the current structure to do this without breaking the other experiments.
#2 Updated by Tracy Usher about 5 years ago
An interim solution has been pushed to two git feature branches. These updates address two problems in what I think should be considered a temporary fashion:
1) Currently, the noise run data taken by uboone does not have a valid time stamp which is required for retrieving values from the database. The kludge to make this work has been localized into the detector pedestals algorithm in larevt - see feature branch feature/usher_uboone_pedestal
2) A test on maximum channel number has been inserted into loops over RawDigits in the event display, in addition to adding in the structure needed to recover pedestals from the database. Access to the database is controllable through fhicl parameters, the default is to get constant values per wire plane (corresponding the values currently used in the simulation). These updates are currently on feature branch feature/usher_uboone_pedestals
We need permanent solutions to both issues above!