lcsim/src/org/lcsim/contrib/uiowa/MuonFinder
diff -u -r1.11 -r1.12
--- MuonFinder.java 17 Oct 2008 00:31:39 -0000 1.11
+++ MuonFinder.java 20 Oct 2008 19:02:40 -0000 1.12
@@ -259,8 +259,10 @@
continue;
}
- //require last position or 9 isolated layer in last 20 layers obtained by extrapolated track.
- if(!(muon || (isolated > 9) )) continue;
+ //Require last position or 7 isolated layer in last 10 layers obtained by extrapolated track.
+ //This helps remove pion which is showering in CAL and also take the MIP which is contaminated by
+ //other shower so it stopped in the middle of CAL.
+ if(!(muon || (isolated > 6) )) continue;
Hep3Vector link = VecOp.sub(muonpos0, lastpoint);
Hep3Vector linkUnit = VecOp.unit(link);
double cos0 = VecOp.dot(lastUnit, MuonUnit);