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

Legend:

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

    r7830 r7831  
    647647        // otherwise to many large pixels survive (maybe because the
    648648        // fluctuations scale different than expected)
    649         if (pix->IsPixelUnmapped() || pix->GetNumPhotons()<20)
     649        if (pix->IsPixelUnmapped() || pix->GetNumPhotons()*ratio<15)
    650650            return kFALSE;
    651651        val = pix->GetArrivalTime();
     
    663663
    664664    case 11: // hi gain time
    665         if (pix->IsPixelUnmapped() || pix->IsLoGainUsed())
    666             return kFALSE;
    667 
    668665        // The number of photons is not scaled with the ratio because
    669666        // otherwise to many large pixels survive (maybe because the
    670667        // fluctuations scale different than expected)
    671         if (pix->GetNumPhotons()<20)
     668        if (pix->IsPixelUnmapped() || pix->IsLoGainUsed() ||
     669            pix->GetNumPhotons()*ratio<15)
    672670            return kFALSE;
    673 
    674671        val = pix->GetArrivalTime();
    675672        return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.