lcsim/src/org/lcsim/contrib/uiowa
diff -u -r1.6 -r1.7
--- MIPReassignmentAlgorithm.java 11 Jul 2008 19:00:56 -0000 1.6
+++ MIPReassignmentAlgorithm.java 11 Jul 2008 19:12:19 -0000 1.7
@@ -81,7 +81,7 @@
BasicCluster newmip = m_newMapMIP.get(tr);
List<Hep3Vector> lastTwoPositions = new ArrayList<Hep3Vector>();
- if(newmip.getCalorimeterHits().size() < 5 || newmip == null){ //These is no mip close to track.
+ if(newmip == null || newmip.getCalorimeterHits().size() < 5){ //These is no mip close to track.
if (interceptPoint != null) {
tangent = m_findCluster.getTangent(); //tangent obtained using extrapolated track.
tangentUnit = VecOp.unit(tangent);