Commit in lcsim/src/org/lcsim/recon/cluster/util on MAIN
ClusterPropertyCalculator.java+51added 1.1
Interface for calculation of cluster properties

lcsim/src/org/lcsim/recon/cluster/util
ClusterPropertyCalculator.java added at 1.1
diff -N ClusterPropertyCalculator.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ClusterPropertyCalculator.java	30 Jun 2005 20:53:00 -0000	1.1
@@ -0,0 +1,51 @@
+package org.lcsim.recon.cluster.util;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import org.lcsim.event.CalorimeterHit;
+import org.lcsim.event.Cluster;
+
+/**
+ * ClusterPropertyCalculator Interface
+ * 
+ * @author cassell
+ */
+public interface ClusterPropertyCalculator 
+{
+
+	/** 
+	 * Calculate properties from a CalorimeterHit list
+	 */
+	public void calculateProperties(List<CalorimeterHit> hits);
+
+	/** 
+	 * Return position
+	 */
+	public double[] getPosition();
+	
+	/** 
+	 * Return position error
+	 */
+	public double[] getPositionError();
+	
+	/** 
+	 * Return phi direction
+	 */
+	public double getIPhi();
+	
+	/** 
+	 * Return theta direction
+	 */
+	public double getITheta();
+	
+	/** 
+	 * Return direction error
+	 */
+	public double[] getDirectionError();
+	
+	/** 
+	 * Return shape parameters
+	 */
+	public double[] getShapeParameters();
+}
CVSspam 0.2.8