- Timestamp:
- 10/12/04 14:43:18 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/StarResponse/srreadparam.cxx
r5099 r5248 19 19 //= 20 20 //= $RCSfile: srreadparam.cxx,v $ 21 //= $Revision: 1. 5$21 //= $Revision: 1.6 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004- 09-17 13:51:02$23 //= $Date: 2004-10-12 13:41:09 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 75 75 static float Simulated_Phe_p = 0.1; //@< precision for phe loop 76 76 static int FADC_Shape=0; 77 static float FADC_Integ=MFADC_RESPONSE_INTEGRAL; 78 static float FADC_FWHM=MFADC_RESPONSE_FWHM; 79 static int Trig_Shape=0; 80 static float Trig_Ampl=1.0; 81 static float Trig_FWHM=2.0; 82 static int Write_Root=0; 77 static float FADC_Integ = MFADC_RESPONSE_INTEGRAL; 78 static float FADC_FWHM = MFADC_RESPONSE_FWHM; 79 static float FADC_slices_per_ns = FADC_SLICES_PER_NSEC; 80 static int Trig_Shape = 0; 81 static float Trig_Ampl = 1.0; 82 static float Trig_FWHM = 2.0; 83 static int Write_Root = 0; 83 84 //!@} 84 85 … … 169 170 break; 170 171 172 case fadc_GHz: // Get FADC sampling frequency in GHz 173 174 sscanf(line, "%s %f", token, &FADC_slices_per_ns); 175 176 break; 177 171 178 case write_root: //@< Write histogram 172 179 … … 273 280 //!@{ 274 281 void 275 get_fadc_properties(int *shape, float *integ, float *fwhm )282 get_fadc_properties(int *shape, float *integ, float *fwhm, float *fadc_spns) 276 283 { 277 284 *shape = FADC_Shape; 278 285 *integ = FADC_Integ; 279 *fwhm = FADC_FWHM; 286 *fwhm = FADC_FWHM; 287 *fadc_spns = FADC_slices_per_ns; 280 288 } 281 289 //!@} … … 306 314 // 307 315 // $Log: not supported by cvs2svn $ 316 // Revision 1.5 2004/09/17 13:51:02 moralejo 317 // 318 // Adapted headers to current c++ style, removed -Wno-deprecated from 319 // compilation options. 320 // 308 321 // Revision 1.4 2004/09/16 16:20:13 moralejo 309 322 // *** empty log message ***
Note:
See TracChangeset
for help on using the changeset viewer.