Ignore:
Timestamp:
08/22/06 08:43:27 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r7864 r7903  
    237237            rc++;
    238238    }
     239    return rc;
     240}
     241
     242// --------------------------------------------------------------------------
     243//
     244// Count the number of unsuitable pixels.
     245//
     246Short_t MBadPixelsCam::GetNumUnsuitable() const
     247{
     248    const UInt_t n = GetSize();
     249
     250    Short_t rc = 0;
     251    for (UInt_t i=0; i<n; i++)
     252        if ((*this)[i].IsUnsuitable())
     253            rc++;
     254
    239255    return rc;
    240256}
Note: See TracChangeset for help on using the changeset viewer.