Changeset 2181 for trunk/MagicSoft/Mars/meventdisp
- Timestamp:
- 06/17/03 10:15:50 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r2173 r2181 540 540 { 541 541 MRawEvtData *raw = (MRawEvtData*)GetParList()->FindObject("MRawEvtData"); 542 542 543 if (!raw) 543 544 return; 545 546 const Int_t num = GetReader()->GetNumEntry(); 547 544 548 do 545 549 { 546 550 if (dir<0 && !GetReader()->DecEventNum()) 551 { 552 GetReader()->SetEventNum(num); 547 553 return; 554 } 548 555 if (dir>0 && !GetReader()->IncEventNum()) 556 { 557 GetReader()->SetEventNum(num); 549 558 return; 559 } 550 560 551 561 if (!GetTaskList()->Process()) … … 554 564 GetReader()->DecEventNum(); 555 565 556 } while (raw->GetNumPixels()<1 );566 } while (raw->GetNumPixels()<1 && dir!=0); 557 567 558 568 UpdateMcLabel();
Note:
See TracChangeset
for help on using the changeset viewer.