Index: trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
===================================================================
--- trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 12677)
+++ trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 12678)
@@ -62,8 +62,9 @@
     friend class UIConnector;
 
+
+
+public:
     DrsCalibration fDrsCalib;
 
-
-public:
     bool fIsDrsCalibration;
 
@@ -107,4 +108,7 @@
     int16_t* waveLetArray;
     valarray<double> RMSvalues;//(1440);
+    valarray<double> Meanvalues;
+    valarray<double> Maxvalues;
+    valarray<double> PosOfMaxvalues;
 
 private:
@@ -295,4 +299,5 @@
     QwtPlotCurve startTimeMarkHistoItem;
     QwtPlotCurve pixelValueCurveItem;
+    QwtPlotCurve pixelAverageCurveItem;
     QwtPlotCurve aMeanCurveItem;
     QwtPlotCurve vCorrCurveItem;
@@ -301,4 +306,5 @@
 
     QwtPlotZoomer* curveZoom;
+    QwtPlotZoomer* averageCurveZoom;
     QwtPlotZoomer* boardsTimeHistoZoom;
     QwtPlotZoomer* startCellHistoZoom;
@@ -312,4 +318,5 @@
     QwtPlotGrid* grid4;
     QwtPlotGrid* grid5;
+    QwtPlotGrid* grid6;
 };
 
