]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPadStatusMapMaker.cxx
A few fixes
[u/mrichter/AliRoot.git] / MUON / AliMUONPadStatusMapMaker.cxx
index 8c6785f76f378ebf94cf82af308189b7d20be4ac..73469f7f65fe195fd8473a99b3795b71113f59e8 100644 (file)
@@ -242,7 +242,7 @@ AliMUONPadStatusMapMaker::ComputeStatusMap(Int_t detElemId, Int_t manuId) const
       {
         status = statusParam->ValueAsIntFast(c); //fkStatusMaker.PadStatus(detElemId,m,c);
       }
-      if ( ( fMask==0 && status !=0 ) || ( (status & fMask) != 0 ) )
+      if ( ( fMask != 0 ) && ( (status & fMask) != 0 ) )
       {
         statusMap |= (1<<i);
       }