Changeset 2181
- Timestamp:
- 06/17/03 10:15:50 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2180 r2181 1 1 -*-*- END OF LINE -*-*- 2 3 2003/06/17: Thomas Bretz 4 5 * meventdisp/MGEvtDisplay.cc: 6 - fixed a bug which caused a endlessloop 7 8 2 9 3 10 2003/06/16: Thomas Bretz -
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.