Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 5336)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 5341)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.80 $
+// $Revision: 1.81 $
 // $Author: moralejo $ 
-// $Date: 2004-10-26 19:21:05 $
+// $Date: 2004-11-04 22:00:51 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -462,6 +462,4 @@
   Float_t shphimax = 0.0;
   Float_t shphimin = 0.0;
-  Float_t telestheta = 0.0;
-  Float_t telesphi = 0.0;
   UInt_t corsika = 5200 ;
   Float_t maxpimpact = 0.0;
@@ -2727,4 +2725,7 @@
 	    McConfigRunHeader[ict]->SetMissPointingX(missP_x);
 	    McConfigRunHeader[ict]->SetMissPointingY(missP_y);
+
+	    McConfigRunHeader[ict]->SetMirrorFraction(mirror_frac[ict]);
+
 	    if ( Spotsigma > 0.)
 	    {
@@ -2759,5 +2760,5 @@
   } // end big while loop
 
-  //<@ Finally we should fill th McRunHeader
+  //<@ Finally we should fill the McRunHeader
 
   Float_t heights[10];
@@ -2769,6 +2770,4 @@
   get_starfield_center(&sfRaH,&sfRaM,&sfRaS,&sfDeD,&sfDeM,&sfDeS);
   if (reflector_file_version<6){
-    telestheta=-10.0;
-    telesphi=-10.0;
     mcevth[0].get_theta_range(&shthetamin, &shthetamax);
     mcevth[0].get_phi_range(&shphimin,&shphimax);
@@ -2781,6 +2780,4 @@
   }
   else{
-    telestheta=mcevth_2[0].get_theta_CT();
-    telesphi=mcevth_2[0].get_phi_CT();
     mcevth_2[0].get_theta_range(&shthetamin, &shthetamax);
     mcevth_2[0].get_phi_range(&shphimin,&shphimax);
@@ -2819,6 +2816,4 @@
 		    sfDeS,
 		    meanNSB,
-		    telestheta,
-		    telesphi,
 		    shthetamax,
 		    shthetamin,
@@ -2858,6 +2853,4 @@
 		    sfDeS,
 		    meanNSB,
-		    telestheta,
-		    telesphi,
 		    shthetamax,
 		    shthetamin,
@@ -4929,4 +4922,10 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.80  2004/10/26 19:21:05  moralejo
+//
+//  Added fFadcTimeJitter to root output, in container MMcEvt. Added
+//  also fGainFluctuations boolean flag to MMcFadcHeader, to keep track of
+//  whether PMT gain fluctuations are simulated or not.
+//
 // Revision 1.79  2004/10/26 14:02:32  moralejo
 //
