Changeset 2977 for trunk/MagicSoft/Simulation/Detector
- Timestamp:
- 01/30/04 10:34:59 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/StarResponse/srreadparam.cxx
r682 r2977 19 19 //= 20 20 //= $RCSfile: srreadparam.cxx,v $ 21 //= $Revision: 1. 2$21 //= $Revision: 1.3 $ 22 22 //= $Author: blanch $ 23 //= $Date: 200 1-03-05 11:01:44$23 //= $Date: 2004-01-30 10:34:59 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 73 73 static float Simulated_Phe_p = 0.1; //@< precision for phe loop 74 74 static float FADC_Shape=0.0; 75 static float FADC_ Ampl=MFADC_RESPONSE_AMPLITUDE;75 static float FADC_Integ=MFADC_RESPONSE_INTEGRAL; 76 76 static float FADC_FWHM=MFADC_RESPONSE_FWHM; 77 77 static float Trig_Shape=0.0; … … 162 162 case fadc_properties: //@< shape of fadc response 163 163 164 sscanf(line, "%s %f %f %f", token, &FADC_Shape, &FADC_ Ampl,164 sscanf(line, "%s %f %f %f", token, &FADC_Shape, &FADC_Integ, 165 165 &FADC_FWHM); 166 166 … … 271 271 //!@{ 272 272 void 273 get_fadc_properties(float *shape, float * ampl, float *fwhm)273 get_fadc_properties(float *shape, float *integ, float *fwhm) 274 274 { 275 275 *shape = FADC_Shape; 276 * ampl = FADC_Ampl;276 *integ = FADC_Integ; 277 277 *fwhm = FADC_FWHM; 278 278 } … … 304 304 // 305 305 // $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 // 306 310 // Revision 1.1 2001/02/23 10:13:44 magicsol 307 311 // It read form an input card (defeult=starresponse.par) the parameters that
Note:
See TracChangeset
for help on using the changeset viewer.