lcsim/src/org/lcsim/recon/cluster/muonfinder
diff -u -r1.6 -r1.7
--- MuonFinder.java 26 Jan 2010 16:09:25 -0000 1.6
+++ MuonFinder.java 28 Jan 2010 18:30:23 -0000 1.7
@@ -42,7 +42,7 @@
* it is required to find good quality mip cluster in muon detector.
*
* @author [log in to unmask]
- * @version $Id: MuonFinder.java,v 1.6 2010/01/26 16:09:25 cassell Exp $
+ * @version $Id: MuonFinder.java,v 1.7 2010/01/28 18:30:23 cassell Exp $
*/
public class MuonFinder extends Driver{
@@ -240,8 +240,8 @@
hasLastPoint = false;
break;
}
- if(isBarrel){tid = event.getDetector().getDecoder("HcalBarrHits");}
- else {tid = event.getDetector().getDecoder("HcalEndcapHits");}
+ if(isBarrel){tid = ci.getIDDecoder("HAD_BARREL");}
+ else {tid = ci.getIDDecoder("HAD_ENDCAP");}
long cellID = tid.findCellContainingXYZ(tpoint);
tid.setID(cellID);
long[] neighbours = tid.getNeighbourIDs(0,5,5);