Skip to content

Clean bad AHDC hits and use ATOF wedges in the Kalman Filter#1309

Open
ftouchte wants to merge 6 commits into
JeffersonLab:developmentfrom
ftouchte:sync-coatjava-v2
Open

Clean bad AHDC hits and use ATOF wedges in the Kalman Filter#1309
ftouchte wants to merge 6 commits into
JeffersonLab:developmentfrom
ftouchte:sync-coatjava-v2

Conversation

@ftouchte

@ftouchte ftouchte commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Features:

  • Make the Kalman Filter reusable (store error covariance matrix in Track)
  • Add a routine to clean bad AHDC hits
  • Use ATOF wedge in the Kalman Filter
  • Extends AHDC::kftrack
  • Convenient use of the PID in RungeKutta.java

Code consistency:

  • Create an interface for the hits used by the Kalman Filter : KFHit
    • AHDC hits are stored in the usual Hit
    • beamline, ATOF wedges/bars are stored in RadialKFHit
    • the method KFitter.correct() no longer needs to explicitly check if we works with an AHDC hits or not: the polymorphism do the job for use
  • Remove redundancy : KFitter does not use another Stepper in its constructor (the initial Stepper and the initial state are linked)

This pull request is the sync version of this draft : #1117

In coatjava development
image
This PR
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant