Ignore:
Timestamp:
08/08/06 16:04:31 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7804 r7864  
    312312        return 0;
    313313
     314    // Check whether more than one neighbor contains useful information,
     315    // which mean it can later be interpolated
    314316    if (GetNumSuitableNeighbors(type, *pix)>1)
    315317        return 0;
    316318
     319    // If the requested area-index is valid check whether it is the requested one
    317320    if (aidx>=0 && pix->GetAidx()!=aidx)
    318321        return 1;
    319322
     323    // Remove the pixel from the list of pixels to be checked
    320324    list.RemoveAt(idx);
    321325
     326    // Do the same for the neighbor pixels recursively and count the 1-results
    322327    Short_t cnt = 1;
    323328    const Int_t n = pix->GetNumNeighbors();
     
    325330        cnt += GetNumMaxCluster(type, list, pix->GetNeighbor(i), aidx);
    326331
     332    // return the number of neighbor pixels/clusters which have unsuitable-type type
    327333    return cnt;
    328334}
Note: See TracChangeset for help on using the changeset viewer.