Commit in SlicDiagnostics/src/org/lcsim/slic/diagnostics on MAIN
GenericHitPlots.java+2-31.15 -> 1.16


SlicDiagnostics/src/org/lcsim/slic/diagnostics
GenericHitPlots.java 1.15 -> 1.16
diff -u -r1.15 -r1.16
--- GenericHitPlots.java	29 Sep 2005 21:21:36 -0000	1.15
+++ GenericHitPlots.java	6 Dec 2005 00:40:06 -0000	1.16
@@ -84,10 +84,9 @@
         hitMinEdep       = aida.cloud1D(makePlotName("Hit Min Edep"));
         hitMaxEdep       = aida.cloud1D(makePlotName("Hit Max Edep"));
         hitMinVsMaxEdep  = aida.cloud2D(makePlotName("Hit Min vs Max Edep"));
-        hitVsTotE        = aida.cloud2D(makePlotName("Hit Count vs Total Energy"));
+        hitVsTotE        = aida.cloud2D(makePlotName("Total Energy vs Hit Count"));
         layerPercentTotE = aida.histogram2D(makePlotName("Layer Percentage of Energy Total"), nlayers, 0, nlayers, 100, 0, 1.0);
         layerPercentHits = aida.histogram2D(makePlotName("Layer Percentage of Hit Count"), nlayers, 0, nlayers, 100, 0, 1.0);
-//        layerAvgEventE   = aida.histogram2D(makePlotName("Average Event Energy"), nlayers, 0, nlayers);
 //        layerAvgEventNHits = aida.histogram2D(makePlotName("Average Event Hit Count"), nlayers, 0, nlayers);
     }
  
@@ -187,7 +186,7 @@
             hitMinVsMaxEdep.fill(minEdep, maxEdep);
             
             /* hit count vs total energy */
-            hitVsTotE.fill(nhits, eventTotEnergy);
+            hitVsTotE.fill(eventTotEnergy, nhits);
             
             /* set layer calcs and fill the plots */
             for ( LayerInfo layerInfo : layers.values() )
CVSspam 0.2.8