Skip to content

Commit 2da9b27

Browse files
committed
remove redundancy
1 parent 5b192da commit 2da9b27

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎reconstruction/alert/src/main/java/org/jlab/rec/ahdc/KalmanFilter/KalmanFilter.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ private void propagation(ArrayList<Track> tracks, DataEvent event, final double
9090
// Read list of hits
9191
ArrayList<Hit> AHDC_hits = track.getHits();
9292
Collections.sort(AHDC_hits); // sorted following the compareTo() method in Hit.java
93-
94-
double zbeam = 0;
95-
if(IsVtxDefined)zbeam = vz_constraint;
9693

9794
// Start propagation
9895
Stepper stepper = new Stepper(y);
@@ -122,7 +119,7 @@ private void propagation(ArrayList<Track> tracks, DataEvent event, final double
122119
}
123120
// Backward propagation (first layer to beamline)
124121
{
125-
Hit hit = new Hit_beam(0, 0, zbeam);
122+
Hit hit = new Hit_beam(0, 0, vz_constraint);
126123
TrackFitter.predict(hit, false);
127124
TrackFitter.correct(hit);
128125
}

0 commit comments

Comments
 (0)