Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #60 from latifkabir/master
Browse files Browse the repository at this point in the history
Fix for triple bands
  • Loading branch information
fxgirod authored Dec 29, 2017
2 parents 5c0e1cf + 2dd05e3 commit 59ad67d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ public void read_HBHits(DataEvent event, IndexedTable constants0, IndexedTable c
FittedHit hit = new FittedHit(sector[i], slayer[i], layer[i], wire[i], time[i]-tProp[i]-tFlight[i] - T_0,
0, B[i], id[i]);
hit.set_B(B[i]);
hit.setT0SubTime(time[i]- T_0+tProp[i]+tFlight[i]);
//hit.setT0SubTime(time[i]- T_0+tProp[i]+tFlight[i]);
hit.setT0SubTime(time[i]- T_0 - tProp[i] - tFlight[i]); // Temporary fix for triple bands
hit.setTProp(tProp[i]);
hit.setTFlight(tFlight[i]);
hit.set_LeftRightAmb(LR[i]);
Expand Down Expand Up @@ -337,7 +338,8 @@ public void read_TBHits(DataEvent event, IndexedTable constants0, IndexedTable c
}

FittedHit hit = new FittedHit(sector[i], slayer[i], layer[i], wire[i], time[i]-tProp[i]-tFlight[i], 0, B[i], id[i]);
hit.setT0SubTime(time[i]+tProp[i]+tFlight[i]);
//hit.setT0SubTime(time[i]+tProp[i]+tFlight[i]);
hit.setT0SubTime(time[i] - tProp[i] - tFlight[i]); // Temporary fix for triple bands
hit.setTFlight(tFlight[i]);
hit.setTProp(tProp[i]);
hit.set_B(B[i]);
Expand Down

0 comments on commit 59ad67d

Please sign in to comment.