Author: holly Date: Sun Dec 21 07:14:15 2014 New Revision: 1799 Log: revert to BaseCluster addHit to fix array index Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/HPSEcalClusterIC.java Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/HPSEcalClusterIC.java ============================================================================= --- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/HPSEcalClusterIC.java (original) +++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/HPSEcalClusterIC.java Sun Dec 21 07:14:15 2014 @@ -59,17 +59,17 @@ setSeedHit(seedHit); } - public void addHit(CalorimeterHit hit) { - super.addHit(hit); - allHitList.add(hit); - } +// public void addHit(CalorimeterHit hit) { +// super.addHit(hit); +// allHitList.add(hit); +// } /** * Input shared hits between two clusters. */ public void addSharedHit(CalorimeterHit sharedHit) { sharedHitList.add(sharedHit); - allHitList.add(sharedHit); +// allHitList.add(sharedHit); } /** * Return shared hit list between two clusters. @@ -114,9 +114,9 @@ /** * Gets all hits in the cluster. */ - public List<CalorimeterHit> getCalorimeterHits() { - return allHitList; - } +// public List<CalorimeterHit> getCalorimeterHits() { +// return allHitList; +// } /** * Returns the uncorrected x,y,z position of the cluster.