Ignore:
Timestamp:
05/11/07 11:25:46 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8434 r8490  
    773773    return kFALSE;
    774774
    775   const Float_t ped      = (*fPedestalsOut)[idx].GetPedestal();
    776   const Float_t rms      = (*fPedestalsOut)[idx].GetPedestalRms();
    777 
    778   const Float_t entsqr    =  TMath::Sqrt((Float_t)fPedestalsOut->GetTotalEntries());
     775  const MPedestalPix &ppix = (*fPedestalsOut)[idx];
     776
     777  const Float_t ped = ppix.GetPedestal();
     778  const Float_t rms = ppix.GetPedestalRms();
     779
     780  const Float_t entsqr =  TMath::Sqrt((Float_t)fPedestalsOut->GetNumSlices()*ppix.GetNumEvents());
    779781
    780782  const Float_t pederr   = rms/entsqr;
Note: See TracChangeset for help on using the changeset viewer.