Ca: move misalignment tolerances to the YAML configuration file.
MR also backports changes of !1618 (merged) from the Data Challenge 4