lcsim/src/org/lcsim/contrib/uiowa/MuonFinder
diff -u -r1.5 -r1.6
--- SimpleMipQualityDecision.java 11 Oct 2008 01:00:34 -0000 1.5
+++ SimpleMipQualityDecision.java 17 Oct 2008 00:32:45 -0000 1.6
@@ -20,7 +20,7 @@
public class SimpleMipQualityDecision
{
private int count;
-
+ boolean removeUpperHit = true;
public SimpleMipQualityDecision() {
// No user-settable options for now
}
@@ -53,7 +53,11 @@
exam.put(layerInt,hits);
}
hits.add(hit);
- if(exam.get(layerInt).size() > 2){ isolayer.remove(layerInt); }
+ if(removeUpperHit){
+ if(exam.get(layerInt).size() > 1){ isolayer.remove(layerInt); }
+ }else{
+ if(exam.get(layerInt).size() > 2){ isolayer.remove(layerInt); }
+ }
}
}