Ignore:
Timestamp:
06/17/03 10:15:50 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc

    r2173 r2181  
    540540{
    541541    MRawEvtData *raw = (MRawEvtData*)GetParList()->FindObject("MRawEvtData");
     542
    542543    if (!raw)
    543544        return;
     545
     546    const Int_t num = GetReader()->GetNumEntry();
     547
    544548    do
    545549    {
    546550        if (dir<0 && !GetReader()->DecEventNum())
     551        {
     552            GetReader()->SetEventNum(num);
    547553            return;
     554        }
    548555        if (dir>0 && !GetReader()->IncEventNum())
     556        {
     557            GetReader()->SetEventNum(num);
    549558            return;
     559        }
    550560
    551561        if (!GetTaskList()->Process())
     
    554564        GetReader()->DecEventNum();
    555565
    556     } while (raw->GetNumPixels()<1);
     566    } while (raw->GetNumPixels()<1 && dir!=0);
    557567
    558568    UpdateMcLabel();
Note: See TracChangeset for help on using the changeset viewer.