Print

Print


Commit in projects/slic/branches/v00-00-01_SLIC-218-dev/src on MAIN
TrackSummary.cc+2-22958 -> 2959
minor comment change

projects/slic/branches/v00-00-01_SLIC-218-dev/src
TrackSummary.cc 2958 -> 2959
--- projects/slic/branches/v00-00-01_SLIC-218-dev/src/TrackSummary.cc	2014-02-06 06:11:34 UTC (rev 2958)
+++ projects/slic/branches/v00-00-01_SLIC-218-dev/src/TrackSummary.cc	2014-02-06 22:09:46 UTC (rev 2959)
@@ -128,7 +128,7 @@
         // passed by here.
         return;
 
-    // TODO: Check if this must be called...
+    // TODO: Check if this code block must be called.  I think this happens elsewhere, too.
     TrackSummary* myParent = findParent();
     if (myParent) {
 
@@ -141,9 +141,9 @@
 
         // fg: need to check if particle already has this parent assigned ...
         // this will be fixed in a future (>1.6) LCIO version
-
         const MCParticleVec& parents = _mcparticle->getParents();
 
+        // I think this check for existing parent can probably be removed. --JM
         if (std::find(parents.begin(), parents.end(), theParentMCParticle) == parents.end()) {
 
             // fix B.Vormwald:  only add parent if particlke created in simulation
SVNspam 0.1


Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1