Ignore:
Timestamp:
10/14/04 17:54:02 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5269 r5274  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.31 $
     21//= $Revision: 1.32 $
    2222//= $Author: moralejo $
    23 //= $Date: 2004-10-13 17:05:05 $
     23//= $Date: 2004-10-14 16:53:49 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    114114static float sigma_lambda = 0.;   // Sigma of wavelength distribution for calibration.
    115115static float phot_per_pix = 0.;   // Average number of photons per inner pixel for calibration.
    116 static float sigma_time = 0.;     // Time spread (sigma of gaussian) of calibration photons.
     116static float fwhm_time = 0.;      // Time spread (FWHM of gaussian) of calibration photons.
    117117static int   nevents = 0;         // Number of events in calibration run.
    118118static int   selected_pixel = -1; // Selected pixel: if >= 0 ==> only this pixel is filled!
     
    616616
    617617      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);
    619619     
    620620      CalibrationRun = 1;
     
    13941394  *b = sigma_lambda;
    13951395  *c = phot_per_pix;
    1396   *d = sigma_time;
     1396  *d = fwhm_time / 2.35;  // Convert from FWHM to sigma of gaussian
    13971397  *e = nevents;
    13981398  *f = selected_pixel;
     
    14061406//
    14071407// $Log: not supported by cvs2svn $
     1408// Revision 1.31  2004/10/13 17:05:05  moralejo
     1409// *** empty log message ***
     1410//
    14081411// Revision 1.30  2004/10/12 13:32:02  moralejo
    14091412// *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.