Changeset 2233 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 06/25/03 10:18:53 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r2209 r2233 332 332 const Float_t entry = pix.GetNumPhotons(); 333 333 const Float_t noise = pix.GetErrorPhot(); 334 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 334 335 // 336 // We calculate a correction factor which accounts for the 337 // fact that pixels have different size (see TDAS 02-14). 338 // 339 const Double_t factor = TMath::Sqrt(fCam->GetPixRatio(id)); 335 340 336 341 // COBB: '<=' to skip entry=noise=0 337 if (entry * ratio<= fCleanLvl1 * noise)342 if (entry * factor <= fCleanLvl1 * noise) 338 343 pix.SetPixelUnused(); 339 344 } … … 487 492 const Float_t entry = pix.GetNumPhotons(); 488 493 const Float_t noise = pix.GetErrorPhot(); 489 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 490 491 return (entry * ratio <= fCleanLvl2 * noise); 494 495 // 496 // We calculate a correction factor which accounts for the 497 // fact that pixels have different size (see TDAS 02-14). 498 // 499 const Double_t factor = TMath::Sqrt(fCam->GetPixRatio(id)); 500 501 return (entry * factor <= fCleanLvl2 * noise); 492 502 } 493 503
Note:
See TracChangeset
for help on using the changeset viewer.