- Timestamp:
- 06/25/03 10:18:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2231 r2233 1 1 -*-*- END OF LINE -*-*- 2 3 2003/06/25: Abelardo Moralejo 4 5 * mimage/MImgCleanStd.cc: 6 - Changed name of variable "ratio" to "factor", wherever it meant 7 the square root of the ratio between the area of an inner pixel 8 and the current pixel (it was confusing). 2 9 3 10 2003/06/24: Thomas Bretz -
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.