Changeset 4756 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 08/27/04 14:45:08 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r4722 r4756 37 37 #include <TStyle.h> // gStyle->SetOptStat 38 38 #include <TCanvas.h> // TCanvas::cd 39 #include <TSystem.h> // TSystem::BaseName 39 40 40 41 // … … 245 246 plist->AddToList(ccam); 246 247 247 fEvtLoop = new MEvtLoop;248 fEvtLoop->SetOwner();249 fEvtLoop->SetParList(plist);250 fEvtLoop->ReadEnv("mars.rc");251 252 248 MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw); 253 249 MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw); … … 391 387 // Now distribute Display to all tasks 392 388 // 393 tlist->SetDisplay(this); 389 fEvtLoop = new MEvtLoop(Form("Mars %s", gSystem->BaseName(fname))); 390 fEvtLoop->SetOwner(); 391 fEvtLoop->SetParList(plist); 392 fEvtLoop->SetDisplay(this); 393 fEvtLoop->ReadEnv("mars.rc"); 394 394 395 } 395 396
Note:
See TracChangeset
for help on using the changeset viewer.