Changeset 1647 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 11/19/02 13:31:21 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc
r1641 r1647 117 117 const Float_t noise = pix.GetErrorPhot(); 118 118 119 const Int_t id = pix.GetPixId(); 120 121 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 122 119 123 // COBB: '<=' to skip entry=noise=0 120 if (entry <= fCleanLvl1 * noise / sqrt(fCam->GetPixRatio(i)))124 if (entry <= fCleanLvl1 * noise / ratio) 121 125 pix.SetPixelUnused(); 122 126 123 if ( pix.GetPixId()>max)124 max = pix.GetPixId();127 if (id>max) 128 max = id; 125 129 } 126 130 return max; … … 265 269 const Float_t noise = pix.GetErrorPhot(); 266 270 267 if (entry <= fCleanLvl2 * noise / sqrt(fCam->GetPixRatio(i)))268 continue;269 270 271 // 271 272 // get pixel id of this entry 272 273 // 273 274 const Int_t id = pix.GetPixId(); 275 276 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 277 278 if (entry <= fCleanLvl2 * noise / ratio) 279 continue; 274 280 275 281 //
Note:
See TracChangeset
for help on using the changeset viewer.