RCU can't write raw-data size so one gets always 0xffffffff in the CDH event-size...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Oct 2008 14:10:02 +0000 (14:10 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Oct 2008 14:10:02 +0000 (14:10 +0000)
RAW/AliAltroBuffer.cxx

index 0b9071c..12b8f30 100644 (file)
@@ -265,7 +265,8 @@ void AliAltroBuffer::WriteDataHeader(Bool_t dummy, Bool_t compressed)
     WriteRCUTrailer(0);
     UInt_t currentFilePos = fFile->Tellp();
     fFile->Seekp(fDataHeaderPos);
-    header.fSize = currentFilePos-fDataHeaderPos;
+    header.fSize = 0xFFFFFFFF; // RCU can't write raw-data size so we always get an 'invalid' size field
+    //    header.fSize = currentFilePos-fDataHeaderPos;
     header.SetAttribute(0);  // valid data
     if (compressed) header.SetAttribute(1); 
     fFile->WriteBuffer((char*)(&header), sizeof(header));