]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroRawStreamV3.cxx
fix finding of pad neighbours; remove methods to write them in OCDB
[u/mrichter/AliRoot.git] / RAW / AliAltroRawStreamV3.cxx
index cf5d80d7708bd7899b0da18f9918f84236e9019a..3baa34f0da542de0238ed23db5733df5f765f421 100644 (file)
@@ -215,7 +215,7 @@ Bool_t AliAltroRawStreamV3::NextDDL()
   fChannelPayloadSize = -1;
   fChannelStartPos = -1;
 
-  fFormatVersion = fRawReader->GetBlockAttributes();
+  fFormatVersion = (fRawReader->GetBlockAttributes() & 0xF);
 
   if (fFormatVersion < 2) {
     // old altro format data
@@ -337,7 +337,7 @@ Bool_t AliAltroRawStreamV3::NextBunch()
   fBunchLength = fBunchData[fBunchDataIndex];
   if (fBunchLength <= 2) {
     // Invalid bunch size
-    AliWarning(Form("Too short bunch length (%d) @ %d in Address=0x%x (DDL=%03d)!",
+     AliDebug(1,Form("Too short bunch length (%d) @ %d in Address=0x%x (DDL=%03d)!",
                    fBunchLength,fBunchDataIndex,fHWAddress,fDDLNumber));
     fRawReader->AddMinorErrorLog(kAltroBunchHeadErr,Form("hw=0x%x",fHWAddress));
     if (AliDebugLevel() > 0) HexDumpChannel();
@@ -346,7 +346,7 @@ Bool_t AliAltroRawStreamV3::NextBunch()
   }
   if ((fBunchDataIndex + fBunchLength) > fCount) {
     // Too long bunch detected
-    AliWarning(Form("Too long bunch detected @ %d in Address=0x%x (DDL=%03d) ! Expected <= %d 10-bit words, found %d !", fBunchDataIndex,
+    AliDebug(1,Form("Too long bunch detected @ %d in Address=0x%x (DDL=%03d) ! Expected <= %d 10-bit words, found %d !", fBunchDataIndex,
                    fHWAddress,fDDLNumber,fCount-fBunchDataIndex,fBunchLength));
     fRawReader->AddMinorErrorLog(kAltroBunchHeadErr,Form("hw=0x%x",fHWAddress));
     if (AliDebugLevel() > 0) HexDumpChannel();