Changeset 7056
- Timestamp:
- 05/18/05 17:55:36 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/NEWS
r7055 r7056 79 79 + A lot of fixes have been introduced which effects integrating the 80 80 spline at the edges of the valid range. In this case any memory 81 was randomly accessed. 81 was randomly accessed. This behaviour can be tested replacing 82 all MArrayF by TArrayF which perform a range check (but of course 83 they are a lot slower) 82 84 ! No result obtained with the Spline before can be trusted! Due to 83 85 random memory access it might by completely random! -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h
r7055 r7056 6 6 #endif 7 7 8 #ifndef ROOT_TArrayF9 #include " TArrayF.h"8 #ifndef MARS_MArrayF 9 #include "MArrayF.h" 10 10 #endif 11 11 … … 27 27 static const Float_t fgLoGainStartShift; //! Default for fLoGainStartShift (now set to -1.6) 28 28 29 TArrayF fHiGainSignal; //! Need fast access to the signals in a float way30 TArrayF fLoGainSignal; //! Store them in separate arrays31 TArrayF fHiGainFirstDeriv; //! High-gain discretized first derivatives32 TArrayF fLoGainFirstDeriv; //! Low-gain discretized first derivatives33 TArrayF fHiGainSecondDeriv; //! High-gain discretized second derivatives34 TArrayF fLoGainSecondDeriv; //! Low-gain discretized second derivatives29 MArrayF fHiGainSignal; //! Need fast access to the signals in a float way 30 MArrayF fLoGainSignal; //! Store them in separate arrays 31 MArrayF fHiGainFirstDeriv; //! High-gain discretized first derivatives 32 MArrayF fLoGainFirstDeriv; //! Low-gain discretized first derivatives 33 MArrayF fHiGainSecondDeriv; //! High-gain discretized second derivatives 34 MArrayF fLoGainSecondDeriv; //! Low-gain discretized second derivatives 35 35 36 36 Float_t fAbMax; //! Current maximum of the spline
Note:
See TracChangeset
for help on using the changeset viewer.