]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Status word changed according to P. Martinengo.
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 14:51:51 +0000 (14:51 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Dec 2007 14:51:51 +0000 (14:51 +0000)
HMPID/AliHMPIDRawStream.cxx

index fbdc63f25bfdd47bad83b72a60bd9654d89f9ee9..c137d6f0d400c8560f53b14497e9246af77e47f9 100644 (file)
@@ -128,8 +128,8 @@ Bool_t AliHMPIDRawStream::Next()
     for(Int_t iRow = 1; iRow <= kNRows; iRow++) {
       UInt_t rowMarker = GetNextWord();                                 // Read row marker
       
-      Int_t numRows= rowMarker >> 16 & 0xffffff;                        // Number of words after the row marker
-         
+      Int_t numRows= rowMarker >> 16 & 0xfff;                        // Number of words after the row marker         
+      
       if ( numRows > 490 ) {      //The row marker is fixed and we cannot have more than 490 words!!!
        fRawReader->AddMajorErrorLog(kRowMarkerSizeErr);
         AliWarning(Form("Wrong row marker size %x for row %d, value: %d expected < 490!",rowMarker,iRow,numRows));