Index: trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 640)
+++ trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx	(revision 641)
@@ -19,7 +19,7 @@
 //=
 //= $RCSfile: creadparam.cxx,v $
-//= $Revision: 1.7 $
+//= $Revision: 1.8 $
 //= $Author: magicsol $ 
-//= $Date: 2001-01-15 12:37:48 $
+//= $Date: 2001-02-23 10:55:43 $
 //=
 //=//////////////////////////////////////////////////////////////////////
@@ -78,4 +78,5 @@
 static float meanNSB;           //@< NSB mean value (per pixel)
 static float qThreshold;        //@< Threshold value
+static char NSB_directory[PATH_MAX_LENGTH];  //@< database for NSB
 static float qTailCut;          //@< Tail Cut value
 static int nIslandsCut;         //@< Islands Cut value
@@ -249,4 +250,11 @@
       break;
 
+    case nsb_directory:         //@< name of the output file
+          
+      // get the name of the output_file from the line
+      sscanf(line, "%s %s", token, NSB_directory);
+
+      break;
+
     case ana_pixels:          //@< number of pixels for analysis
           
@@ -571,4 +579,24 @@
 //!@}
 
+//!-----------------------------------------------------------
+// @name get_nsb_directory
+//                                                
+// @desc get name of the directory where the database for NSB is
+//
+// @return   Name of the NSB directory
+//
+// @date Tue Jan 30 12:07:56 MET 2001
+//------------------------------------------------------------
+// @function 
+
+//!@{
+char *
+get_nsb_directory(void)
+{
+  return (NSB_directory);
+}
+//!@}
+
+
 
 //!-----------------------------------------------------------
@@ -1062,4 +1090,8 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.7  2001/01/15 12:37:48  magicsol
+// It has been introduced the option to read from the input card the overlaping
+// time.
+//
 // Revision 1.6  2000/09/21 11:47:33  harald
 // Oscar found some smaller errors in the calculation of the pixel shape and
