{
/// return a human readable version of the integer status
+ if ( status == 0 )
+ {
+ return "Brave New World";
+ }
+
Int_t pedStatus;
Int_t gainStatus;
Int_t hvStatus;
Int_t status = PadStatus(detElemId,manuId,i);
- if ( ( status & mask) || (!mask && status) )
+ if ( mask && ( status & mask) ) // note that if mask == 0, all pads are good...
{
++nBadPads;
log.Log(AsString(status));
{
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);
}