File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
tracking/src/main/java/org/hps/recon/tracking/kalman Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments