Changeset 7364 for trunk/MagicSoft/Mars
- Timestamp:
- 09/22/05 14:06:38 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReportStarguider.cc
r7202 r7364 129 129 str = str.Strip(TString::kBoth); 130 130 131 if (ver >= 200508290) 132 { 133 // For the momment this are only placeholders.... 134 Float_t dx, dy; 135 n=sscanf(str.Data(), "%f %f %n", &dx, &dy, &len); 136 if (n!=2) 137 { 138 *fLog << warn << "WARNING - Not enough arguments." << endl; 139 return kCONTINUE; 140 } 141 142 str.Remove(0, len); 143 str = str.Strip(TString::kBoth); 144 } 145 131 146 return str.IsNull() ? kTRUE : kCONTINUE; 147 132 148 } 133 149 -
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.