hps-java/src/main/java/org/lcsim/hps/recon/tracking
diff -u -r1.8 -r1.9
--- TrackUtils.java 23 Oct 2012 01:30:02 -0000 1.8
+++ TrackUtils.java 7 Nov 2012 20:57:12 -0000 1.9
@@ -24,7 +24,7 @@
/**
*
* @author Omar Moreno <[log in to unmask]>
- * @version $Id: TrackUtils.java,v 1.8 2012/10/23 01:30:02 phansson Exp $
+ * @version $Id: TrackUtils.java,v 1.9 2012/11/07 20:57:12 phansson Exp $
* TODO: Switch to JLab coordinates
*/
@@ -267,7 +267,12 @@
}
public Hep3Vector calculateIterativeHelixInterceptXPlane(HelicalTrackFit helfit, HelicalTrackStrip strip, double bfield, boolean debug) {
+ if(debug) System.out.printf("%s: calculateIterativeHelixInterceptXPlane for heltrackfit\n%s \n",this.getClass().getSimpleName(),helfit.toString());
WTrack wtrack = new WTrack(helfit,bfield,true); // B-field sign is flipped so flip!
+ if(debug) {
+ System.out.printf("%s: created Wtrack with params for heltrackfit\n%s \n",this.getClass().getSimpleName(),wtrack.toString());
+ System.out.printf("%s: with associated heltrackfit \n%s \n",this.getClass().getSimpleName(),wtrack._htf.toString());
+ }
Hep3Vector point_on_plane = strip.origin();
Hep3Vector unit_vec_normal_to_plane = VecOp.cross(strip.u(),strip.v());//strip.w();
if(debug) System.out.printf("%s: find intercept between plane defined by point on plane %s, unit vec %s, bfield %.3f, and track pars:\n%s \n",this.getClass().getSimpleName(),point_on_plane.toString(),unit_vec_normal_to_plane.toString(), bfield,helfit.toString());