lcsim/src/org/lcsim/contrib/uiowa/template
diff -u -r1.1 -r1.2
--- HaloAssigner.java 27 Jan 2006 23:54:01 -0000 1.1
+++ HaloAssigner.java 28 Jan 2006 00:42:26 -0000 1.2
@@ -43,9 +43,9 @@
if (matchedHits == null) {
matchedHits = new Vector<CalorimeterHit>();
foundAssignments.put(bestMatch, matchedHits);
- // Assigned => remove from output hitmap
- outputHitMap.remove(hit.getCellID());
}
+ // Assigned => add to matchedHits; remove from output hitmap
+ outputHitMap.remove(hit.getCellID());
matchedHits.add(hit);
}