Index: /trunk/MagicSoft/Mars/NEWS
===================================================================
--- /trunk/MagicSoft/Mars/NEWS	(revision 7055)
+++ /trunk/MagicSoft/Mars/NEWS	(revision 7056)
@@ -79,5 +79,7 @@
      + A lot of fixes have been introduced which effects integrating the
        spline at the edges of the valid range. In this case any memory
-       was randomly accessed.
+       was randomly accessed. This behaviour can be tested replacing
+       all MArrayF by TArrayF which perform a range check (but of course
+       they are a lot slower)
      ! No result obtained with the Spline before can be trusted! Due to
        random memory access it might by completely random!
Index: /trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h
===================================================================
--- /trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h	(revision 7055)
+++ /trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h	(revision 7056)
@@ -6,6 +6,6 @@
 #endif
 
-#ifndef ROOT_TArrayF
-#include "TArrayF.h"
+#ifndef MARS_MArrayF
+#include "MArrayF.h"
 #endif
 
@@ -27,10 +27,10 @@
   static const Float_t fgLoGainStartShift; //! Default for fLoGainStartShift (now set to -1.6)
   
-  TArrayF fHiGainSignal;                //! Need fast access to the signals in a float way
-  TArrayF fLoGainSignal;                //! Store them in separate arrays
-  TArrayF fHiGainFirstDeriv;            //! High-gain discretized first derivatives
-  TArrayF fLoGainFirstDeriv;            //! Low-gain discretized first derivatives
-  TArrayF fHiGainSecondDeriv;           //! High-gain discretized second derivatives
-  TArrayF fLoGainSecondDeriv;           //! Low-gain discretized second derivatives
+  MArrayF fHiGainSignal;                //! Need fast access to the signals in a float way
+  MArrayF fLoGainSignal;                //! Store them in separate arrays
+  MArrayF fHiGainFirstDeriv;            //! High-gain discretized first derivatives
+  MArrayF fLoGainFirstDeriv;            //! Low-gain discretized first derivatives
+  MArrayF fHiGainSecondDeriv;           //! High-gain discretized second derivatives
+  MArrayF fLoGainSecondDeriv;           //! Low-gain discretized second derivatives
 
   Float_t fAbMax;                       //! Current maximum of the spline
