Changeset 5317 for trunk/MagicSoft
- Timestamp:
- 10/26/04 14:58:59 (20 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/Camera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r5274 r5317 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.3 2$21 //= $Revision: 1.33 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-10- 14 16:53:49 $23 //= $Date: 2004-10-26 13:58:59 $ 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 121 121 122 // Coordinates of CT locations, in centimeters, in the Corsika system. … … 622 623 break; 623 624 625 case gain_fluctuations_off: 626 627 gain_fluctuations = 0; 628 629 break; 630 624 631 case end_file: //@< end of the parameters file 625 632 … … 1399 1406 } 1400 1407 1408 int apply_gain_fluctuations() 1409 { 1410 return gain_fluctuations; 1411 } 1412 1401 1413 1402 1414 //=------------------------------------------------------------ … … 1406 1418 // 1407 1419 // $Log: not supported by cvs2svn $ 1420 // Revision 1.32 2004/10/14 16:53:49 moralejo 1421 // 1422 // Added option calibration_run 1423 // 1408 1424 // Revision 1.31 2004/10/13 17:05:05 moralejo 1409 1425 // *** empty log message *** -
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h
r5269 r5317 19 19 //= 20 20 //= $RCSfile: creadparam.h,v $ 21 //= $Revision: 1.2 8$21 //= $Revision: 1.29 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-10- 13 17:05:05$23 //= $Date: 2004-10-26 13:58:59 $ 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 119 T(end_file) /* end of the parameters file */ 119 120 … … 195 196 void get_calibration_properties(float *lambda, float *sigma_lambda, float *phot_per_pix, 196 197 float *sigma_time, int *nevents, int *selected_pixel); 198 int apply_gain_fluctuations(); 197 199 //!@} 198 200 … … 210 212 /* 211 213 * $Log: not supported by cvs2svn $ 214 * Revision 1.28 2004/10/13 17:05:05 moralejo 215 * *** empty log message *** 216 * 212 217 * Revision 1.27 2004/10/12 13:32:02 moralejo 213 218 * *** empty log message ***
Note:
See TracChangeset
for help on using the changeset viewer.