Changeset 2237 for trunk/MagicSoft/Mars/manalysis/MSigmabar.cc
- Timestamp:
- 06/26/03 17:00:06 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MSigmabar.cc
r2209 r2237 135 135 */ 136 136 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) 141 141 { 142 142 //*fLog << "MSigmabar : id = 0; pixel '0' is used, ignore it" … … 145 145 } 146 146 147 const MGeomPix &gpix = geom[id ];147 const MGeomPix &gpix = geom[idx]; 148 148 149 149 Int_t sector = (Int_t)(atan2(gpix.GetY(),gpix.GetX())*6 / (TMath::Pi()*2)); … … 152 152 153 153 // 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(); 155 155 156 156 if ( sigma <= 0 )
Note:
See TracChangeset
for help on using the changeset viewer.