Ignore:
Timestamp:
09/22/05 14:06:38 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MSignalCam.cc

    r7349 r7364  
    599599{
    600600    MSignalPix *pix = GetPixById(idx);
    601 
    602     if ((!pix || !pix->IsPixelUsed()) && (type<6 || type==8))
     601    if (!pix)
     602        return kFALSE;
     603
     604    // Used inlcudes status unampped
     605    if (!pix->IsPixelUsed() && (type<6 || type==8))
    603606        return kFALSE;
    604607
     
    625628        break;
    626629    case 6:
     630        if (pix->IsPixelUnmapped())
     631            return kFALSE;
    627632        val = pix->GetArrivalTime();
    628633        break;
    629634    case 7:
    630         if (pix->GetNumPhotons()*ratio<15) // maybe 15 as static data member?
     635        if (pix->IsPixelUnmapped() || pix->GetNumPhotons()*ratio<15) // maybe 15 as static data member?
    631636            return kFALSE;
    632637        val = pix->GetArrivalTime();
Note: See TracChangeset for help on using the changeset viewer.