lcsim/src/org/lcsim/recon/cluster/mipfinder
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
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)
{