Commit in lcsim/src/org/lcsim/recon/tracking/trfcyl on MAIN
HitCylPhiGenerator.java+2-11.2 -> 1.3
suppress printout.

lcsim/src/org/lcsim/recon/tracking/trfcyl
HitCylPhiGenerator.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- HitCylPhiGenerator.java	7 Mar 2005 06:09:48 -0000	1.2
+++ HitCylPhiGenerator.java	25 Jul 2007 03:55:33 -0000	1.3
@@ -27,6 +27,7 @@
     private double _dphi;
     
     //
+    private boolean debug;
     
     /**
      *Construct an instance from a cylinder surface and the measurement uncertainty as a gaussian sigma.
@@ -127,7 +128,7 @@
         
         // Require that track is in bounds if surface is bounded.
         CrossStat xstat =_srf.status(trv);
-        System.out.println("Surface: "+_srf + "\n Status: "+xstat);
+        if(debug) System.out.println("Surface: "+_srf + "\n Status: "+xstat);
         if ( (! _srf.isPure()) && (! xstat.inBounds()) ) return clu;
         
         // calculate phi.
CVSspam 0.2.8