- Timestamp:
- 10/14/04 17:54:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx
r5269 r5274 19 19 //= 20 20 //= $RCSfile: creadparam.cxx,v $ 21 //= $Revision: 1.3 1$21 //= $Revision: 1.32 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-10-1 3 17:05:05$23 //= $Date: 2004-10-14 16:53:49 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 114 114 static float sigma_lambda = 0.; // Sigma of wavelength distribution for calibration. 115 115 static float phot_per_pix = 0.; // Average number of photons per inner pixel for calibration. 116 static float sigma_time = 0.; // Time spread (sigmaof gaussian) of calibration photons.116 static float fwhm_time = 0.; // Time spread (FWHM of gaussian) of calibration photons. 117 117 static int nevents = 0; // Number of events in calibration run. 118 118 static int selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled! … … 616 616 617 617 sscanf(line, "%s %f %f %f %f %i %i", token, &lambda, &sigma_lambda, &phot_per_pix, 618 & sigma_time, &nevents, &selected_pixel);618 &fwhm_time, &nevents, &selected_pixel); 619 619 620 620 CalibrationRun = 1; … … 1394 1394 *b = sigma_lambda; 1395 1395 *c = phot_per_pix; 1396 *d = sigma_time;1396 *d = fwhm_time / 2.35; // Convert from FWHM to sigma of gaussian 1397 1397 *e = nevents; 1398 1398 *f = selected_pixel; … … 1406 1406 // 1407 1407 // $Log: not supported by cvs2svn $ 1408 // Revision 1.31 2004/10/13 17:05:05 moralejo 1409 // *** empty log message *** 1410 // 1408 1411 // Revision 1.30 2004/10/12 13:32:02 moralejo 1409 1412 // *** empty log message ***
Note:
See TracChangeset
for help on using the changeset viewer.