Print

Print


Commit in lcsim/src/org/lcsim/contrib/uiowa/template on MAIN
HaloAssigner.java+2-21.1 -> 1.2
Bugfix in ordering

lcsim/src/org/lcsim/contrib/uiowa/template
HaloAssigner.java 1.1 -> 1.2
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);
 	}
 
CVSspam 0.2.8