Ignore:
Timestamp:
02/07/09 20:48:57 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9219 r9303  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.66 2009-01-14 12:31:36 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.67 2009-02-07 20:47:44 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    5555//
    5656#include "MGList.h"              // MGList
     57#include "MString.h"
    5758
    5859#include "MLog.h"
     
    442443    // create gui elements
    443444    //
    444     TGLabel *file = new TGLabel(top1, new TGString(Form("%s#%s", filename, treename)));
     445    TGLabel *file = new TGLabel(top1, new TGString(MString::Format("%s#%s", filename, treename)));
    445446    fList->Add(file);
    446447
     
    657658    //
    658659    *fLog << all;
    659     fLog->Separator(Form("Entry %d", reader->GetNumEntry()+1));
     660    fLog->Separator(MString::Format("Entry %d", reader->GetNumEntry()+1));
    660661    ((MHillas*)     plist->FindObject("MHillas"))->Print(*geom);
    661662    ((MHillasExt*)  plist->FindObject("MHillasExt"))->Print(*geom);
     
    673674
    674675    TGTextEntry *entry = (TGTextEntry*)fList->FindWidget(kEvtNumber);
    675     entry->SetText(Form("%d", reader->GetNumEntry()+1));
     676    entry->SetText(MString::Format("%d", reader->GetNumEntry()+1));
    676677}
    677678
     
    757758
    758759    MReadTree *reader = (MReadTree*)fEvtLoop->FindTask("MRead");
    759     TGString *txt = new TGString(Form("of %d", reader->GetEntries()));
     760    TGString *txt = new TGString(MString::Format("of %d", reader->GetEntries()));
    760761    fNumOfEvts->SetText(txt);
    761762
     
    838839                if (!o)
    839840                    break;
    840                 fCanvas->SetName(Form("%p;%p;PixelContent", o->GetHist(), c->GetPad(1)->GetPad(1)));
     841                fCanvas->SetName(MString::Format("%p;%p;PixelContent", o->GetHist(), c->GetPad(1)->GetPad(1)));
    841842            }
    842843            break;
Note: See TracChangeset for help on using the changeset viewer.