Ignore:
Timestamp:
10/22/04 15:59:02 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r5145 r5307  
    107107//  Constructor.
    108108//
    109 MEventDisplay::MEventDisplay(const char *fname, const char *pname, const char *cname) : MStatusDisplay()
     109MEventDisplay::MEventDisplay(const char *fname, const char *pname, const char *cname) : MStatusDisplay(), fEvtLoop(0)
    110110{
    111111    //
     
    130130    // Readin first event and display it
    131131    //
    132     ReadFirstEvent();
     132    if (fEvtLoop)
     133        ReadFirstEvent();
    133134
    134135    SetNoContextMenu(kFALSE);
     
    141142MEventDisplay::~MEventDisplay()
    142143{
    143     fEvtLoop->PostProcess();
    144     delete fEvtLoop;
     144    if (fEvtLoop)
     145    {
     146        fEvtLoop->PostProcess();
     147        delete fEvtLoop;
     148    }
    145149}
    146150
     
    249253        plist->AddToList(ccam);
    250254
     255    //MArrivalTime *atime = new MArrivalTime;
     256    //plist->AddToList(atime);
     257
    251258    MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw);
    252259    MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw);
Note: See TracChangeset for help on using the changeset viewer.