fix toarray warnings in RichDet (@jonrob, @chasse)

cherry-picked from 85909359 and f9f340c2 on master

Edited by Marco Cattaneo

Merge request reports

Loading