Index: trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 383)
+++ trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 384)
@@ -19,7 +19,7 @@
 //=
 //= $RCSfile: creadparam.cxx,v $
-//= $Revision: 1.2 $
-//= $Author: petry $ 
-//= $Date: 2000-02-18 17:45:43 $
+//= $Revision: 1.3 $
+//= $Author: blanch $ 
+//= $Date: 2000-03-24 18:14:05 $
 //=
 //=//////////////////////////////////////////////////////////////////////
@@ -88,4 +88,7 @@
 static int Read_Phe_All = FALSE;
 static int Write_All_Images = FALSE;
+static int Write_McEvt  = TRUE;
+static int Write_McTrig = FALSE;
+static int Write_RawEvt = FALSE;
 static int Write_All_Data = FALSE;
 static int Select_Energy = TRUE;
@@ -96,4 +99,6 @@
 static float fCorrection;
 static int Apply_Correction=FALSE;
+static int Trigger_Scan = FALSE;
+static int FADC_Scan = FALSE;
 //!@}
 
@@ -329,4 +334,25 @@
       break;
 
+    case nowrite_McEvt:    //@< do not write the McEvt info
+          
+      // change boolean value
+      Write_McEvt = FALSE;
+
+      break;
+
+    case write_McTrig:    //@< to write the McTrig info
+          
+      // change boolean value
+      Write_McTrig = TRUE;
+
+      break;
+
+    case write_RawEvt:    //@< to write the RawEvt data
+          
+      // change boolean value
+      Write_RawEvt = TRUE;
+
+      break;
+
     case write_all_data:      //@< to write single pixel data
           
@@ -360,4 +386,18 @@
       break;
 
+    case fadc_scan:
+
+      // change boolean value
+      FADC_Scan = TRUE;
+
+      break;
+
+    case trigger_scan:
+
+      // change boolean value
+      Trigger_Scan = TRUE;
+
+      break;
+
     case end_file:            //@< end of the parameters file
 
@@ -764,4 +804,57 @@
 //!@}
 
+//!-----------------------------------------------------------
+// @name write_McEvt
+//                                                
+// @desc write the McEvt class for each event to the .root file 
+//
+// @return  TRUE: we'll write it;  FALSE: we won't
+//
+//------------------------------------------------------------
+// @function 
+
+//!@{
+int
+get_write_McEvt(void)
+{
+  return ( Write_McEvt );
+}
+//!@}
+
+//!-----------------------------------------------------------
+// @name write_McTrig
+//                                                
+// @desc write the McTrig class for each event to the .root file 
+//
+// @return  TRUE: we'll write it;  FALSE: we won't
+//
+//------------------------------------------------------------
+// @function 
+ 
+//!@{
+int
+get_write_McTrig(void)
+{
+  return ( Write_McTrig );
+}
+//!@}
+
+//!-----------------------------------------------------------
+// @name write_RawEvt
+//                                                
+// @desc write the RawEvt class for each event to the .root file 
+//
+// @return  TRUE: we'll write it;  FALSE: we won't
+//
+//------------------------------------------------------------
+// @function 
+
+//!@{
+int
+get_write_RawEvt(void)
+{
+  return ( Write_RawEvt );
+}
+//!@}
 
 //!-----------------------------------------------------------
@@ -828,4 +921,40 @@
   return ( Apply_Correction );
 }
+
+//!@}
+//!-----------------------------------------------------------
+// @name FADC_Scan
+//                                                
+// @desc write the FADC_Scan class for each event to the .root file 
+//
+// @return  TRUE: we'll write it;  FALSE: we won't
+//
+//------------------------------------------------------------
+// @function 
+
+//!@{
+int
+get_FADC_Scan(void)
+{
+  return ( FADC_Scan );
+}
+//!@}
+//!@}
+//!-----------------------------------------------------------
+// @name Trigger_Scan
+//                                                
+// @desc write the Trigger_Scan class for each event to the .root file 
+//
+// @return  TRUE: we'll write it;  FALSE: we won't
+//
+//------------------------------------------------------------
+// @function 
+
+//!@{
+int
+get_Trigger_Scan(void)
+{
+  return ( Trigger_Scan );
+}
 //!@}
 
@@ -837,4 +966,12 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.2  2000/02/18 17:45:43  petry
+// This version belongs to camera.cxx 1.5.
+// It has been put in the repository in order to be
+// able to share the further development with others.
+//
+// If you need something working, wait or take an earlier one.
+// See file README
+//
 // Revision 1.1.1.1  1999/11/05 11:59:34  harald
 // This the starting point for CVS controlled further developments of the
