Changeset 7033 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 05/13/05 19:26:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r6948 r7033 208 208 209 209 //Calculate the corrected means: 210 211 210 if (rms<=0.5*meanrms[aidx] || rms>=1.5*meanrms[aidx]) 212 211 continue; … … 254 253 const Byte_t aidx = (*fGeomCam)[i].GetAidx(); 255 254 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]))) 258 257 continue; 259 258 … … 261 260 bads++; 262 261 } 263 264 262 265 263 // Check if the number of pixels to blind is > 60% of total number of pixels … … 280 278 Int_t MBadPixelsCalc::Process() 281 279 { 282 if (fPedestalLevel>0 || fPedestalLevelVariance) 283 { 280 if (fPedestalLevel>0 || fPedestalLevelVariance>0) 284 281 CheckPedestalRms(); 285 //fPedPhotCam->ReCalc(*fGeomCam, fBadPixels);286 }287 282 288 283 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.