Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyan1997 committed Nov 10, 2024
1 parent 97b6d00 commit f5647ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TMS_Reco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,12 +728,12 @@ void TMS_TrackFinder::FindTracks(TMS_Event &event) {
// Run Kalman filter if requested
if (TMS_Manager::GetInstance().Get_Reco_Kalman_Run()) {
double kalman_reco_mom, kalman_chi2;
double chi2positive = 100000000;
double chi2positive = 0;
double chi2negative = 0;
for (auto &trk : HoughTracks3D) {
//assumed_charge = 0.1 works well, can set to 0.05 or 0.01 or 0.5. right now it serve as a scale factor
KalmanFilter = TMS_Kalman(trk.Hits, 0.1);
KalmanFilter2 = TMS_Kalman(trk.Hits, -0.1);
KalmanFilter = TMS_Kalman(trk.Hits, 0.1); //will make the muon chi square smaller
KalmanFilter2 = TMS_Kalman(trk.Hits, -0.1); //will make the antimuon chi square smaller



Expand Down

0 comments on commit f5647ab

Please sign in to comment.