Changeset 5293 for trunk/MagicSoft/Mars
- Timestamp:
- 10/20/04 11:40:32 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5291 r5293 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/10/20: Markus Gaug 23 24 * msignal/MExtractTimeAndChargeSpline.cc 25 - fixed a small bug concerning the way the second derivatives are 26 calculated. The effect is less than 1% on the time resolution 27 21 28 22 29 2004/10/19: Abelardo Moralejo -
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.