]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFSDigit.cxx
TOF library splitting and conversion of some printout messages in AliLog schema ...
[u/mrichter/AliRoot.git] / TOF / AliTOFSDigit.cxx
index ece39a8b5675eaa780e20bcec361b81c0b352271..f5644ee00c1c05e359356d2500b1592d8843c54a 100644 (file)
@@ -33,6 +33,7 @@
 #include "TArrayF.h"
 #include "TArrayI.h"
 
+#include "AliLog.h"
 #include "AliRun.h"
 #include "AliTOF.h"
 #include "AliTOFGeometry.h"
@@ -161,9 +162,8 @@ void AliTOFSDigit::Update(Float_t tdcbin, Int_t tdc, Int_t adc, Int_t track)
       }
       // write warning about many tracks going to this pad
       if (iTrack == kMAXDIGITS) {
-       cerr<<"WARNING: AliTOFSDigit::Update  Many hits in the padhit"<<endl;
-       cerr<<"         ";
-       //      PrintPad();
+       AliWarning("Many hits in the padhit");
+       //      ToAliWarning(PrintPad());
       }
     }
   } else {
@@ -221,9 +221,8 @@ void AliTOFSDigit::Update(AliTOFSDigit* sdig)
        }
        // write warning about many tracks going to this pad
        if (iTrack == kMAXDIGITS) {
-         cerr<<"WARNING: AliTOFSDigit::Update  Many hits in the padhit"<<endl;
-         cerr<<"         ";
-         //    PrintPad();
+         AliWarning("Many hits in the padhit");
+         //    ToAliWarning(PrintPad());
        }
       }
     } else {