Ignore:
Timestamp:
08/21/06 17:53:30 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc

    r7692 r7899  
    350350{
    351351    TH2D *hyx=0;
    352     if (!(hyx=(TH2D*)gPad->FindObject(MString::Form("%s_%s", h.GetName(), how))))
     352    if (!(hyx=(TH2D*)gPad->FindObject(MString::Format("%s_%s", h.GetName(), how))))
    353353        return;
    354354
    355     TH2D *h2 = (TH2D*)h.Project3D(MString::Form("dum_%s", how));
     355    TH2D *h2 = (TH2D*)h.Project3D(MString::Format("dum_%s", how));
    356356    hyx->Reset();
    357357    hyx->Add(h2);
     
    359359
    360360    TH1D *hx = 0;
    361     if ((hx=(TH1D*)gPad->FindObject(Form("Prof%s", h.GetName()))))
     361    if ((hx=(TH1D*)gPad->FindObject(MString::Format("Prof%s", h.GetName()))))
    362362    {
    363363        hx = hyx->ProfileX(Form("Prof%s", h.GetName()), -1, 9999, "s");
Note: See TracChangeset for help on using the changeset viewer.