Skip to content

Commit

Permalink
Merge pull request #994 from alspellm/master
Browse files Browse the repository at this point in the history
bug. Should grab track state using TrackUtils AtCalorimeter, not by g…
  • Loading branch information
omar-moreno authored Jun 5, 2023
2 parents 7f79f5b + f054e27 commit 3e39141
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private List<Double> getTrackPositionAtEcal(Track track){
}
else {
TrackData trackdata = (TrackData) trackToData.from(track);
TrackState ts_ecal = track.getTrackStates().get(track.getTrackStates().size()-1);
TrackState ts_ecal = TrackUtils.getTrackStateAtECal(track);
//If trackstate is null, upstream extrapolation error. Skip this
//Track
if(ts_ecal == null){
Expand Down

0 comments on commit 3e39141

Please sign in to comment.