Skip to content

Commit e4fba71

Browse files
committed
see if converting tab to spaces makes format better
1 parent c733f6d commit e4fba71

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tracking/src/main/java/org/hps/recon/tracking/kalman/MeasurementSite.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ String toString(String s) {
7676
}
7777
return str;
7878
}
79-
8079
MeasurementSite(int thisSite, SiModule data, KalmanParams kPar) {
8180
this.thisSite = thisSite;
8281
this.kPar = kPar;
@@ -718,11 +717,10 @@ private void buildH(StateVector S, DMatrixRMaj H) {
718717
}
719718

720719
public boolean isInSensor(Double[] rLocal){
721-
double tol = kPar.edgeTolerance; // Tolerance on the check, in mm
722-
// double tol=0.0;
723-
if (rLocal[0] < m.xExtent[0] - tol || rLocal[0] > m.xExtent[1] + tol) return false;
724-
if (rLocal[1] < m.yExtent[0] - tol || rLocal[1] > m.yExtent[1] + tol) return false;
725-
return true;
720+
double tol = kPar.edgeTolerance; // Tolerance on the check, in mm
721+
if (rLocal[0] < m.xExtent[0] - tol || rLocal[0] > m.xExtent[1] + tol) return false;
722+
if (rLocal[1] < m.yExtent[0] - tol || rLocal[1] > m.yExtent[1] + tol) return false;
723+
return true;
726724
}
727725

728726
// Comparator functions for sorting measurement sites by layer number

0 commit comments

Comments
 (0)