Changeset 7364 for trunk/MagicSoft/Mars/msignal/MSignalCam.cc
- Timestamp:
- 09/22/05 14:06:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MSignalCam.cc
r7349 r7364 599 599 { 600 600 MSignalPix *pix = GetPixById(idx); 601 602 if ((!pix || !pix->IsPixelUsed()) && (type<6 || type==8)) 601 if (!pix) 602 return kFALSE; 603 604 // Used inlcudes status unampped 605 if (!pix->IsPixelUsed() && (type<6 || type==8)) 603 606 return kFALSE; 604 607 … … 625 628 break; 626 629 case 6: 630 if (pix->IsPixelUnmapped()) 631 return kFALSE; 627 632 val = pix->GetArrivalTime(); 628 633 break; 629 634 case 7: 630 if (pix-> GetNumPhotons()*ratio<15) // maybe 15 as static data member?635 if (pix->IsPixelUnmapped() || pix->GetNumPhotons()*ratio<15) // maybe 15 as static data member? 631 636 return kFALSE; 632 637 val = pix->GetArrivalTime();
Note:
See TracChangeset
for help on using the changeset viewer.