Changeset 7349 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 09/12/05 16:35:04 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r7130 r7349 137 137 // too high pedestal Rms with respect to the mean. 138 138 // 139 Bool_t MBadPixelsCalc::CheckPedestalRms(MBadPixelsPix::UnsuitableType_t type) const139 Int_t MBadPixelsCalc::CheckPedestalRms(MBadPixelsPix::UnsuitableType_t type) const 140 140 { 141 141 const Bool_t checklo = fPedestalLevelVarianceLo>0; … … 310 310 Int_t MBadPixelsCalc::Process() 311 311 { 312 return fCheckInProcess ? CheckPedestalRms(MBadPixelsPix::kUnsuitableEvt) : kTRUE; 312 if (!fCheckInProcess) 313 return kTRUE; 314 315 return CheckPedestalRms(MBadPixelsPix::kUnsuitableEvt) ? kTRUE : kERROR; 313 316 } 314 317 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r7117 r7349 441 441 for (unsigned int j=0; j<time.GetSize(); j++) 442 442 { 443 const Double_t t = (*fEvt)[j].GetArrivalTime(); 444 if (t>=0) 443 const Int_t nn = gpix.GetNeighbor(j); 444 445 const Double_t t = (*fEvt)[nn].GetArrivalTime(); 446 if (t>=0 && !IsPixelBad(nn)) 445 447 time[n0++] = t; 446 448 }
Note:
See TracChangeset
for help on using the changeset viewer.