Have raw::RawDigit report their time reference frame
Yet and again people gets beaten by timing inconsistency between raw data and the rest of the system, particularly the TPC channel simulation (
raw::RawDigitcollection to save storage space and memory. This requires global counteractions in
This approach has two problems:
- time and again, the changes are forgotten and troubles arise
- being the approach global, it is possible to have only one of the
raw::RawDigittime frames to work correctly, and all the others will be broken.
I propose to add in the event information of where each
raw::RawDigit starts in time, with respect to a global reference (ideally, the same as
sim::SimChannel TDC counts).
The details of the implementation can vary according to how user-friendly and efficient we want it (that is, which we are more willing to compromise).