Commit in lcsim/src/org/lcsim/recon/pfa/identifier on MAIN
LocalHelixExtrapolator.java+6-31.10 -> 1.11
MJC: Turn off some debug printout by default

lcsim/src/org/lcsim/recon/pfa/identifier
LocalHelixExtrapolator.java 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- LocalHelixExtrapolator.java	13 Aug 2008 00:04:24 -0000	1.10
+++ LocalHelixExtrapolator.java	13 Aug 2008 00:39:46 -0000	1.11
@@ -72,6 +72,7 @@
     EventHeader m_event = null;
 
     boolean _debug = false;
+    boolean m_debugChargeFlip = false;
 
     boolean m_useFCAL = false;
     boolean m_interceptsFCAL = false;
@@ -427,9 +428,11 @@
         }
 
         if(m_track_dphi_negative && tr.getCharge() < 0) {
-            System.out.println("Error: rotational direction is wrong");
-            System.out.println("Charge is negative but it is determined to turn clockwise");
-        }
+	    if (m_debugChargeFlip || _debug) {
+		System.out.println("Error: rotational direction is wrong");
+		System.out.println("Charge is negative but it is determined to turn clockwise");
+	    }
+	}
                                                                                                                               
         double dphi = 0.01;
         if (m_track_dphi_negative) { dphi = -0.01; }
CVSspam 0.2.8