Print

Print


Commit in slicPandora/src on MAIN
PfoProcessor.cpp+5-31.8 -> 1.9


slicPandora/src
PfoProcessor.cpp 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- PfoProcessor.cpp	24 Mar 2010 19:01:37 -0000	1.8
+++ PfoProcessor.cpp	26 Mar 2010 18:48:46 -0000	1.9
@@ -1,4 +1,4 @@
-// $Id: PfoProcessor.cpp,v 1.8 2010/03/24 19:01:37 jeremy Exp $
+// $Id: PfoProcessor.cpp,v 1.9 2010/03/26 18:48:46 jeremy Exp $
 #include "PfoProcessor.h"
 
 // lcio
@@ -66,7 +66,9 @@
          itPFO != itPFOEnd; 
          ++itPFO)
     {
+#ifdef PFOPROCESSOR_DEBUG
         std::cout << std::endl << "proc PFO: " << (int)(&(*itPFO)) << std::endl;
+#endif
 
         // Make the new ReconstructedParticle.
         ReconstructedParticleImpl *pReconstructedParticle = new ReconstructedParticleImpl();
@@ -78,7 +80,7 @@
         pandora::TrackAddressList trackAddressList = (*itPFO)->GetTrackAddressList();
 
 #ifdef PFOPROCESSOR_DEBUG
-        cout << "Pandora found <" << trackAddressList.size() << "> tracks associated with this PFO." << std::endl;
+        cout << "Pandora found <" << trackAddressList.size() << "> tracks." << std::endl;
 #endif
 
         // Iterate over the cluster list and make LCIO clusters.
@@ -121,7 +123,7 @@
             pReconstructedParticle->addCluster(pCluster);
         }
 
-        // Add the tracks to the event.
+        // Associate the Tracks with the ReconstructedParticles.
         for (pandora::TrackAddressList::iterator itTrack = trackAddressList.begin(), itTrackEnd = trackAddressList.end(); 
              itTrack != itTrackEnd;
              ++itTrack)
CVSspam 0.2.8