Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h	(revision 9312)
@@ -109,4 +109,9 @@
 		Int_t CTnum);
 
+    void SetSpectrum(Float_t slope, Float_t emin, Float_t emax)
+    {
+        fSlopeSpec=slope; fELowLim=emin; fEUppLim=emax;
+    }
+
     MGeomCorsikaCT &operator[](Int_t i) const;
 
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx	(revision 9312)
@@ -109,4 +109,7 @@
     void SetCoreY(Float_t CoreY) { fCoreY=CoreY; }                //Set Core y pos
 
+    void SetEvtNumber(UInt_t n) { fEvtNumber=n; }
+    void SetPhotElfromShower(UInt_t n) { fPhotElfromShower=n; }
+
     void Fill( UInt_t, ParticleId_t, Float_t, Float_t, Float_t,
                Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.cc
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.cc	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.cc	(revision 9312)
@@ -89,4 +89,17 @@
 // --------------------------------------------------------------------------
 //
+// Copy operator. Copy all data members
+//
+void MMcEvtBasic::operator=(const MMcEvtBasic &evt)
+{
+    fPartId         = evt.fPartId;
+    fEnergy         = evt.fEnergy;
+    fImpact         = evt.fImpact;
+    fTelescopePhi   = evt.fTelescopePhi;
+    fTelescopeTheta = evt.fTelescopeTheta;
+}
+
+// --------------------------------------------------------------------------
+//
 //  Reset all values: Fill(kUNDEFINED, -1, -1, 0, 0)
 //
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.h
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.h	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcEvtBasic.h	(revision 9312)
@@ -5,5 +5,4 @@
 #include "MParContainer.h"
 #endif
-
 
 class MMcEvtBasic : public MParContainer
@@ -41,4 +40,5 @@
   MMcEvtBasic();
   MMcEvtBasic(ParticleId_t, Float_t, Float_t, Float_t, Float_t);
+  void operator=(const MMcEvtBasic &evt);
 
   // Getter
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.cxx	(revision 9312)
@@ -138,7 +138,8 @@
     fSlopeSpec = 0.0;
 
-    fCorsikaVersion = 0;
-    fReflVersion = 0;
-    fCamVersion = 0;
+    fCorsikaVersion = UShort_t(-1);
+    fReflVersion    = UShort_t(-1);
+    fCamVersion     = UShort_t(-1);
+
     fOpticLinksNoise= 0;
 
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.hxx
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.hxx	(revision 9272)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcRunHeader.hxx	(revision 9312)
@@ -6,4 +6,19 @@
 #endif
 
+// -------------------------------------------------------------
+//
+//  The following data member are in use:
+//
+//    fCorsikaVersion        MHCollectionArea
+//    fReflVersion           MSrcPosCalc
+//    fCamVersion            MMcCalibrationUpdate, MReadMarsFile,
+//                           MMcPedestalCopy, MMcPedestalNSBAdd
+//    fStarField*            MMcBadPixelSet
+//    fImpactMax             MHCollectionArea
+//    fNumSimulatedShowers   MHCollectionArea
+//    [fAllEvtsTriggered]    MHCollectionArea
+//    fNumPheFromDNSB        MMcPedestalNSBAdd
+//
+// -------------------------------------------------------------
 
 class MMcRunHeader : public MParContainer
@@ -146,4 +161,7 @@
   Float_t GetImpactMax() const            {return fImpactMax;}
 
+  void SetNumSimulatedShowers(UInt_t n) { fNumSimulatedShowers=n; }
+  void SetImpactMax(Float_t im) { fImpactMax=im; }
+
   ClassDef(MMcRunHeader, 7)	// storage container for general run info
 };
