Changeset 1713


Ignore:
Timestamp:
01/17/03 14:52:42 (22 years ago)
Author:
rwagner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1712 r1713  
    11
    22                                                         -*-*- END -*-*-
     3 2003/01/17: Robert Wagner
     4    * manalysis/MApplyPadding.cc
     5      - bugfix: Effective number of used pixels taken from
     6        MCerPhotEvt container, not from MPedestalCam
    37
    48 2003/01/16: Wolfgang Wittek
  • 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.