lcsim/src/org/lcsim/recon/cluster/util
diff -u -r1.5 -r1.6
--- TensorClusterPropertyCalculator.java 16 Mar 2006 00:21:49 -0000 1.5
+++ TensorClusterPropertyCalculator.java 1 Jul 2006 22:04:09 -0000 1.6
@@ -80,10 +80,7 @@
// pos[1] = decoder.getY();
// pos[2] = decoder.getZ();
double[] pos = hit.getPosition();
- // Subdetector d = hit.getSubdetector();
- // double sampling_fraction = d.getSamplingFraction();
- double sampling_fraction = 1.;
- double E = hit.getRawEnergy()/sampling_fraction;
+ double E = hit.getCorrectedEnergy();
Etot += E;
CEx += E*pos[0];
CEy += E*pos[1];