Commit in SlicDiagnostics/src/org/lcsim/slic/diagnostics on MAIN
CalorimeterHitPlots.java+15-101.32 -> 1.33


SlicDiagnostics/src/org/lcsim/slic/diagnostics
CalorimeterHitPlots.java 1.32 -> 1.33
diff -u -r1.32 -r1.33
--- CalorimeterHitPlots.java	16 Oct 2006 19:04:41 -0000	1.32
+++ CalorimeterHitPlots.java	16 Oct 2006 19:14:57 -0000	1.33
@@ -26,7 +26,7 @@
  * collections of SimCalorimeterHits are done by GenericHitPlots.
  * 
  * @author jeremym
- * @version $Id: CalorimeterHitPlots.java,v 1.32 2006/10/16 19:04:41 jeremy Exp $
+ * @version $Id: CalorimeterHitPlots.java,v 1.33 2006/10/16 19:14:57 jeremy Exp $
  */
 class CalorimeterHitPlots extends AbstractPlots
 {
@@ -108,10 +108,12 @@
         SegmentationBase segmentation = (SegmentationBase) decoder;
         Subdetector detector = decoder.getSubdetector();
         
-        if (segmentation == null)
-        {
-            System.out.println("segmentation is null!!!");
-        }
+        //if (segmentation == null)
+        //{
+        //    System.out.println("segmentation is null!!!");
+        //}
+        
+        //System.out.println("class="+segmentation.getClass().getCanonicalName());
 
         if (segmentation != null && detector != null)
         {
@@ -139,7 +141,7 @@
             }
         }
         
-        System.out.println("segmentationType="+SegmentationType.NONE);
+        //System.out.println("segmentationType="+_segmentationType);
     }
 
     private void setupSegmentationPlots()
@@ -161,10 +163,10 @@
             _segmentationPlots = new GridXZPlots(this);
         }
         
-        if (_segmentationPlots == null)
-        {
-            System.out.println("segmentation plots are null!!!!!!!!");
-        }
+        //if (_segmentationPlots == null)
+        //{
+        //    System.out.println("segmentation plots are null!!!!!!!!");
+        //}
     }
 
     protected void fill(EventHeader event)
@@ -206,6 +208,9 @@
                 {
                     _segmentationPlots.fill(segmentation);
                 }
+                //else {
+                //	System.out.println("segmentation plots are null!!!!!");
+                //}
 
                 if (haveSF)
                 {
CVSspam 0.2.8