Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN
TrackUtils.java+6-11.8 -> 1.9
Added debug output for wtrack.

hps-java/src/main/java/org/lcsim/hps/recon/tracking
TrackUtils.java 1.8 -> 1.9
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());
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1