Changeset 4160 for trunk/MagicSoft/Mars
- Timestamp:
- 05/24/04 20:29:08 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4156 r4160 20 20 21 21 2004/05/24: Javier Rico 22 23 * mpedestal/MPedPhotCalc.cc 24 - Correct a bug that made pedestals be assigned to the wrong pixel 22 25 23 26 * mimage/MNewImagePar.[h,cc] -
trunk/MagicSoft/Mars/mpedestal/MPedPhotCalc.cc
r3803 r4160 158 158 159 159 const MCerPhotPix &pix = (*fCerPhot)[i]; 160 const Int_t pixidx = pix.GetPixId(); 160 161 161 162 const Float_t nphot = pix.GetNumPhotons(); 162 163 163 fSumx[ i] += nphot;164 fSumx2[ i] += nphot*nphot;164 fSumx[pixidx] += nphot; 165 fSumx2[pixidx] += nphot*nphot; 165 166 } 166 167
Note:
See TracChangeset
for help on using the changeset viewer.