diff --git a/recon/src/main/java/org/hps/recon/utils/TrackClusterMatcherMinDistance.java b/recon/src/main/java/org/hps/recon/utils/TrackClusterMatcherMinDistance.java index 8e6edebc0..2b0883c32 100644 --- a/recon/src/main/java/org/hps/recon/utils/TrackClusterMatcherMinDistance.java +++ b/recon/src/main/java/org/hps/recon/utils/TrackClusterMatcherMinDistance.java @@ -327,7 +327,7 @@ private List getTrackPositionAtEcal(Track track){ } else { TrackData trackdata = (TrackData) trackToData.from(track); - TrackState ts_ecal = track.getTrackStateAtECal(track); + TrackState ts_ecal = TrackUtils.getTrackStateAtECal(track); //If trackstate is null, upstream extrapolation error. Skip this //Track if(ts_ecal == null){