@@ -616,7 +616,6 @@ public double[] SwimPlane(Vector3D n, Point3D p, double accuracy) {
616616 return value ;
617617 }
618618
619-
620619 private class SphericalBoundarySwimStopper implements IStopper {
621620
622621 private double _finalPathLength = Double .NaN ;
@@ -703,11 +702,9 @@ private class PlaneBoundarySwimStopper implements IStopper {
703702 * @param maxR the max radial coordinate in meters.
704703 */
705704 private PlaneBoundarySwimStopper (double d , Vector3D n , int dir ) {
706- // DC reconstruction units are cm. Swim units are m. Hence scale by
707- // 100
708- _d = d ;
709- _n = n ;
710- _dir = dir ;
705+ _d = d ;
706+ _n = n ;
707+ _dir = dir ;
711708 }
712709
713710 @ Override
@@ -773,7 +770,6 @@ public double[] SwimToPlaneBoundary(double d_cm, Vector3D n, int dir) {
773770 }
774771 return value ;
775772 }
776-
777773
778774 private class BeamLineSwimStopper implements IStopper {
779775
@@ -848,7 +844,6 @@ public double[] SwimToBeamLine(double xB, double yB) {
848844 return value ;
849845 }
850846
851-
852847 private class LineSwimStopper implements IStopper {
853848
854849 private double _finalPathLength = Double .NaN ;
@@ -948,12 +943,10 @@ public void Bfield(int sector, double x_cm, double y_cm, double z_cm, float[] re
948943 * @param result B field components in T in the lab frame
949944 */
950945 public void BfieldLab (double x_cm , double y_cm , double z_cm , float [] result ) {
951-
952946 PC .CP .field ((float ) x_cm , (float ) y_cm , (float ) z_cm , result );
953947 result [0 ] = result [0 ] / 10 ;
954948 result [1 ] = result [1 ] / 10 ;
955949 result [2 ] = result [2 ] / 10 ;
956-
957950 }
958951
959952 public double [] AdaptiveSwimPlane (double px , double py , double pz , double nx , double ny , double nz , double accuracy ) {
@@ -1153,7 +1146,6 @@ public DCASwimStopper(SwimTrajectory swimTraj) {
11531146 for (int i = 0 ; i < _swimTraj .size ()-1 ; i ++) {
11541147 polylines .add (new Line3D (_swimTraj .get (i )[0 ],_swimTraj .get (i )[1 ],_swimTraj .get (i )[2 ],
11551148 _swimTraj .get (i +1 )[0 ],_swimTraj .get (i +1 )[1 ],_swimTraj .get (i +1 )[2 ]));
1156-
11571149 }
11581150 }
11591151
@@ -1204,7 +1196,7 @@ public void setFinalT(double finalPathLength) {
12041196
12051197 public double [] SwimToDCA (SwimTrajectory trk2 ) { //use for both traj to get doca for each track
12061198
1207- double [] value = new double [6 ];
1199+ double [] value = new double [6 ];
12081200
12091201 DCASwimStopper stopper = new DCASwimStopper (trk2 );
12101202
0 commit comments