Changeset 991 for trunk/MagicSoft/Mars/meventdisp
- Timestamp:
- 10/26/01 10:11:30 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/meventdisp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r961 r991 117 117 plist->AddToList(pedest); 118 118 119 fEvtLoop->PreProcess(); 120 GetTaskList()->Process(); 119 fInitOk = fEvtLoop->PreProcess(); 120 121 if (fInitOk) 122 GetTaskList()->Process(); 121 123 122 124 return geom; … … 177 179 void MGCamDisplay::UpdateDisplay() 178 180 { 179 if (!f Display)181 if (!fInitOk) 180 182 return; 181 183 -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r961 r991 333 333 const TGWindow *p, const TGWindow *main, 334 334 UInt_t w, UInt_t h) 335 : TGTransientFrame(p, main, w, h) 335 : TGTransientFrame(p, main, w, h), fInitOk(kFALSE) 336 336 { 337 337 // … … 398 398 void MGEvtDisplay::ReadinEvent(UInt_t iEvt) 399 399 { 400 if (!fInitOk) 401 return; 402 400 403 Int_t buttons = 4; 401 404 Int_t retval = 0; -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.h
r961 r991 51 51 TGVerticalFrame *fMidFrame; 52 52 53 Bool_t fInitOk; 54 53 55 MParList *GetParList() const; 54 56 MTaskList *GetTaskList() const; -
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc
r961 r991 125 125 // preprocess eventloop and read in first event (process) 126 126 // 127 fEvtLoop->PreProcess(); 128 GetTaskList()->Process(); 127 fInitOk = fEvtLoop->PreProcess(); 128 129 if (fInitOk) 130 GetTaskList()->Process(); 129 131 130 132 // … … 168 170 { 169 171 MRawEvtData *data = GetEvent(); 172 173 if (!data) 174 return; 170 175 171 176 MRawEvtPixelIter pixel(data); … … 215 220 void MGFadcDisp::UpdateDisplay() 216 221 { 222 if (!fInitOk) 223 return; 224 217 225 const Int_t lastsel = fPixelList->GetSelected(); 218 226
Note:
See TracChangeset
for help on using the changeset viewer.