Print

Print


Commit in lcsim/src/org/lcsim/recon/util on MAIN
CalorimeterInformation.java+4-21.6 -> 1.7
minor changes to printouts; turn on debug by default so cal info gets into log files

lcsim/src/org/lcsim/recon/util
CalorimeterInformation.java 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- CalorimeterInformation.java	30 Nov 2010 00:17:05 -0000	1.6
+++ CalorimeterInformation.java	11 Mar 2011 19:25:49 -0000	1.7
@@ -81,12 +81,14 @@
             {
                 if(s.getReadout() == null)
                 {
-                    System.out.println("Subdetector "+s.getName()+" isCalorimeter but has null Readout");
+                    if (debug)
+                        System.out.println("Subdetector "+s.getName()+" isCalorimeter but has null Readout");
                 }
                 else
                 {
                     sublist.add( s );
-                    System.out.println("Adding subdetector "+s.getName());
+                    if (debug)
+                        System.out.println("Adding subdetector "+s.getName());
                 }
             }
         }
CVSspam 0.2.8