Changeset 5307 for trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
- Timestamp:
- 10/22/04 15:59:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r5145 r5307 107 107 // Constructor. 108 108 // 109 MEventDisplay::MEventDisplay(const char *fname, const char *pname, const char *cname) : MStatusDisplay() 109 MEventDisplay::MEventDisplay(const char *fname, const char *pname, const char *cname) : MStatusDisplay(), fEvtLoop(0) 110 110 { 111 111 // … … 130 130 // Readin first event and display it 131 131 // 132 ReadFirstEvent(); 132 if (fEvtLoop) 133 ReadFirstEvent(); 133 134 134 135 SetNoContextMenu(kFALSE); … … 141 142 MEventDisplay::~MEventDisplay() 142 143 { 143 fEvtLoop->PostProcess(); 144 delete fEvtLoop; 144 if (fEvtLoop) 145 { 146 fEvtLoop->PostProcess(); 147 delete fEvtLoop; 148 } 145 149 } 146 150 … … 249 253 plist->AddToList(ccam); 250 254 255 //MArrivalTime *atime = new MArrivalTime; 256 //plist->AddToList(atime); 257 251 258 MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw); 252 259 MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw);
Note:
See TracChangeset
for help on using the changeset viewer.