Some debug printout hidden behind if(gDebug)
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Dec 2004 08:08:26 +0000 (08:08 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Dec 2004 08:08:26 +0000 (08:08 +0000)
ANALYSIS/AliTrackPoints.cxx

index df9bdd83ea2b7690470e7749caff0995e0c8c8ad..2e7bd7abb652eba96edb5f9d441803426a366048 100644 (file)
@@ -316,8 +316,11 @@ void AliTrackPoints::MakeITSPointsInnerFromVertexOuterFromTPC(AliESDtrack* track
     fX[i] = x;
     fY[i] = y;
     fZ[i] = z;
-    Info("MakeITSPoints","X %f Y %f Z %f R asked %f R obtained %f",
-             fX[i],fY[i],fZ[i],r[i],TMath::Hypot(fX[i],fY[i]));
+    if ( GetDebug() > 2 )
+      {
+         Info("MakeITSPoints","X %f Y %f Z %f R asked %f R obtained %f",
+                fX[i],fY[i],fZ[i],r[i],TMath::Hypot(fX[i],fY[i]));
+      }
   }   
  
  for (Int_t i = 3; i < 6; i++)
@@ -328,8 +331,11 @@ void AliTrackPoints::MakeITSPointsInnerFromVertexOuterFromTPC(AliESDtrack* track
     fX[i] = ax;
     fY[i] = ay;
     fZ[i] = az;
-    Info("MakeITSPoints","X %f Y %f Z %f R asked %f R obtained %f",
-             fX[i],fY[i],fZ[i],r[i],TMath::Hypot(fX[i],fY[i]));
+    if ( GetDebug() > 2 )
+     {
+       Info("MakeITSPoints","X %f Y %f Z %f R asked %f R obtained %f",
+                fX[i],fY[i],fZ[i],r[i],TMath::Hypot(fX[i],fY[i]));
+     }
   }
  
 }