Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 5463)
+++ trunk/MagicSoft/Mars/Changelog	(revision 5464)
@@ -26,4 +26,7 @@
      - improved the Print() function such that the individual pixels 
        matching a certain badness-criterion are listed.
+
+   * mpedestal/MPedestalPix.[h,cc]
+     - introduced Copy-function
 
 
Index: trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc
===================================================================
--- trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc	(revision 5463)
+++ trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc	(revision 5464)
@@ -87,4 +87,18 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Copy 'constructor'
+//
+void MPedestalPix::Copy(TObject &object) const
+{
+
+  MPedestalPix &pix =  (MPedestalPix&)object;
+
+  pix.fPedestal         = fPedestal         ;
+  pix.fPedestalRms      = fPedestalRms      ;
+  pix.fPedestalABoffset = fPedestalABoffset ;
+}
+
 // ------------------------------------------------------------------------
 //
Index: trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h
===================================================================
--- trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h	(revision 5463)
+++ trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h	(revision 5464)
@@ -18,5 +18,6 @@
 
     void Clear(Option_t *o="");
-
+    void Copy(TObject &object) const;
+    
     // Using histograms
     void InitUseHists();
