Index: /fact/tools/rootmacros/PulseTemplates/pixel.h
===================================================================
--- /fact/tools/rootmacros/PulseTemplates/pixel.h	(revision 13657)
+++ /fact/tools/rootmacros/PulseTemplates/pixel.h	(revision 13658)
@@ -1,3 +1,3 @@
-/**  A one line description of the class.
+/**  container with all attributes and histograms of a pixel.
  *
  * #include "XX.h" <BR>
@@ -13,5 +13,7 @@
 
 // SYSTEM INCLUDES
+//
 
+// PROJECT INCLUDES
 #include <TROOT.h>
 #include <TProfile.h>
@@ -20,9 +22,8 @@
 #include <TH1F.h>
 #include <TString.h>
-
+#include "TCanvas.h"
+#include "TObjArray.h"
 //
 
-// PROJECT INCLUDES
-//
 //#include "rootfilehandler.h"
 //#include "rootfilehandler.C"
@@ -44,12 +45,4 @@
     Pixel(
             int         pixelID,
-            int         maxPulsorder,
-            int         verbosityLevel,
-            bool        stats,
-            TFile*      filename
-            );
-
-    Pixel(
-            TString     pixelname,
             int         maxPulsorder,
             int         verbosityLevel,
@@ -96,4 +89,5 @@
 
     //Histogram Booking
+protected:
     void BookPixelHistos();
     void BookDistributionHistos();
@@ -101,4 +95,33 @@
     void BookEdgeTemplateHistos();
 
+    //Histogram deletion
+    void DeletePixelHistos();
+    void DeleteDistributionHistos();
+    void DeleteTemplateHistos();
+    void DeleteEdgeTemplateHistos();
+
+    void
+    MakeTH1Pretty(
+            TH1*                histo,
+            TString             histName,
+            TString             histTitle,
+            int                 order
+            );
+    void
+    MakeTH2Pretty(
+            TH2*                histo,
+            TString             histName,
+            TString             histTitle,
+            int                 order
+            );
+    void
+    MakeTProfilePretty(
+            TProfile*           histo,
+            TString             histName,
+            TString             histTitle,
+            int                 order
+            );
+
+public:
     //Histogram Drawing
     void DrawOverlayHistograms(
@@ -119,14 +142,10 @@
             );
 
-    //Histogram deletion
-    void DeletePixelHistos();
-    void DeleteDistributionHistos();
-    void DeleteTemplateHistos();
-    void DeleteEdgeTemplateHistos();
-
     //File Handling
     void SavePixelHistograms(TString loc_fname, bool);
+protected:
     void LoadPulseHistos( );
 
+public:
     //File Handling Service Functions
     TString HistoTitle(TString, int );
@@ -137,5 +156,4 @@
 // INQUIRY
     int             mChid;
-    TString         mName;
     bool            mStats;
     int             mMaxPulseOrder;
@@ -172,13 +190,9 @@
 
 protected:
+    int             mConstructorType; //0 delete distributions, 1 delete TemplateHistos
 private:
-    int             mConstructorType; //0 delete distributions, 1 delete TemplateHistos
 };
 
-// INLINE METHODS
-//
 
-// EXTERNAL REFERENCES
-//
 
 #endif  // _PIXEL_H_
