Ignore:
Timestamp:
11/17/04 11:38:28 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector/Camera
Files:
2 edited

Legend:

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

    r5317 r5418  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.33 $
     21//= $Revision: 1.34 $
    2222//= $Author: moralejo $
    23 //= $Date: 2004-10-26 13:58:59 $
     23//= $Date: 2004-11-17 11:36:07 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    118118static int   selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled!
    119119
    120 static int   gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled
     120static int   gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled for signal
     121static int   noise_gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled for NSB noise
    121122
    122123// Coordinates of CT locations, in centimeters, in the Corsika system.
     
    629630      break;
    630631
     632    case noise_gain_fluctuations_off:
     633
     634      noise_gain_fluctuations = 0;
     635
     636      break;
     637
    631638    case end_file:            //@< end of the parameters file
    632639
     
    14111418}
    14121419 
     1420int apply_noise_gain_fluctuations()
     1421{
     1422  return noise_gain_fluctuations;
     1423}
     1424 
    14131425
    14141426//=------------------------------------------------------------
     
    14181430//
    14191431// $Log: not supported by cvs2svn $
     1432// Revision 1.33  2004/10/26 13:58:59  moralejo
     1433//
     1434// Added option gain_fluctuations_off
     1435//
    14201436// Revision 1.32  2004/10/14 16:53:49  moralejo
    14211437//
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h

    r5317 r5418  
    1919//=
    2020//= $RCSfile: creadparam.h,v $
    21 //= $Revision: 1.29 $
     21//= $Revision: 1.30 $
    2222//= $Author: moralejo $
    23 //= $Date: 2004-10-26 13:58:59 $
     23//= $Date: 2004-11-17 11:36:07 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    116116T(mirror_fraction), /* Fraction of dish mirror really operative */ \
    117117T(calibration_run), /* option to produce a calibration file */ \
    118 T(gain_fluctuations_off), /* Switches off PMT gain fluctuations */ \
     118T(gain_fluctuations_off), /* Switches off PMT gain fluctuations for signal */ \
     119T(noise_gain_fluctuations_off), /* Switches off PMT gain fluctuations for NSB noise */ \
    119120T(end_file)         /* end of the parameters file */
    120121
     
    197198                                 float *sigma_time, int *nevents, int *selected_pixel);
    198199int   apply_gain_fluctuations();
     200int   apply_noise_gain_fluctuations();
    199201//!@}
    200202
     
    212214/*
    213215 * $Log: not supported by cvs2svn $
     216 * Revision 1.29  2004/10/26 13:58:59  moralejo
     217 *
     218 * Added option gain_fluctuations_off
     219 *
    214220 * Revision 1.28  2004/10/13 17:05:05  moralejo
    215221 * *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.