Changeset 3668 for trunk


Ignore:
Timestamp:
04/06/04 13:59:39 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc

    r3667 r3668  
    1616!
    1717!
    18 !   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@uni-sw.gwdg.de>
    19 !             Markus Gaug   02/2004 <mailto:markus@ifae.es>
     18!   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@atsro.uni-wuerzburh.de>
     19!   Author(s): Markus Gaug   02/2004 <mailto:markus@ifae.es>
    2020!
    2121!   Copyright: MAGIC Software Development, 2000-2004
     
    2525
    2626/////////////////////////////////////////////////////////////////////////////
    27 //                                                                         //
    28 // MHPedestalCam                                                            //
    29 //                                                                         //
    30 // Fills the extracted pedestals of MExtractedSignalCam into 
     27//
     28// MHPedestalCam
     29//
     30// Fills the extracted pedestals of MExtractedSignalCam into
    3131// the MHGausEvents-classes MHPedestalPix for every:
    3232//
    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
    3535//   MArrivalTimePix::IsLoGainUsed() is set.
    3636//
    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
    3939//   MHCalibrationCam::fAverageHiGainAreas
    4040//
    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
    5050// event-by-event basis and written into the corresponding average pixels.
    5151//
    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%),
    5555// 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
    5757// +- 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
    5959// 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()):
    6666// - Mean Pedestal        / slice = Mean Pedestal        / Number slices
    6767// - Mean Pedestal Error  / slice = Mean Pedestal Error  / Number slices
    6868// - Sigma Pedestal       / slice = Sigma Pedestal       / Sqrt (Number slices)
    6969// - 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//
    7575// This same procedure is performed for the average pixels.
    7676//
     
    8484// - MCalibrationPix::SetNumPickup()
    8585//
    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
    8888// sigmas in the camera.
    8989//
Note: See TracChangeset for help on using the changeset viewer.