Changeset 4160 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 05/24/04 20:29:08 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.