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/mreflector/MHReflector.cc

    r9278 r9303  
    226226    for (int i=1; i<=fHistRad.GetNbinsX(); i++)
    227227    {
    228         h = fHistRad.ProjectionY(Form("ProjRad%d", i), i, i, "e");
     228        h = fHistRad.ProjectionY(MString::Format("ProjRad%d", i), i, i, "e");
    229229        h->SetDirectory(NULL);
    230230        h->SetBit(kCanDelete);
     
    241241        const TString hi = MMcEvt::GetEnergyStr(xhi);
    242242
    243         leg->AddEntry(h, Form("%s - %s", lo.Data(), hi.Data()));
     243        leg->AddEntry(h, MString::Format("%s - %s", lo.Data(), hi.Data()));
    244244    }
    245245
     
    257257    for (int i=1; i<=fHistSize.GetNbinsX(); i++)
    258258    {
    259         h = fHistSize.ProjectionY(Form("ProjSize%d", i), i, i, "e");
     259        h = fHistSize.ProjectionY(MString::Format("ProjSize%d", i), i, i, "e");
    260260        h->SetDirectory(NULL);
    261261        h->SetBit(kCanDelete);
     
    297297    for (int i=1; i<=fHistRad.GetNbinsX(); i++)
    298298    {
    299         const TString name = Form("ProjRad%d", i);
     299        const TString name = MString::Format("ProjRad%d", i);
    300300        if (!gPad->FindObject(name))
    301301            continue;
     
    312312    for (int i=1; i<=fHistRad.GetNbinsX(); i++)
    313313    {
    314         const TString name = Form("ProjSize%d", i);
     314        const TString name = MString::Format("ProjSize%d", i);
    315315        if (!gPad->FindObject(name))
    316316            continue;
Note: See TracChangeset for help on using the changeset viewer.