SlicDiagnostics/src/org/lcsim/slic/diagnostics
diff -u -r1.22 -r1.23
--- GenericHitPlots.java 9 Feb 2006 20:26:07 -0000 1.22
+++ GenericHitPlots.java 10 Feb 2006 01:04:30 -0000 1.23
@@ -24,7 +24,7 @@
* layers.
*
* @author jeremym
- * @version $Id: GenericHitPlots.java,v 1.22 2006/02/09 20:26:07 jeremy Exp $
+ * @version $Id: GenericHitPlots.java,v 1.23 2006/02/10 01:04:30 jeremy Exp $
*/
class GenericHitPlots extends AbstractPlots
{
@@ -143,16 +143,30 @@
cd();
_energy = _aida.cloud1D("Hit: Energy");
+ //_energy.annotation().addItem("xAxisLabel","Energy (GeV)");
+ //_energy.annotation().addItem("yAxisLabel","Number of Hits");
+
_hitAvgEnergy = _aida.cloud1D("Hit: Average Energy by Event");
_time = _aida.cloud1D("Hit: Time (log10)");
_timeAvg = _aida.cloud1D("Hit: Time (log10) Average");
- _timeVsSphR = _aida.cloud2D("Hit: Time (log10) vs Spherical R");
- _thetaPhi = _aida.cloud2D("Hit: Theta vs Phi");
+
+ _timeVsSphR = _aida.cloud2D("Hit: Time (log10) vs Spherical R");
+ //_timeVsSphR.annotation().addItem("xAxisLabel","Time ( log10(seconds))");
+ //_timeVsSphR.annotation().addItem("yAxisLabel","Spherical Radius (mm)");
+
+ _thetaPhi = _aida.cloud2D("Hit: Theta vs Phi");
_xy = _aida.cloud2D("Hit: X vs Y");
_zx = _aida.cloud2D("Hit: Z vs X");
_zy = _aida.cloud2D("Hit: Z vs Y");
+
_rz = _aida.cloud2D("Hit: R vs Z");
+ //_rz.annotation().addItem("xAxisLabel","Radius (mm)");
+ //_rz.annotation().addItem("yAxisLabel","Z (mm)");
+
_layer = _aida.histogram1D("Hit: Count by Layer Number", _nlayers, 0, _nlayers);
+ //_layer.annotation().addItem("xAxisLabel","Layer Number");
+ //_layer.annotation().addItem("yAxisLabel","Hit Count");
+
_layerEnergy = _aida.histogram1D("Hit: Weighted Energy by Layer Number", _nlayers,
0, _nlayers);
_energyEvent = _aida.cloud1D("Event: Total Energy");
@@ -172,9 +186,13 @@
_hitMaxR = _aida.cloud1D("Hit: Max R");
_hitMinR = _aida.cloud1D("Hit: Min R");
_layerVsR = _aida.cloud2D("Layer: # vs R");
- _layerPercentTotE = _aida.histogram2D(
+
+ _layerPercentTotE = _aida.histogram2D(
"Layer: Percentage of Energy Total", _nlayers, 0, _nlayers, 100,
0, 1.0);
+ //_layerPercentTotE.annotation().addItem("xAxisLabel","Layer Number");
+ //_layerPercentTotE.annotation().addItem("yAxisLabel","Percentage of Collection Energy");
+
_layerPercentHits = _aida.histogram2D("Layer: Percentage of Hit Count",
_nlayers, 0, _nlayers, 100, 0, 1.0);
_layerAvgHitEdep = _aida.histogram1D("Layer: Average Hit Edep",