Changeset 3281 for trunk/MagicSoft/Mars
- Timestamp:
- 02/24/04 19:43:48 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrate.cc
r3279 r3281 18 18 ! Author(s): Javier Lopez 12/2003 <mailto:jlopez@ifae.es> 19 19 ! Author(s): Javier Rico 01/2004 <mailto:jrico@ifae.es> 20 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 20 21 ! 21 22 ! Copyright: MAGIC Software Development, 2000-2004 … … 29 30 // 30 31 // This task takes the integrated charge from MExtractedSignal and apply 31 // the calibration constants from MCalibraitionCam to the charge. Then 32 // stores number of photons obtained in MCerPhotEvt. Selection of different 33 // calibration methods is allowed through SetCalibrationMode member function 32 // the calibration constants from MCalibraitionCam to convert the summed FADC 33 // slices to photons. The number of photons obtained is stored in MCerPhotEvt. 34 // 35 // Selection of different calibration methods is possible through the 36 // SetCalibrationMode member function 37 // 38 // The calibration modes which exclude non-valid pixels are the following: 39 // 40 // kFfactor: calibrates using the F-Factor method 41 // kBlindpixel: calibrates using the BlindPixel method 42 // kBlindpixel: calibrates using the BlindPixel method 43 // kDummy: calibrates with fixed conversion factors of 1 and errors of 0. 44 // 45 // The calibration modes which include all pixels regardless of their validity is: 46 // 47 // kNone: calibrates with fixed conversion factors of 1 and errors of 0. 48 // 49 // Use the kDummy and kNone methods ONLY FOR DEBUGGING! 34 50 // 35 51 // Input Containers: … … 191 207 for (UInt_t pixidx=0; pixidx<npix; pixidx++) 192 208 { 209 193 210 if(fCalibrationMode!=kNone) 194 211 { … … 237 254 break; 238 255 case kDummy: 239 hiloconv = 1.;256 hiloconv = 1.; 240 257 hiloconverr = 0.; 241 258 calibrationConversionFactor = 1.; … … 249 266 250 267 } /* if(fCalibrationMode!=kNone) */ 251 268 else 269 { 270 hiloconv = 1.; 271 hiloconverr = 0.; 272 calibrationConversionFactor = 1.; 273 calibrationConversionFactorErr = 0.; 274 } 252 275 MExtractedSignalPix &sig = (*fSignals)[pixidx]; 253 276
Note:
See TracChangeset
for help on using the changeset viewer.