Ignore:
Timestamp:
05/13/05 19:26:28 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6948 r7033  
    208208
    209209        //Calculate the corrected means:
    210 
    211210        if (rms<=0.5*meanrms[aidx] || rms>=1.5*meanrms[aidx])
    212211            continue;
     
    254253        const Byte_t  aidx = (*fGeomCam)[i].GetAidx();
    255254
    256         if ((fPedestalLevel<0         || (rms>lolim1[aidx] && rms<=uplim1[aidx])) &&
    257             (fPedestalLevelVariance<0 || (rms>lolim2[aidx] && rms<=uplim2[aidx])))
     255        if ((fPedestalLevel<=0         || (rms>lolim1[aidx] && rms<=uplim1[aidx])) &&
     256            (fPedestalLevelVariance<=0 || (rms>lolim2[aidx] && rms<=uplim2[aidx])))
    258257            continue;
    259258
     
    261260        bads++;
    262261    }
    263 
    264262
    265263    // Check if the number of pixels to blind is > 60% of total number of pixels
     
    280278Int_t MBadPixelsCalc::Process()
    281279{
    282     if (fPedestalLevel>0 || fPedestalLevelVariance)
    283     {
     280    if (fPedestalLevel>0 || fPedestalLevelVariance>0)
    284281        CheckPedestalRms();
    285         //fPedPhotCam->ReCalc(*fGeomCam, fBadPixels);
    286     }
    287282
    288283    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.