Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.h
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.h	(revision 1419)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.h	(revision 1420)
@@ -19,7 +19,7 @@
 //=
 //= $RCSfile: camera.h,v $
-//= $Revision: 1.7 $
+//= $Revision: 1.8 $
 //= $Author: blanch $ 
-//= $Date: 2002-03-15 16:06:53 $
+//= $Date: 2002-07-16 16:20:23 $
 //=
 //=//////////////////////////////////////////////////////////////////////
@@ -287,6 +287,7 @@
 		  int *incph,    // total number of cph read
 		  float *tmin_ns,   // minimum arrival time of all phes
-		  float *tmax_ns    // maximum arrival time of all phes
-		  );
+		  float *tmax_ns,    // maximum arrival time of all phes
+		  int star   //  0 if the photon provides the starfield -1 doesn't provide of the starfield
+                   ); 
 
 int produce_nsbrates( char *inname,
@@ -317,4 +318,7 @@
 /*
  *$Log: not supported by cvs2svn $
+ *Revision 1.7  2002/03/15 16:06:53  blanch
+ *Library time.h has been added.
+ *
  *Revision 1.6  2001/04/09 14:39:47  magicsol
  *Flag that indicates version of reflector format to read: REFL_VERSION has
Index: trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 1419)
+++ trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 1420)
@@ -19,7 +19,7 @@
 //=
 //= $RCSfile: creadparam.cxx,v $
-//= $Revision: 1.16 $
+//= $Revision: 1.17 $
 //= $Author: blanch $ 
-//= $Date: 2002-03-15 15:17:18 $
+//= $Date: 2002-07-16 16:20:41 $
 //=
 //=//////////////////////////////////////////////////////////////////////
@@ -77,4 +77,5 @@
 static char CT_filename[PATH_MAX_LENGTH];     //@< name of the CT def. file
 static char NSB_directory[PATH_MAX_LENGTH];   //@< database for NSB
+static int  Starfield_rotate = FALSE;         //@< switch on starfield rotation
 static int ElecNoise = TRUE;                  //@< Will we add ElecNoise?
 static float FADC_Noise = 2.0;                //@< Value for FADC ElecNoise
@@ -283,4 +284,12 @@
       break;
 
+    case sfr_on:              //@< simulate starfield rotation?
+          
+      // we will simulate Starfield rotation
+      Starfield_rotate = TRUE;
+          
+      break;
+
+
     case nsb_on:              //@< simulate NSB?
           
@@ -634,6 +643,23 @@
     *ds=Starfield_center[5];
 }
-//!@}
-
+//!-----------------------------------------------------------
+// @name get_starfield_rotate
+//
+// @Starfield_rotate
+//
+// @return   
+//
+//------------------------------------------------------------
+// @function
+
+//!@{
+int  
+get_starfield_rotate(void)
+{
+    return(Starfield_rotate);
+}
+
+
+//!@}
 //!-----------------------------------------------------------
 // @name get_data_filename
@@ -1346,4 +1372,7 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.16  2002/03/15 15:17:18  blanch
+// Several modification needed to simulate the actual trigger zone.
+//
 // Revision 1.15  2002/03/04 17:15:51  blanch
 // An item, which allows to switch off the storage of the RawEvt, has been
Index: trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h	(revision 1419)
+++ trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h	(revision 1420)
@@ -19,7 +19,7 @@
 //=
 //= $RCSfile: creadparam.h,v $
-//= $Revision: 1.14 $
+//= $Revision: 1.15 $
 //= $Author: blanch $ 
-//= $Date: 2002-03-15 15:17:57 $
+//= $Date: 2002-07-16 16:20:59 $
 //=
 //=//////////////////////////////////////////////////////////////////////
@@ -158,4 +158,5 @@
 T(fadc_noise),      /* ElecNoise for FADC */\
 T(trig_noise),      /* ElecNoise for trigger */\
+T(sfr_on),          /* starfield rotation */  \
 T(nsb_on),          /* activates NSB simulation */ \
 T(nsb_off),         /* de-activates NSB simulation */ \
@@ -232,4 +233,5 @@
 char *get_starfield_filename(void);
 void get_starfield_center(int *rh,int *rm,int *rs,int *dd,int *dm,int *ds);
+int get_starfield_rotate(void);
 char *get_data_filename(void);
 char *get_root_filename(void);
@@ -285,4 +287,7 @@
 /*
  * $Log: not supported by cvs2svn $
+ * Revision 1.14  2002/03/15 15:17:57  blanch
+ * Header file for creadparam.cxx v 1.16
+ *
  * Revision 1.13  2002/03/04 17:20:50  blanch
  * Header file for creadparam.cxx 1.15
