Changeset 4905 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 09/09/04 17:43:22 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
r4317 r4905 29 29 // 30 30 // Fills the extracted pedestals of MExtractedSignalCam into 31 // the MH GausEvents-classes MHPedestalPix for every:31 // the MHCalibrationPix-classes MHPedestalPix for every: 32 32 // 33 33 // - Pixel, stored in the TObjArray's MHCalibrationCam::fHiGainArray … … 55 55 // the fit is declared valid. 56 56 // Otherwise, the fit is repeated within ranges of the previous mean 57 // +- MH GausEvents::fPickupLimit (default: 5) sigma (see MHGausEvents::RepeatFit())57 // +- MHCalibrationPix::fPickupLimit (default: 5) sigma (see MHCalibrationPix::RepeatFit()) 58 58 // In case this does not make the fit valid, the histogram means and RMS's are 59 // taken directly (see MH GausEvents::BypassFit()).60 // 61 // Outliers of more than MH GausEvents::fPickupLimit (default: 5) sigmas62 // from the mean are counted as Pickup events (stored in MH GausEvents::fPickup)59 // taken directly (see MHCalibrationPix::BypassFit()). 60 // 61 // Outliers of more than MHCalibrationPix::fPickupLimit (default: 5) sigmas 62 // from the mean are counted as Pickup events (stored in MHCalibrationPix::fPickup) 63 63 // 64 64 // The number of summed FADC slices is taken to re-normalize … … 341 341 // 342 342 // If MBadPixelsPix::IsBad(): 343 // - calls MH GausEvents::SetExcluded()343 // - calls MHCalibrationPix::SetExcluded() 344 344 // 345 345 // Calls: 346 346 // - MHGausEvents::InitBins() 347 // - MH GausEvents::ChangeHistId(i)348 // - MH GausEvents::SetEventFrequency(fPulserFrequency)347 // - MHCalibrationPix::ChangeHistId(i) 348 // - MHCalibrationPix::SetEventFrequency(fPulserFrequency) 349 349 // - MHPedestalPix::SetNSlices(nslices) 350 350 // … … 401 401 for (UInt_t i=0; i<npixels; i++) 402 402 { 403 MH GausEvents&histhi = (*this)[i];404 MH GausEvents&histlo = (*this)(i);403 MHCalibrationPix &histhi = (*this)[i]; 404 MHCalibrationPix &histlo = (*this)(i); 405 405 406 406 if (histhi.IsExcluded()) … … 431 431 for (UInt_t j=0; j<nareas; j++) 432 432 { 433 MH GausEvents&histhi = GetAverageHiGainArea(j);433 MHCalibrationPix &histhi = GetAverageHiGainArea(j); 434 434 histhi.FillHistAndArray(numareahi[j] == 0 ? 0. : sumareahi[j]/numareahi[j]); 435 435 436 MH GausEvents&histlo = GetAverageLoGainArea(j);436 MHCalibrationPix &histlo = GetAverageLoGainArea(j); 437 437 histlo.FillHistAndArray(numarealo[j] == 0 ? 0. : sumarealo[j]/numarealo[j]); 438 438 } … … 440 440 for (UInt_t j=0; j<nsectors; j++) 441 441 { 442 MH GausEvents&histhi = GetAverageHiGainSector(j);442 MHCalibrationPix &histhi = GetAverageHiGainSector(j); 443 443 histhi.FillHistAndArray(numsectorhi[j] == 0 ? 0. : sumsectorhi[j]/numsectorhi[j]); 444 444 445 MH GausEvents&histlo = GetAverageLoGainSector(j);445 MHCalibrationPix &histlo = GetAverageLoGainSector(j); 446 446 histlo.FillHistAndArray(numsectorlo[j] == 0 ? 0. : sumsectorlo[j]/numsectorlo[j]); 447 447 } -
trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc
r4317 r4905 36 36 // - Sigma Pedestal Error / slice = Sigma Pedestal Error / Sqrt (Number slices) 37 37 // 38 // Derives from MH GausEvents, fits the pedestals to a Gaussian and performs38 // Derives from MHCalibrationPix, fits the pedestals to a Gaussian and performs 39 39 // a Fourier analysis. 40 40 //
Note:
See TracChangeset
for help on using the changeset viewer.