xAOD::TrackParticle::time cleanup, master branch (2023.01.26.)
This caught my eye during the HGTD talk today. (https://indico.cern.ch/event/1242268/#24-hgtd-status-update) Updated TrackParticle_v1.cxx
to implement the xAOD::TrackParticle_v1::time()
and xAOD::TrackParticle_v1::setTime(...)
functions in a slightly more streamlined way.
My main problem with the existing time()
function was that it introduced a function-specific exception in case the variable was missing. Which is really just making things worse than letting the core xAOD / auxiliary store code throw an appropriate exception in this case itself.