Changeset 2465 for trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc
- Timestamp:
- 11/04/03 11:38:48 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc
r2422 r2465 253 253 MCerPhotPix &pix = (*fEvt)[i]; 254 254 255 const Double_t entry = pix.GetNumPhotons(); 256 const Double_t factor = fCam->GetPixRatio(pix.GetPixId()); 257 const Float_t noise = (*fPed)[pix.GetPixId()].GetPedestalRms(); 258 259 if (entry * TMath::Sqrt(factor) <= fCleanLvl2 * noise) 255 const Int_t idx = pix.GetPixId(); 256 const Double_t entry = pix.GetNumPhotons(); 257 const Double_t factor = fCam->GetPixRatio(idx); 258 const Double_t factorsqrt = fCam->GetPixRatioSqrt(idx); 259 const Float_t noise = (*fPed)[idx].GetPedestalRms(); 260 261 if (entry * factorsqrt <= fCleanLvl2 * noise) 260 262 { 261 263 sum += entry*factor;
Note:
See TracChangeset
for help on using the changeset viewer.