Commit in lcsim on MAIN
src/org/lcsim/recon/cluster/mipfinder/NonProjectiveMipFinder.java+2-21.6 -> 1.7
test/org/lcsim/SidloiCalorimeterHitTest.java+1-11.5 -> 1.6
+3-3
2 modified files
change to use standard version of this method

lcsim/src/org/lcsim/recon/cluster/mipfinder
NonProjectiveMipFinder.java 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- NonProjectiveMipFinder.java	4 Feb 2010 21:47:16 -0000	1.6
+++ NonProjectiveMipFinder.java	5 Feb 2010 20:22:42 -0000	1.7
@@ -29,7 +29,7 @@
  * and curving MIPs better.
  *
  * @author Mat Charles <[log in to unmask]>
- * @version $Id: NonProjectiveMipFinder.java,v 1.6 2010/02/04 21:47:16 cassell Exp $
+ * @version $Id: NonProjectiveMipFinder.java,v 1.7 2010/02/05 20:22:42 jeremy Exp $
  */
 
 public class NonProjectiveMipFinder extends Driver implements Clusterer
@@ -824,7 +824,7 @@
 					    if (m_debug) {
 						System.out.println("ERROR: Hit has no neighbours!");
 						Hep3Vector hit2pos = new BasicHep3Vector(lastNeighbourHit.getPosition());
-						long tryAgainID = id.findCellContainingXYZ(hit2pos.x(), hit2pos.y(), hit2pos.z());
+						long tryAgainID = id.findCellContainingXYZ(hit2pos);
 						boolean consistent = (tryAgainID == neighbour);
 						if (consistent) {
 							System.out.println("id.findCellContainingXYZ maps "+neighbour+" -> "+tryAgainID+" -- OK.");

lcsim/test/org/lcsim
SidloiCalorimeterHitTest.java 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- SidloiCalorimeterHitTest.java	21 Jan 2010 20:57:33 -0000	1.5
+++ SidloiCalorimeterHitTest.java	5 Feb 2010 20:22:42 -0000	1.6
@@ -163,7 +163,7 @@
                     		long fndId = 0;
                     		try 
                     		{                    		
-                    			fndId = seg.findCellContainingXYZ(pos[0], pos[1], pos[2]);
+                    			fndId = seg.findCellContainingXYZ(pos);
                     		}
                     		catch (Exception x)
                     		{
CVSspam 0.2.8