Make RawBanks returned from RawEvent 'const'
- which implies changing the return type of LHCb::RawEvent::banks,
from
std::vector<RawBank*>
toLHCb::span<const RawBank*>
and fixing the fall-out - add
const
in lots of places - prefer
auto
over explicitly specifying the type, to make the code less dependent on concrete types, and more on behaviour
Edited by Marco Cattaneo