JeffersonLab / coatjava

1 stars 17 forks source link

fix issue for path length in FD tracking #312

Open tongtongcao opened 3 weeks ago

tongtongcao commented 3 weeks ago

The original point is not starting from vertex when set path length for hits on DCs. It causes that time of flight is wrong, and further causes that hit time is wrong, and finally causes that doca is wrong. After the issue is fixed, relative parameters in CCDB need to be re-calibrated.

tongtongcao commented 3 weeks ago

Path length, as a conventional parameter for state vector in tracking, should be kept. Since no vertex information directly from tracking, starting point for path length in tracking is the final point at the last measurement DC layer. After vertex is obtained later, transition for the starting point from the final point to vertex is taken, so that time of flight can be calculated by path length from vertex to each DC hit. Comments for the above explanation are added into codes.