Changeset 5418 for trunk/MagicSoft/Simulation/Detector/Camera
- Timestamp:
- 11/17/04 11:38:28 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/Camera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r5317 r5418 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.3 3$21 //= $Revision: 1.34 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-1 0-26 13:58:59$23 //= $Date: 2004-11-17 11:36:07 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 118 118 static int selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled! 119 119 120 static int gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled 120 static int gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled for signal 121 static int noise_gain_fluctuations = 1; // Is 0 if PMT gain fluctuations are disabled for NSB noise 121 122 122 123 // Coordinates of CT locations, in centimeters, in the Corsika system. … … 629 630 break; 630 631 632 case noise_gain_fluctuations_off: 633 634 noise_gain_fluctuations = 0; 635 636 break; 637 631 638 case end_file: //@< end of the parameters file 632 639 … … 1411 1418 } 1412 1419 1420 int apply_noise_gain_fluctuations() 1421 { 1422 return noise_gain_fluctuations; 1423 } 1424 1413 1425 1414 1426 //=------------------------------------------------------------ … … 1418 1430 // 1419 1431 // $Log: not supported by cvs2svn $ 1432 // Revision 1.33 2004/10/26 13:58:59 moralejo 1433 // 1434 // Added option gain_fluctuations_off 1435 // 1420 1436 // Revision 1.32 2004/10/14 16:53:49 moralejo 1421 1437 // -
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
r5317 r5418 19 19 //= 20 20 //= $RCSfile: creadparam.h,v $ 21 //= $Revision: 1. 29$21 //= $Revision: 1.30 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-1 0-26 13:58:59$23 //= $Date: 2004-11-17 11:36:07 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 116 116 T(mirror_fraction), /* Fraction of dish mirror really operative */ \ 117 117 T(calibration_run), /* option to produce a calibration file */ \ 118 T(gain_fluctuations_off), /* Switches off PMT gain fluctuations */ \ 118 T(gain_fluctuations_off), /* Switches off PMT gain fluctuations for signal */ \ 119 T(noise_gain_fluctuations_off), /* Switches off PMT gain fluctuations for NSB noise */ \ 119 120 T(end_file) /* end of the parameters file */ 120 121 … … 197 198 float *sigma_time, int *nevents, int *selected_pixel); 198 199 int apply_gain_fluctuations(); 200 int apply_noise_gain_fluctuations(); 199 201 //!@} 200 202 … … 212 214 /* 213 215 * $Log: not supported by cvs2svn $ 216 * Revision 1.29 2004/10/26 13:58:59 moralejo 217 * 218 * Added option gain_fluctuations_off 219 * 214 220 * Revision 1.28 2004/10/13 17:05:05 moralejo 215 221 * *** empty log message ***
Note:
See TracChangeset
for help on using the changeset viewer.