Ignore:
Timestamp:
01/17/03 14:52:42 (22 years ago)
Author:
rwagner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1682 r1713  
    253253   newPed.InitSize(fPed->GetSize());
    254254
    255    const UInt_t npix = fPed->GetSize(); // Total number of pixels
     255   //   const UInt_t npix = fPed->GetSize();
     256   const UInt_t npix = fEvt->GetNumPixels(); // Total number of pixels
     257
    256258   for (UInt_t i=0; i<npix; i++) {
    257      MCerPhotPix pix = fEvt->operator[](i);
     259     MCerPhotPix pix = fEvt->operator[](i);     
    258260     if (!pix.IsPixelUsed())
    259261       continue;
     
    266268     Double_t error = pix.GetErrorPhot();
    267269     pix.SetErrorPhot(sqrt(error*error + quadraticDiff));
    268      
    269270     MPedestalPix ppix = fPed->operator[](i);
    270271     MPedestalPix npix;
Note: See TracChangeset for help on using the changeset viewer.