Ignore:
Timestamp:
08/27/04 14:45:08 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4722 r4756  
    3737#include <TStyle.h>              // gStyle->SetOptStat
    3838#include <TCanvas.h>             // TCanvas::cd
     39#include <TSystem.h>             // TSystem::BaseName
    3940
    4041//
     
    245246        plist->AddToList(ccam);
    246247
    247     fEvtLoop = new MEvtLoop;
    248     fEvtLoop->SetOwner();
    249     fEvtLoop->SetParList(plist);
    250     fEvtLoop->ReadEnv("mars.rc");
    251 
    252248    MHEvent *evt01 = new MHEvent(MHEvent::kEvtSignalRaw);
    253249    MHEvent *evt02 = new MHEvent(MHEvent::kEvtSignalRaw);
     
    391387    // Now distribute Display to all tasks
    392388    //
    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
    394395}
    395396
Note: See TracChangeset for help on using the changeset viewer.