Ignore:
Timestamp:
04/28/03 09:52:57 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc

    r1966 r2015  
    185185        nphot[i] = TESTBIT(fFlags, kUseCentralPixel) ? pix.GetNumPhotons() : 0;
    186186        perr[i]  = TESTBIT(fFlags, kUseCentralPixel) ? pix.GetErrorPhot()  : 0;
     187
     188        nphot[i] *= fGeomCam->GetPixRatio(id);
     189        // FIXME: perr[i] ???
     190
    187191        for (int j=0; j<n; j++)
    188192        {
     
    195199            if (evtpix)
    196200            {
    197                 nphot[i] += evtpix->GetNumPhotons();
     201                nphot[i] += evtpix->GetNumPhotons()*fGeomCam->GetPixRatio(nid);
    198202                perr[i]  += evtpix->GetErrorPhot();
     203                // FIXME: perr[i] ???
    199204            }
    200205            num++;
    201206        }
    202207
    203         nphot[i] /= num;
    204         perr[i]  /= num;
     208        nphot[i] /= num*fGeomCam->GetPixRatio(id);
     209        perr[i]  /= num/*FIXME:???*/;
    205210    }
    206211
Note: See TracChangeset for help on using the changeset viewer.