lcsim/src/org/lcsim/recon/cluster/nn
diff -u -r1.11 -r1.12
--- NearestNeighborCluster.java 1 Jul 2006 21:56:52 -0000 1.11
+++ NearestNeighborCluster.java 20 Oct 2006 11:55:02 -0000 1.12
@@ -3,13 +3,13 @@
import java.util.Map;
import org.lcsim.event.CalorimeterHit;
-import org.lcsim.geometry.CalorimeterIDDecoder;
+import org.lcsim.geometry.IDDecoder;
import org.lcsim.recon.cluster.util.*;
/**
* Represents a cluster composed of calorimeter hits contiguous within the specified domain.
* @author Norman A. Graf with additions of threshold code by Eric J. Benavidez ([log in to unmask])
- * @version $Id: NearestNeighborCluster.java,v 1.11 2006/07/01 21:56:52 cassell Exp $
+ * @version $Id: NearestNeighborCluster.java,v 1.12 2006/10/20 11:55:02 cassell Exp $
*/
public class NearestNeighborCluster extends BasicCluster
{
@@ -29,7 +29,7 @@
// start by adding this hit to the cluster
addHit(hit);
// fetch the decoder
- CalorimeterIDDecoder decoder = (CalorimeterIDDecoder)hit.getIDDecoder();
+ IDDecoder decoder = hit.getIDDecoder();
// set the decoder to this hit
decoder.setID(key);
// remove this hit from the map so it can't be used again