]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONBusStruct.cxx
Implemented writing and checking of parity bit in data word (Christian)
[u/mrichter/AliRoot.git] / MUON / AliMUONBusStruct.cxx
index ac712e6589dd629617d6c9ce664c990194d01a69..d9aaed5e7bef2acc2342d2826a6afc40806787bc 100644 (file)
@@ -182,7 +182,7 @@ Char_t AliMUONBusStruct::GetParity(Int_t n) const
   //
   // get parity
   //
-  if ( n>=0 && n<fLength ) return (Char_t)(fData[n] >> 29) &  0x7;
+  if ( n>=0 && n<fLength ) return (Char_t)(fData[n] >> 31) &  0x1;
 
   AliError("Index outside limits."); 
   return 0;