Print

Print


Commit in lcio/src/cpp/src/UTIL on MAIN
Operators.cc+5-51.7 -> 1.8
bug fix for printing Tracks, when getSubdetectorHitNumbers().size()==0

lcio/src/cpp/src/UTIL
Operators.cc 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- Operators.cc	30 Jun 2010 16:53:43 -0000	1.7
+++ Operators.cc	24 Aug 2010 12:16:53 -0000	1.8
@@ -1404,10 +1404,10 @@
     out << endl;
 
     out << "Radius of innermost hit " << part->getRadiusOfInnermostHit() << " / mm , " << " subdetector Hit numbers : " ;
-    for(l=0 ; l< part->getSubdetectorHitNumbers().size()-1 ; l++) {
+    for(l=0 ; l< part->getSubdetectorHitNumbers().size() ; l++) {
         out << part->getSubdetectorHitNumbers()[l] << ", " ;
     }
-    out << part->getSubdetectorHitNumbers()[l+1] << endl;
+    //    out << part->getSubdetectorHitNumbers()[l+1] << endl;
     return out;
   }
 
@@ -1763,12 +1763,12 @@
 
     out << "Radius of innermost hit " << part->getRadiusOfInnermostHit() << " / mm , " << " subdetector Hit numbers : " ;
     out << endl << "            ";
-    for(l=0 ; l< part->getSubdetectorHitNumbers().size()-1 ; l++) {
+    for(l=0 ; l< part->getSubdetectorHitNumbers().size() ; l++) {
         out << part->getSubdetectorHitNumbers()[l] << ", " ;
         if(!((l+1)%20)){out << endl << "            ";}
     }
-    if(!((l+2)%20)){out << endl << "            ";}
-    out << part->getSubdetectorHitNumbers()[l+1] << endl;
+//     if(!((l+2)%20)){out << endl << "            ";}
+//     out << part->getSubdetectorHitNumbers()[l+1] << endl;
 
     out << noshowpos;
     return(out);
CVSspam 0.2.8