Print

Print


Commit in lcsim/src/org/lcsim/contrib/uiowa on MAIN
ReclusterDTreeDriver.java+2-11.37 -> 1.38
MJC: (contrib) Fix bug where a fraction of charged particles didn't have a track. This affected only those which did not reach the ECAL.

lcsim/src/org/lcsim/contrib/uiowa
ReclusterDTreeDriver.java 1.37 -> 1.38
diff -u -r1.37 -r1.38
--- ReclusterDTreeDriver.java	4 Aug 2008 22:19:25 -0000	1.37
+++ ReclusterDTreeDriver.java	6 Aug 2008 00:34:57 -0000	1.38
@@ -34,7 +34,7 @@
   * in this package, which uses the implementation in
   * org.lcsim.recon.cluster.directedtree developed by NIU).
   *
-  * @version $Id: ReclusterDTreeDriver.java,v 1.37 2008/08/04 22:19:25 mcharles Exp $
+  * @version $Id: ReclusterDTreeDriver.java,v 1.38 2008/08/06 00:34:57 mcharles Exp $
   * @author Mat Charles <[log in to unmask]>
   */
 
@@ -3142,6 +3142,7 @@
 	List<ReconstructedParticle> chargedParticlesThatDontReachCalorimeter = new Vector<ReconstructedParticle>();
 	for (Track tr : unmatchedTracksThatDontReachCalorimeter) {
 	    BaseReconstructedParticle part = new BaseReconstructedParticle();
+	    part.addTrack(tr);
 	    part.setCharge(tr.getCharge());
 	    Hep3Vector trackMomentum = momentum(tr);
 	    double trackMomentumMag = trackMomentum.magnitude();
CVSspam 0.2.8