Inefficient OpHit vectors in optical calibration ntuples #755
Labels
breaking
this change will break backward compatibility in some way
enhancement
New feature or request
Coming from discussion in #751 .
The current optical flash trees in the calibration ntuples store vectors of the individual ophit times that constitute the flash. However, the format of these vectors is inefficient as they always store 360 values with the vector index being the channel id. Flashes never include all PMTs so the empty elements are default to zeros. Analyzers are then forced to skip them downstream.
The suggestion would be to change this behaviour by saving only non-empty Ophits in the vector.
However, an additional vector storing the channel ids and the number of ophits (size of vectors) will be needed.
This will be a breaking change for all code using the optical flash trees.
The text was updated successfully, but these errors were encountered: