Tries to add a TrMINIPCHI2 functor along the same lines as TrMINIP in Rec!1285 (merged).
TrMINIPCHI2
TrMINIP
cc: @sstahl @ibelyaev