Changed printf to AliDebug(1..) (Francesco, Rosella)
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 17:14:12 +0000 (17:14 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 17:14:12 +0000 (17:14 +0000)
STEER/ESD/AliVertexerTracks.cxx

index 34e77f94724bfe990dd447eab51fbf89d1b0a40c..54ec2156ef9019fb3adb53fb56795470edbd0fec 100644 (file)
@@ -1149,7 +1149,10 @@ void AliVertexerTracks::StrLinVertexFinderMinDist(Int_t optUseWeights)
     sigmasq[2]=track1->GetSigmaZ2();
     TMatrixD ri(3,1);
     TMatrixD wWi(3,3);
-    if(!TrackToPoint(track1,ri,wWi)) {optUseWeights=kFALSE;printf("WARNING\n");}
+    if(!TrackToPoint(track1,ri,wWi)) {
+      optUseWeights=kFALSE;
+      AliDebug(1,"WARNING: TrackToPoint failed");
+    }
     Double_t wmat[9];
     Int_t iel=0;
     for(Int_t ia=0;ia<3;ia++){