Writing path length from collision point to the reference detector into Trajectory
A initial version to add path length from interaction point to reference surface. Currently reference surface set as the last all-si layer in the barrel and GEM endcap in the forward direction