Skip to content

Commit

Permalink
Merge pull request #970 from JeffersonLab/pbutti-patch-NDF_KF
Browse files Browse the repository at this point in the history
Fix number of DOF in KF tracks
  • Loading branch information
cbravo135 committed Apr 14, 2023
2 parents df679ef + d2f0a45 commit e0695c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ public BaseTrack createTrack(KalTrack kT, boolean storeTrackStates) {

// other track properties
newTrack.setChisq(kT.chi2);
newTrack.setNDF(kT.SiteList.size() - 5);
newTrack.setNDF(newTrack.getTrackerHits().size() - 5);
newTrack.setTrackType(BaseTrack.TrackType.Y_FIELD.ordinal());
newTrack.setFitSuccess(true);

Expand Down

0 comments on commit e0695c4

Please sign in to comment.