Index: /fact/tools/pyscripts/pyfact/pyfact.py
===================================================================
--- /fact/tools/pyscripts/pyfact/pyfact.py	(revision 12817)
+++ /fact/tools/pyscripts/pyfact/pyfact.py	(revision 12818)
@@ -95,15 +95,15 @@
 
         self.v_bsl = np.zeros( self.NPIX ) # array with baseline values (all ZERO)
-
-
-    def next( self ):
-        """
-        load the next event from disk and calibrate it
-        """
-        self.df.GetNextRow()
-        self.calibrate_drsAmplitude()
         self.smoothData = None
         self.maxPos = None
         self.maxAmp = None
+
+
+    def next( self ):
+        """
+        load the next event from disk and calibrate it
+        """
+        self.df.GetNextRow()
+        self.calibrate_drsAmplitude()
 
         
