Index: /fact/tools/rootmacros/PulseTemplates/csv.h
===================================================================
--- /fact/tools/rootmacros/PulseTemplates/csv.h	(revision 14532)
+++ /fact/tools/rootmacros/PulseTemplates/csv.h	(revision 14533)
@@ -4,4 +4,7 @@
 
 // SYSTEM INCLUDES
+#include <iostream>
+#include <fstream>
+#include <stdlib.h>
 //
 
@@ -70,5 +73,5 @@
     void OpenCsv();
 public:
-    bool WritePixelToCsv(
+    bool WritePointSetToCsv(
             Pixel* pixel,
             TString overlayMethod,
@@ -83,12 +86,13 @@
             Pixel*          pixel,
             Pulse*          pulse,
-            TString         overlayMethod
+            TString         overlayMethod, int order
             );
-    void WritePointSetExplain();
+    void WritePointSetHeader();
+    void WritePulseAttributesHeader();
 
 // ACCESS
 public:
-    void GetFilename();
-    void GetPath();
+    TString GetFilename();
+    TString GetPath();
 
 
@@ -101,4 +105,6 @@
     ofstream    mCsvFile;
     int         mVerbLevel;
+    TString     mSeparator;
+    int         mPrecision;
 };
 
