Commit in lcsim/src/org/lcsim/recon/cluster/directedtree on MAIN
HitWeightingClusterPropertyCalculator.java+8-21.2 -> 1.3
Modify for cluster to return more properties than just position

lcsim/src/org/lcsim/recon/cluster/directedtree
HitWeightingClusterPropertyCalculator.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- HitWeightingClusterPropertyCalculator.java	21 Jun 2006 18:03:31 -0000	1.2
+++ HitWeightingClusterPropertyCalculator.java	20 May 2008 19:54:26 -0000	1.3
@@ -5,7 +5,7 @@
 import java.util.List;
 import org.lcsim.event.CalorimeterHit;
 import org.lcsim.event.Cluster;
-import org.lcsim.recon.cluster.util.DefaultClusterPropertyCalculator;
+import org.lcsim.recon.cluster.util.TensorClusterPropertyCalculator;
 
 /**
  * Density weighting implementation of a ClusterPropertyCalculator object.
@@ -29,14 +29,20 @@
  * </ol>
  *
  * @author Guilherme Lima
+ *
+ * Change to extend TensorClusterPropertyCalculator so that properties 
+ * other than position are returned from the clusters
+ *   Ron Cassell
+ *
  */
-public class HitWeightingClusterPropertyCalculator extends DefaultClusterPropertyCalculator
+public class HitWeightingClusterPropertyCalculator extends TensorClusterPropertyCalculator
 {
     RunControlParameters _runPar = null;
     LoadMyCalorimeterHit _loader = LoadMyCalorimeterHit.getInstance();
 
     public void calculateProperties(List<CalorimeterHit> hits)
     {
+      super.calculateProperties(hits);
       double cluE = 0.0;
       double sumWt = 0.0;
       double cluX = 0.0; double cluY = 0.0; double cluZ = 0.0;
CVSspam 0.2.8