- Timestamp:
- 04/06/04 13:59:39 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
r3667 r3668 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>19 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@atsro.uni-wuerzburh.de> 19 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2004 … … 25 25 26 26 ///////////////////////////////////////////////////////////////////////////// 27 // //28 // MHPedestalCam //29 // //30 // Fills the extracted pedestals of MExtractedSignalCam into 27 // 28 // MHPedestalCam 29 // 30 // Fills the extracted pedestals of MExtractedSignalCam into 31 31 // the MHGausEvents-classes MHPedestalPix for every: 32 32 // 33 // - Pixel, stored in the TObjArray's MHCalibrationCam::fHiGainArray 34 // or MHCalibrationCam::fHiGainArray, respectively, depending if 33 // - Pixel, stored in the TObjArray's MHCalibrationCam::fHiGainArray 34 // or MHCalibrationCam::fHiGainArray, respectively, depending if 35 35 // MArrivalTimePix::IsLoGainUsed() is set. 36 36 // 37 // - Average pixel per AREA index (e.g. inner and outer for the MAGIC camera), 38 // stored in the TObjArray's MHCalibrationCam::fAverageHiGainAreas and 37 // - Average pixel per AREA index (e.g. inner and outer for the MAGIC camera), 38 // stored in the TObjArray's MHCalibrationCam::fAverageHiGainAreas and 39 39 // MHCalibrationCam::fAverageHiGainAreas 40 40 // 41 // - Average pixel per camera SECTOR (e.g. sectors 1-6 for the MAGIC camera), 42 // stored in the TObjArray's MHCalibrationCam::fAverageHiGainSectors 43 // and MHCalibrationCam::fAverageHiGainSectors 44 // 45 // Every pedestal is directly taken from MExtractedSignalCam, filled by the 46 // appropriate extractor. 47 // 48 // The pedestals are filled into a histogram and an array, in order to perform 49 // a Fourier analysis (see MHGausEvents). The signals are moreover averaged on an 41 // - Average pixel per camera SECTOR (e.g. sectors 1-6 for the MAGIC camera), 42 // stored in the TObjArray's MHCalibrationCam::fAverageHiGainSectors 43 // and MHCalibrationCam::fAverageHiGainSectors 44 // 45 // Every pedestal is directly taken from MExtractedSignalCam, filled by the 46 // appropriate extractor. 47 // 48 // The pedestals are filled into a histogram and an array, in order to perform 49 // a Fourier analysis (see MHGausEvents). The signals are moreover averaged on an 50 50 // event-by-event basis and written into the corresponding average pixels. 51 51 // 52 // The histograms are fitted to a Gaussian, mean and sigma with its errors 53 // and the fit probability are extracted. If none of these values are NaN's and 54 // if the probability is bigger than MHGausEvents::fProbLimit (default: 0.5%), 52 // The histograms are fitted to a Gaussian, mean and sigma with its errors 53 // and the fit probability are extracted. If none of these values are NaN's and 54 // if the probability is bigger than MHGausEvents::fProbLimit (default: 0.5%), 55 55 // the fit is declared valid. 56 // Otherwise, the fit is repeated within ranges of the previous mean 56 // Otherwise, the fit is repeated within ranges of the previous mean 57 57 // +- MHGausEvents::fPickupLimit (default: 5) sigma (see MHGausEvents::RepeatFit()) 58 // In case this does not make the fit valid, the histogram means and RMS's are 58 // In case this does not make the fit valid, the histogram means and RMS's are 59 59 // taken directly (see MHGausEvents::BypassFit()). 60 // 61 // Outliers of more than MHGausEvents::fPickupLimit (default: 5) sigmas 62 // from the mean are counted as Pickup events (stored in MHGausEvents::fPickup) 63 // 64 // The number of summed FADC slices is taken to re-normalize 65 // the result to a pedestal per pixel with the formulas (see MHPedestalPix::Renorm()): 60 // 61 // Outliers of more than MHGausEvents::fPickupLimit (default: 5) sigmas 62 // from the mean are counted as Pickup events (stored in MHGausEvents::fPickup) 63 // 64 // The number of summed FADC slices is taken to re-normalize 65 // the result to a pedestal per pixel with the formulas (see MHPedestalPix::Renorm()): 66 66 // - Mean Pedestal / slice = Mean Pedestal / Number slices 67 67 // - Mean Pedestal Error / slice = Mean Pedestal Error / Number slices 68 68 // - Sigma Pedestal / slice = Sigma Pedestal / Sqrt (Number slices) 69 69 // - Sigma Pedestal Error / slice = Sigma Pedestal Error / Sqrt (Number slices) 70 // 71 // The class also fills arrays with the signal vs. event number, creates a fourier 72 // spectrum (see MHGausEvents::CreateFourierSpectrum()) and investigates if the 73 // projected fourier components follow an exponential distribution. 74 // 70 // 71 // The class also fills arrays with the signal vs. event number, creates a fourier 72 // spectrum (see MHGausEvents::CreateFourierSpectrum()) and investigates if the 73 // projected fourier components follow an exponential distribution. 74 // 75 75 // This same procedure is performed for the average pixels. 76 76 // … … 84 84 // - MCalibrationPix::SetNumPickup() 85 85 // 86 // For all averaged areas, the fitted sigma is multiplied with the square root of 87 // the number involved pixels in order to be able to compare it to the average of 86 // For all averaged areas, the fitted sigma is multiplied with the square root of 87 // the number involved pixels in order to be able to compare it to the average of 88 88 // sigmas in the camera. 89 89 //
Note:
See TracChangeset
for help on using the changeset viewer.