MM digitization - Initialize all data members & protect against out of bound access
Hi,
this MR is an attempt to track down the irrproduciblities of the MM digitization as reported in ATLASRECTS-7107.
- Replace all [] accesses of vectors by the corresponding at() operator. In cases of out of bound access this will throw exceptions.
- Ensure that all data members are initialized.
- Return containers by const references rather than by value
- Remove useless clear calls after the vector is constructed
Tagging: @pscholer
Edited by Johannes Junggeburth