]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliAltroBuffer.cxx
In AliMUONQADataMakerRec:
[u/mrichter/AliRoot.git] / RAW / AliAltroBuffer.cxx
index 461bfb581ef31faf40ca6599f72d2b9d72261613..0b9071cd989d61ac916b6850cbf04e810b4bf47b 100644 (file)
@@ -305,8 +305,9 @@ void AliAltroBuffer::WriteRCUTrailer(Int_t rcuId)
   
   //  Now the RCU identifier and size of the trailer
   //  FOr the moment the triler size is 2 32-bit words
-  UInt_t buffer = 2;
-  buffer |= ((rcuId & 0x3FF) << 22);
+  UInt_t buffer = (2 & 0x7F);
+  buffer |= ((rcuId & 0x1FF) << 7);
+  buffer |= 0xAAAA << 16;
   fFile->WriteBuffer((char *)(&buffer),sizeof(UInt_t));
 
 }