Add array input support for the thor functor grammar

Merged Jiahui Zhuo requested to merge jzhuo_AddArrayGrammar into master

Adapt the changes in Rec!3283 (diffs) and include the new array grammar to the MCReconstructed tool.

This MR also fixes two unexpected bugs in MCReconstructed.Chi2 and MCReconstructed.Chi2DOF.

This MR should be tested with: Rec!3283 (merged)

FYI: @amathad @erodrigu @pkoppenb @graven

Edited by Jiahui Zhuo

Merge request reports