Changeset 4147 for trunk/MagicSoft


Ignore:
Timestamp:
05/24/04 16:22:42 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4145 r4147  
    3434     - small modification in the Print()
    3535
     36
     37   * mpedestals/MPedCalcPedRun.cc
     38     - put a condition if number of pixels in area index or in sector
     39       is zero, don't calculate av. pedestal and av. pedRMS of this part.
    3640
    3741 2004/05/22: Markus Gaug
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc

    r4013 r4147  
    307307      return kFALSE;
    308308    }
    309    
     309
    310310  fGeom   =  (MGeomCam*)pList->FindObject("MGeomCam");
    311311  if (!fGeom)
     
    346346{
    347347 
     348   
    348349  Int_t lastdesired   = (Int_t)fLoGainLast;
    349350  Int_t lastavailable = (Int_t)fRunHeader->GetNumSamplesLoGain()-1;
     
    586587     
    587588      const Int_t   napix = fAreaValid.At(aidx);
     589
     590      if (napix == 0)
     591        continue;
     592
    588593      const Float_t sum   = fAreaSumx.At(aidx);
    589594      const Float_t sum2  = fAreaSumx2.At(aidx);
     
    613618     
    614619      const Int_t   nspix = fSectorValid.At(sector);
     620
     621      if (nspix == 0)
     622        continue;
     623     
    615624      const Float_t sum   = fSectorSumx.At(sector);
    616625      const Float_t sum2  = fSectorSumx2.At(sector);
Note: See TracChangeset for help on using the changeset viewer.