Index: fact/tools/rootmacros/PulseTemplates/csv.C
===================================================================
--- fact/tools/rootmacros/PulseTemplates/csv.C	(revision 14751)
+++ fact/tools/rootmacros/PulseTemplates/csv.C	(revision 14752)
@@ -158,11 +158,11 @@
 
     //name coulums header
-    mCsvFile << "TimeSlice [a.u.]"          << mSeparator;
-    mCsvFile << "pixel [CHid]"          << mSeparator;
-    mCsvFile << "Pulseorder [PhE]"          << mSeparator;
+    mCsvFile << "TimeSlice[a.u.]"          << mSeparator;
+    mCsvFile << "CHid"          << mSeparator;
+    mCsvFile << "Pulseorder[PhE]"          << mSeparator;
     mCsvFile << "OverlayPosition"       << mSeparator;
-    mCsvFile << "AmplitudeMax [mV]"     << mSeparator;
-    mCsvFile << "AmplitudeMean [mV]"    << mSeparator;
-    mCsvFile << "AmplitudeMedian [mV]";
+    mCsvFile << "AmplitudeMax[mV]"     << mSeparator;
+    mCsvFile << "AmplitudeMean[mV]"    << mSeparator;
+    mCsvFile << "AmplitudeMedian[mV]";
     mCsvFile << endl;
 }
@@ -172,7 +172,9 @@
 {
     //name coulums header
-    mCsvFile << "pixel [CHid]"      << mSeparator;
+    mCsvFile << "CHid"      << mSeparator;
     mCsvFile << "OverlayPosition"   << mSeparator;
     mCsvFile << "ModelName"         << mSeparator ;
+    mCsvFile << "Order"             << mSeparator ;
+    mCsvFile << "Type"              << mSeparator ;
     mCsvFile << "Bsl"               << mSeparator;
     mCsvFile << "BslErr"            << mSeparator;
@@ -188,11 +190,9 @@
     mCsvFile << "Tau2Err"           << mSeparator ;
     mCsvFile << "Integral"          << mSeparator ;
-    mCsvFile << "IntegralErr"       << mSeparator ;
+//    mCsvFile << "IntegralErr"       << mSeparator ;
     mCsvFile << "Amplitude"         << mSeparator ;
-    mCsvFile << "AmplitudeErr"      << mSeparator ;
+//    mCsvFile << "AmplitudeErr"      << mSeparator ;
     mCsvFile << "Phe"               << mSeparator ;
     mCsvFile << "PheErr"            << mSeparator ;
-    mCsvFile << "Order"             << mSeparator ;
-    mCsvFile << "Type"              << mSeparator ;
     mCsvFile << "FitProb"           << mSeparator ;
     mCsvFile << "FitNCalls"         << mSeparator ;
@@ -213,4 +213,8 @@
     mCsvFile << overlayMethod << mSeparator ;
     mCsvFile << pulse->GetName() << mSeparator ;
+    mCsvFile.precision(0);
+    mCsvFile << order << mSeparator ;
+    mCsvFile.precision(2);
+    mCsvFile << pulse->GetType() << mSeparator ;
     mCsvFile.precision(12);
     mCsvFile << pulse->GetBsl() << mSeparator ;
@@ -232,7 +236,7 @@
     mCsvFile.precision(2);
     mCsvFile << pulse->GetPhE() << mSeparator ;
+    mCsvFile.precision(24);
     mCsvFile << pulse->GetPhEErr() << mSeparator ;
-    mCsvFile << order << mSeparator ;
-    mCsvFile << pulse->GetType() << mSeparator ;
+    mCsvFile.precision(8);
     mCsvFile << pulse->GetFitProb() << mSeparator ;
     mCsvFile.precision(12);
Index: fact/tools/rootmacros/PulseTemplates/csv.h
===================================================================
--- fact/tools/rootmacros/PulseTemplates/csv.h	(revision 14751)
+++ fact/tools/rootmacros/PulseTemplates/csv.h	(revision 14752)
@@ -69,8 +69,17 @@
 // OPERATIONS
 private:
+    /*! \brief Built the path to the CSV file */
     void BuildPath();
+    /*! \brief close the CSV file */
     void CloseCsv();
+    /*! \brief open the CSV file */
     void OpenCsv();
 public:
+    /*! \brief Write the point set and according header of an fitted pulse to CSV
+     *  calls WritePointSetHeader() and WritePointSet()
+     * \param pixel Datatype Pixel, containing all pulse histograms of a Pixel
+     * \param overlayMethod chosen overlaymethod
+     * \param order pulse order aka quantity of photons in signal
+    */
     bool WritePointSetToCsv(
             Pixel* pixel,
@@ -78,4 +87,11 @@
             int order
             );
+    /*! \brief Write header of the point set to CSV */
+    void WritePointSetHeader();
+    /*! \brief Write the point set of an fitted pulse to CSV
+     * \param pixel Datatype Pixel, containing all pulse histograms of a Pixel
+     * \param overlayMethod chosen overlaymethod
+     * \param order pulse order aka quantity of photons in signal
+    */
     void WritePointSet(
             Pixel*          pixel,
@@ -83,27 +99,55 @@
             int             order
             );
+    /*! \brief Write header of the pulse parameters to CSV */
+    void WritePulseAttributesHeader();
+    /*! \brief Write parameters from pulse fit to CSV
+     * \param pixel Datatype Pixel, containing all pulse histograms of a Pixel
+     * \param pulse Datatype Pulse, containing pulse fit of a Pixel
+     * \param overlayMethod chosen overlaymethod
+     * \param order pulse order aka quantity of photons in signal
+    */
     void WritePulseAttributes(
             Pixel*          pixel,
             Pulse*          pulse,
-            TString         overlayMethod, int order
+            TString         overlayMethod,
+            int order
             );
-    void WritePointSetHeader();
-    void WritePulseAttributesHeader();
 
 // ACCESS
 public:
+    /*! \brief Get the filename of the CSV file */
     TString GetFilename();
+    /*! \brief Get the path to the CSV file */
     TString GetPath();
-
+    /*! \brief Get the verbosity Level of the CSV file */
+    int GetVerbLevel(){return mVerbLevel;}
+    /*! \brief Set the verbosity Level of the CSV file */
+    void SetVerbLevel(int verbLevel){mVerbLevel = verbLevel;}
+    /*! \brief Get the column seperator of the CSV file */
+    TString GetSeparator(){return mSeparator;}
+    /*! \brief Set the column seperator of the CSV file */
+    void SetSeparator(TString separator){mSeparator = separator;}
+    /*! \brief Get ofstream's floating-point decimal precision */
+    int GetPrecision(){return mPrecision;}
+    /*! \brief Set ofstream's floating-point decimal precision */
+    void SetPrecision(int precision){mPrecision = precision;}
 
 // INQUIRY
 private:
+    /*! directory to save csv files */
     TString     mDirectory;
+    /*! csv's filename */
     TString     mFilename;
+    /*! csv's filename suffix */
     TString     mSuffix;
+    /*! path to the CSV file */
     TString     mPath;
+    /*! csv file outstream */
     ofstream    mCsvFile;
+    /*! verbosity Level */
     int         mVerbLevel;
+    /*! column separator in csv file */
     TString     mSeparator;
+    /*! ofstream's floating-point decimal precision */
     int         mPrecision;
 };
