Ignore:
Timestamp:
06/26/03 17:00:06 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2209 r2237  
    135135        */
    136136
    137         const Int_t id = cerpix.GetPixId();
    138         const Double_t area = geom.GetPixRatio(id);
    139 
    140         if (id == 0)
     137        const Int_t idx = cerpix.GetPixId();
     138        const Double_t area = geom.GetPixRatio(idx);
     139
     140        if (idx == 0)
    141141        {
    142142          //*fLog << "MSigmabar : id = 0;  pixel '0' is used, ignore it"
     
    145145        }
    146146
    147         const MGeomPix &gpix = geom[id];
     147        const MGeomPix &gpix = geom[idx];
    148148
    149149        Int_t sector = (Int_t)(atan2(gpix.GetY(),gpix.GetX())*6 / (TMath::Pi()*2));
     
    152152
    153153        // count only those pixels which have a sigma != 0.0
    154         const Float_t sigma = ped[id].GetMeanRms();
     154        const Float_t sigma = ped[idx].GetPedestalRms();
    155155
    156156        if ( sigma <= 0 )
Note: See TracChangeset for help on using the changeset viewer.