lcsim/src/org/lcsim/recon/util
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());
}
}
}