Changeset 5293 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 10/20/04 11:40:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.cc
r5240 r5293 341 341 // -------------------------------------------------------------------------- 342 342 // 343 // Calculates the arrival time for each pixel343 // Calculates the arrival time and charge for each pixel 344 344 // 345 345 void MExtractTimeAndChargeSpline::FindTimeAndChargeHiGain(Byte_t *first, Byte_t *logain, Float_t &sum, Float_t &dsum, … … 443 443 444 444 for (Int_t k=range-2;k>=0;k--) 445 fHiGainSecondDeriv[k] = (fHiGainSecondDeriv[k]*fHiGainSecondDeriv[k+1] + fHiGainFirstDeriv[k])/6.; 445 fHiGainSecondDeriv[k] = fHiGainSecondDeriv[k]*fHiGainSecondDeriv[k+1] + fHiGainFirstDeriv[k]; 446 for (Int_t k=range-2;k>=0;k--) 447 fHiGainSecondDeriv[k] /= 6.; 446 448 447 449 // … … 711 713 // -------------------------------------------------------------------------- 712 714 // 713 // Calculates the arrival time for each pixel715 // Calculates the arrival time and charge for each pixel 714 716 // 715 717 void MExtractTimeAndChargeSpline::FindTimeAndChargeLoGain(Byte_t *first, Float_t &sum, Float_t &dsum, … … 791 793 fLoGainSecondDeriv[range-1] = 0.; 792 794 for (Int_t k=range-2;k>=0;k--) 793 fLoGainSecondDeriv[k] = (fLoGainSecondDeriv[k]*fLoGainSecondDeriv[k+1] + fLoGainFirstDeriv[k])/6.; 795 fLoGainSecondDeriv[k] = fLoGainSecondDeriv[k]*fLoGainSecondDeriv[k+1] + fLoGainFirstDeriv[k]; 796 for (Int_t k=range-2;k>=0;k--) 797 fLoGainSecondDeriv[k] /= 6.; 794 798 795 799 //
Note:
See TracChangeset
for help on using the changeset viewer.