Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Swim to plane modification to take direction as argument. Remove unus…
Browse files Browse the repository at this point in the history
…ed import.
  • Loading branch information
zieglerv committed Aug 31, 2017
1 parent b2d3e1b commit ff4e989
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.jlab.rec.dc.trajectory.StateVec;
import org.jlab.rec.dc.trajectory.Trajectory;
import org.jlab.rec.dc.trajectory.TrajectoryFinder;
import org.jlab.rec.dc.trajectory.Vertex;
//import org.jlab.rec.dc.trajectory.Vertex;

import trackfitter.fitter.LineFitPars;
import trackfitter.fitter.LineFitter;
Expand Down Expand Up @@ -320,7 +320,7 @@ public void setTrackPars(Track cand, Trajectory traj, TrajectoryFinder trjFind,
double x_n = Math.cos(theta_n) ;
double y_n = Math.sin(theta_n) ;
//System.out.println("sector "+sector+" xn "+x_n+" yn "+y_n);
double[] Vt = dcSwim.SwimToPlaneBoundary(0, new Vector3D(x_n, y_n, 0));
double[] Vt = dcSwim.SwimToPlaneBoundary(0, new Vector3D(x_n, y_n, 0), -1);
// System.out.println("Swim to fixed plane "+newVtx[0]+", "+newVtx[1]+", "+newVtx[2]+"; "+newVtx[3]+", "+newVtx[4]+", "+newVtx[5]);

/* Vt[0]=newVtx[0];
Expand Down

0 comments on commit ff4e989

Please sign in to comment.