Print

Print


Commit in lcsim/src/org/lcsim/recon/pfa/identifier on MAIN
SimpleTrackMIPClusterMatcher.java+3-21.2 -> 1.3
MJC: Minor change

lcsim/src/org/lcsim/recon/pfa/identifier
SimpleTrackMIPClusterMatcher.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- SimpleTrackMIPClusterMatcher.java	3 Nov 2006 19:02:36 -0000	1.2
+++ SimpleTrackMIPClusterMatcher.java	16 May 2007 17:44:37 -0000	1.3
@@ -18,7 +18,7 @@
  * on the ECAL inner surface and on the direction of the track at the
  * intercept point.
  *
- * @version $Id: SimpleTrackMIPClusterMatcher.java,v 1.2 2006/11/03 19:02:36 mcharles Exp $ 
+ * @version $Id: SimpleTrackMIPClusterMatcher.java,v 1.3 2007/05/16 17:44:37 mcharles Exp $ 
  */
 
 public class SimpleTrackMIPClusterMatcher extends SimpleTrackClusterMatcher
@@ -49,7 +49,8 @@
 	    boolean goodSubDet = (subdet.getName().compareTo("EMBarrel")==0) || (subdet.getName().compareTo("EMEndcap")==0);
 	    boolean goodFirstLayer = (firstHitInECAL!=null && getLayer(firstHitInECAL) < 5);
 	    boolean goodDotProduct = (Math.abs(unitDotProduct) > 0.85);
-	    boolean goodSeparation = (separation < 50.0);
+	    double separationCut = m_separationCut;
+	    boolean goodSeparation = (separation < separationCut);
 	    boolean foundMatch = goodSubDet && goodFirstLayer && goodDotProduct && goodSeparation;
 	    if (foundMatch) {
 		// OK, made a good match
CVSspam 0.2.8