Commit in lcsim/src/org/lcsim/contrib/Cassell/recon/Cheat on MAIN | |||
CheatReconDriver.java | +1 | -1 | 1.8 -> 1.9 |
Fix bug in parent replacement section
diff -u -r1.8 -r1.9 --- CheatReconDriver.java 26 Nov 2007 19:40:44 -0000 1.8 +++ CheatReconDriver.java 5 Dec 2007 19:38:11 -0000 1.9 @@ -199,7 +199,7 @@
pvtx = par.getOrigin(); } // System.out.println("Parent replacement: vtx close to Ecal");
- if(!reconfs.contains(p))
+ if(!reconfs.contains(par))
{ reconfs.add(par); Eadd += par.getEnergy();