@@ -38,7 +38,6 @@ public class KalmanFilter {
3838 private int Niter = 40 ; // number of iterations for the Kalman Filter
3939 private double vz_constraint = 0 ;
4040 private boolean IsVtxDefined = false ; // implemented but not used yet
41- private boolean projBasedAtofPrediction = false ; // flag to do or not a projection based prediction of the ATOF hits
4241
4342 // mm, they are the misalignement with respect to the AHDC: the are defined in ALERTEngine
4443 private double atof_alignement = 0 ;
@@ -161,9 +160,9 @@ public void propagation(ArrayList<Track> tracks, final double magfield, boolean
161160 track .set_p_drift (p_drift );
162161 track .set_path (s );
163162
164- /// At the end of the PostFit porpagation to the last layer of the AHDC
163+ /// At the end of the PostFit propagation towards the last layer of the AHDC
165164 /// we project the track on the ATOF surface without any AI ATOF hit indication
166- if (projBasedAtofPrediction && ATOFdet != null ) {
165+ if (ATOFdet != null ) {
167166 // Projection towards the ATOF surfaces
168167 // R1 : radius of the lower surface of an ATOF bar
169168 // R2 : radius of the upper surface of an ATOF bar = lower surface of an ATOF wedge
@@ -408,5 +407,4 @@ else if (layer == 3) {
408407 public void set_atof_alignement (double _shift ) {this .atof_alignement = _shift ;}
409408 public void set_vz_constraint (double _vz ) {this .vz_constraint = _vz ;}
410409 public void set_vertex_flag (boolean _flag ) {this .IsVtxDefined = _flag ;}
411- public void set_atofPrediction_flag (boolean _flag ) {this .projBasedAtofPrediction = _flag ;}
412410}
0 commit comments