fix: correct calculated doca in KF tracking#1108
fix: correct calculated doca in KF tracking#1108tongtongcao wants to merge 1 commit intodevelopmentfrom
Conversation
|
Tested successfully on straight track data, see |
|
Tests on production data show this eliminates multimodal shapes in residuals vs. doca in R1 and R3, but makes R2 worse. Checking further, it looks like this is due to https://github.com/JeffersonLab/coatjava/blob/development/reconstruction/dc/src/main/java/org/jlab/rec/dc/hit/FittedHit.java#L377 that makes alpha different from the track local angle |
|
For the update of calculated doca in KF processing, doca is defined as the closest approach between wire line and trajectory line at a given DC layer, where the trajectory line is defined as point (x, y, z) and direction (tx, ty, 1). |
In KF tracking, calculated doca is defined as projection point of fit trajectory and wire line, but doca is supposed to the closest approach between trajectory and wire line. Therefore, calculated doca is corrected by alpha at TB level.
As test, the update fixes issue for bias of fit residual.
No effect on HB tracking.
Change on TB track is slight since effects on L&R hits offset and hit error is scaled by 2 during tracking.