Changeset 2254 for trunk


Ignore:
Timestamp:
07/01/03 10:29:41 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc

    r2239 r2254  
    206206        const MPedestalPix &pix = (*fPed)[id];
    207207
     208        // ratio is the area of pixel 0
     209        //          divided by the area of the current pixel
     210        const Double_t ratio = fCam->GetPixRatio(id);
    208211        const Double_t sigma = pix.GetPedestalRms();
    209         const Double_t area  = fCam->GetPixRatio(id);
    210212
    211213        fSigmaPixTheta.Fill(theta, (Double_t)id, sigma);
    212214
    213         const Double_t diff = sigma*sigma/area - mysig*mysig;
     215        const Double_t diff = sigma*sigma*ratio - mysig*mysig;
    214216        fDiffPixTheta.Fill(theta, (Double_t)id, diff);
    215217    }
     
    333335
    334336
     337
     338
     339
     340
     341
     342
     343
     344
     345
Note: See TracChangeset for help on using the changeset viewer.