Ignore:
Timestamp:
10/26/04 14:58:59 (20 years ago)
Author:
moralejo
Message:
Added option gain_fluctuations_off
File:
1 edited

Legend:

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

    r5274 r5317  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.32 $
     21//= $Revision: 1.33 $
    2222//= $Author: moralejo $
    23 //= $Date: 2004-10-14 16:53:49 $
     23//= $Date: 2004-10-26 13:58:59 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    118118static int   selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled!
    119119
     120static int   gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled
    120121
    121122// Coordinates of CT locations, in centimeters, in the Corsika system.
     
    622623      break;
    623624
     625    case gain_fluctuations_off:
     626
     627      gain_fluctuations = 0;
     628
     629      break;
     630
    624631    case end_file:            //@< end of the parameters file
    625632
     
    13991406}
    14001407
     1408int apply_gain_fluctuations()
     1409{
     1410  return gain_fluctuations;
     1411}
     1412 
    14011413
    14021414//=------------------------------------------------------------
     
    14061418//
    14071419// $Log: not supported by cvs2svn $
     1420// Revision 1.32  2004/10/14 16:53:49  moralejo
     1421//
     1422// Added option calibration_run
     1423//
    14081424// Revision 1.31  2004/10/13 17:05:05  moralejo
    14091425// *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.