Commit in GeomConverter/test/org/lcsim/material on MAIN
BetheBlockTest.java+3-11.9 -> 1.10
Turn off debugging

GeomConverter/test/org/lcsim/material
BetheBlockTest.java 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- BetheBlockTest.java	2 May 2006 20:59:19 -0000	1.9
+++ BetheBlockTest.java	2 May 2006 22:52:46 -0000	1.10
@@ -13,6 +13,8 @@
  */
 public class BetheBlockTest extends TestCase
 {    
+    // change to true if debugging this componen
+    private boolean _debug = false;
     private static ParticlePropertyProvider pinfo = 
     	ParticlePropertyManager.getParticlePropertyProvider();
     
@@ -61,6 +63,6 @@
         assert (material != null);
         double dEdx = MaterialCalculator.computeBetheBloch(material,
                 p, mass, charge, 1.0);
-        System.out.println(particle + " " + p[0] + " " + materialName + " " + dEdx);
+        if (_debug) System.out.println(particle + " " + p[0] + " " + materialName + " " + dEdx);
     }
 }
\ No newline at end of file
CVSspam 0.2.8