Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 684)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 685)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.18 $
-// $Author: blanch $ 
-// $Date: 2001-03-05 10:36:52 $
+// $Revision: 1.19 $
+// $Author: magicsol $ 
+// $Date: 2001-03-05 11:14:41 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -715,4 +715,9 @@
   fadcValues =  new TArrayC(FADC_SLICES);
 
+  // number of pixels for parameters
+    
+  anaPixels = get_ana_pixels();
+  anaPixels = (anaPixels == -1) ? ct_NPixels : anaPixels;
+
   // initialise ROOT
 
@@ -995,9 +1000,4 @@
   if ( ! get_correction( &fCorrection ) )
     fCorrection = 1.0;
-
-  // number of pixels for parameters
-    
-  anaPixels = get_ana_pixels();
-  anaPixels = (anaPixels == -1) ? ct_NPixels : anaPixels;
 
   // prepare the NSB simulation
@@ -3215,4 +3215,10 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.18  2001/03/05 10:36:52  blanch
+// A branch with information about the FADC simulation (MMcFadcHeader) is writen
+// in the McHeaders tree of the aoutput root file.
+// The NSB contribution is only applied if the the number of phe form the shower
+// are above a given number.
+//
 // Revision 1.17  2001/02/23 11:05:57  magicsol
 // Small changes due to slightly different output format and the introduction of
@@ -3245,4 +3251,10 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.18  2001/03/05 10:36:52  blanch
+// A branch with information about the FADC simulation (MMcFadcHeader) is writen
+// in the McHeaders tree of the aoutput root file.
+// The NSB contribution is only applied if the the number of phe form the shower
+// are above a given number.
+//
 // Revision 1.17  2001/02/23 11:05:57  magicsol
 // Small changes due to slightly different output format and the introduction of
