Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc	(revision 1663)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc	(revision 1717)
@@ -77,4 +77,6 @@
     for (int i=0;i<4; i++)  fNFL[i] = 0;
 
+    fWobbleMode=0;
+    fAtmosphericModel=0;
 }
 
@@ -104,5 +106,8 @@
 			       const Float_t  batm[5],
 			       const Float_t  catm[5],
-			       const Float_t  nfl[4])
+			       const Float_t  nfl[4],
+			       const Float_t  wobble,
+			       const Float_t  atmospher
+			       )
 {
     fRunNumber = runnumber;
@@ -135,3 +140,18 @@
     }
     for (int i=0; i<4; i++)  fNFL[i] = nfl[i];
+
+    fWobbleMode=wobble;
+    fAtmosphericModel=atmospher;
+
 }
+
+
+
+
+
+
+
+
+
+
+
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h	(revision 1663)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h	(revision 1717)
@@ -43,4 +43,11 @@
     Float_t fNFL[4];
 
+    Float_t fWobbleMode;     // Indicates wobble mode with which
+                             //  reflector has been run 
+    Float_t fAtmosphericModel; // Indicates atmospheric model used in
+                               // absorption simulation. 0 = no atmosphere,
+                               // 1 = atm_90percent, 2 = atm_isothermal,
+                               // 3 = atm_corsika.
+
 public:
     MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
@@ -67,10 +74,13 @@
               const Float_t  batm[5],
               const Float_t  catm[5],
-              const Float_t  nfl[4]
+              const Float_t  nfl[4],
+	      const Float_t  wobble,
+	      const Float_t  atmospher
              );
 
-    ClassDef(MMcCorsikaRunHeader, 1) // storage container for corsika setup information
+    ClassDef(MMcCorsikaRunHeader, 2) // storage container for corsika setup information
 };
 #endif
 
 
+
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx	(revision 1663)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx	(revision 1717)
@@ -56,5 +56,8 @@
 		UInt_t   uiPco,  
 		UInt_t   uiPelS,
-		UInt_t   uiPelC ) {
+		UInt_t   uiPelC,
+		Float_t  elec,
+		Float_t  muon,
+		Float_t  other) {
 
     fName  = "MMcEvt";
@@ -101,4 +104,8 @@
   fPhotElfromShower = uiPelS ;
   fPhotElinCamera   = uiPelC ;
+
+  fElecCphFraction=elec;
+  fMuonCphFraction=muon;
+  fOtherCphFraction=other;
 }
 
@@ -136,4 +143,8 @@
     fPhotElfromShower = 0;
     fPhotElinCamera   = 0;
+
+    fElecCphFraction=0;
+    fMuonCphFraction=0;
+    fOtherCphFraction=0;
 }
 
@@ -166,5 +177,8 @@
 		   UInt_t   uiPco,  
 		   UInt_t   uiPelS,  
-		   UInt_t   uiPelC ) {
+		   UInt_t   uiPelC,
+		   Float_t  elec,
+		   Float_t  muon,
+		   Float_t  other ) {
   //
   //  All datamembers are filled with the correspondin parameters. 
@@ -205,4 +219,9 @@
   fPhotElfromShower = uiPelS ;
   fPhotElinCamera = uiPelC ;
+
+  fElecCphFraction=elec;
+  fMuonCphFraction=muon;
+  fOtherCphFraction=other;
+
 }
 
Index: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
===================================================================
--- trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx	(revision 1663)
+++ trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx	(revision 1717)
@@ -54,4 +54,13 @@
                             // from NSB
 
+  // Now follow the fraction of photons reaching the camera produced by
+  // electrons, muons and other particles respectively:
+
+  Float_t  fElecCphFraction;
+  Float_t  fMuonCphFraction;
+  Float_t  fOtherCphFraction;
+  
+
+
  public:
   MMcEvt() ;
@@ -61,5 +70,6 @@
 	  Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 
 	  Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 
-	  UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 
+	  UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
+	  Float_t, Float_t, Float_t) ; 
   
   ~MMcEvt(); 
@@ -71,5 +81,6 @@
 	     Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
 	     Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
-	     UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 
+	     UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
+	     Float_t, Float_t, Float_t) ; 
 
   //virtual void AsciiWrite(ofstream &fout) const;
@@ -132,7 +143,12 @@
 
 
-  ClassDef(MMcEvt, 2)  //Stores Montecarlo Information of one event (eg. the energy)
+  ClassDef(MMcEvt, 3)  //Stores Montecarlo Information of one event (eg. the energy)
 
 };
 
 #endif
+
+
+
+
+
