Changeset 641


Ignore:
Timestamp:
02/23/01 10:55:43 (24 years ago)
Author:
magicsol
Message:
An input commmand that talls the path for the NSB database has been added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r504 r641  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.7 $
     21//= $Revision: 1.8 $
    2222//= $Author: magicsol $
    23 //= $Date: 2001-01-15 12:37:48 $
     23//= $Date: 2001-02-23 10:55:43 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    7878static float meanNSB;           //@< NSB mean value (per pixel)
    7979static float qThreshold;        //@< Threshold value
     80static char NSB_directory[PATH_MAX_LENGTH];  //@< database for NSB
    8081static float qTailCut;          //@< Tail Cut value
    8182static int nIslandsCut;         //@< Islands Cut value
     
    249250      break;
    250251
     252    case nsb_directory:         //@< name of the output file
     253         
     254      // get the name of the output_file from the line
     255      sscanf(line, "%s %s", token, NSB_directory);
     256
     257      break;
     258
    251259    case ana_pixels:          //@< number of pixels for analysis
    252260         
     
    571579//!@}
    572580
     581//!-----------------------------------------------------------
     582// @name get_nsb_directory
     583//                                               
     584// @desc get name of the directory where the database for NSB is
     585//
     586// @return   Name of the NSB directory
     587//
     588// @date Tue Jan 30 12:07:56 MET 2001
     589//------------------------------------------------------------
     590// @function
     591
     592//!@{
     593char *
     594get_nsb_directory(void)
     595{
     596  return (NSB_directory);
     597}
     598//!@}
     599
     600
    573601
    574602//!-----------------------------------------------------------
     
    10621090//
    10631091// $Log: not supported by cvs2svn $
     1092// Revision 1.7  2001/01/15 12:37:48  magicsol
     1093// It has been introduced the option to read from the input card the overlaping
     1094// time.
     1095//
    10641096// Revision 1.6  2000/09/21 11:47:33  harald
    10651097// Oscar found some smaller errors in the calculation of the pixel shape and
Note: See TracChangeset for help on using the changeset viewer.