Changeset 1713
- Timestamp:
- 01/17/03 14:52:42 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1712 r1713 1 1 2 2 -*-*- END -*-*- 3 2003/01/17: Robert Wagner 4 * manalysis/MApplyPadding.cc 5 - bugfix: Effective number of used pixels taken from 6 MCerPhotEvt container, not from MPedestalCam 3 7 4 8 2003/01/16: Wolfgang Wittek -
trunk/MagicSoft/Mars/manalysis/MApplyPadding.cc
r1682 r1713 253 253 newPed.InitSize(fPed->GetSize()); 254 254 255 const UInt_t npix = fPed->GetSize(); // Total number of pixels 255 // const UInt_t npix = fPed->GetSize(); 256 const UInt_t npix = fEvt->GetNumPixels(); // Total number of pixels 257 256 258 for (UInt_t i=0; i<npix; i++) { 257 MCerPhotPix pix = fEvt->operator[](i); 259 MCerPhotPix pix = fEvt->operator[](i); 258 260 if (!pix.IsPixelUsed()) 259 261 continue; … … 266 268 Double_t error = pix.GetErrorPhot(); 267 269 pix.SetErrorPhot(sqrt(error*error + quadraticDiff)); 268 269 270 MPedestalPix ppix = fPed->operator[](i); 270 271 MPedestalPix npix;
Note:
See TracChangeset
for help on using the changeset viewer.