Changeset 2977


Ignore:
Timestamp:
01/30/04 10:34:59 (21 years ago)
Author:
blanch
Message:
Change in variables name to clarify the meaning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/StarResponse/srreadparam.cxx

    r682 r2977  
    1919//=
    2020//= $RCSfile: srreadparam.cxx,v $
    21 //= $Revision: 1.2 $
     21//= $Revision: 1.3 $
    2222//= $Author: blanch $
    23 //= $Date: 2001-03-05 11:01:44 $
     23//= $Date: 2004-01-30 10:34:59 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    7373static float Simulated_Phe_p = 0.1;          //@< precision for phe loop
    7474static float FADC_Shape=0.0;
    75 static float FADC_Ampl=MFADC_RESPONSE_AMPLITUDE;
     75static float FADC_Integ=MFADC_RESPONSE_INTEGRAL;
    7676static float FADC_FWHM=MFADC_RESPONSE_FWHM;
    7777static float Trig_Shape=0.0;
     
    162162    case fadc_properties:       //@< shape of fadc response
    163163         
    164       sscanf(line, "%s %f %f %f", token, &FADC_Shape, &FADC_Ampl,
     164      sscanf(line, "%s %f %f %f", token, &FADC_Shape, &FADC_Integ,
    165165             &FADC_FWHM);
    166166
     
    271271//!@{
    272272void
    273 get_fadc_properties(float *shape, float *ampl, float *fwhm)
     273get_fadc_properties(float *shape, float *integ, float *fwhm)
    274274{
    275275  *shape =  FADC_Shape;
    276   *ampl =  FADC_Ampl;
     276  *integ =  FADC_Integ;
    277277  *fwhm =  FADC_FWHM;
    278278}
     
    304304//
    305305// $Log: not supported by cvs2svn $
     306// Revision 1.2  2001/03/05 11:01:44  blanch
     307// Commads to enter the FADC and trigger properties have been added.
     308// There is also a new command that allows to writte the root files or not
     309//
    306310// Revision 1.1  2001/02/23 10:13:44  magicsol
    307311// It read form an input card (defeult=starresponse.par) the parameters that
Note: See TracChangeset for help on using the changeset viewer.