Ignore:
Timestamp:
01/29/09 08:54:21 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9153 r9281  
    5151
    5252#include "MMath.h"
     53#include "MString.h"
    5354#include "MBinning.h"
    5455
     
    7071//
    7172MHDisp::MHDisp(const char *name, const char *title)
    72     : fDisp(0), fDeviation(0), fSrcAnti(0), fSmearing(-1), fWobble(kFALSE),
    73     fScaleMin(0.325), fScaleMax(0.475)
     73    : fDisp(0), fDeviation(0), fSrcAnti(0), fHalf(kFALSE), fSmearing(-1),
     74    fWobble(kFALSE), fScaleMin(0.325), fScaleMax(0.475)
    7475{
    7576    //
     
    645646
    646647    // ----- Pad number 4 -----
    647     TString name = Form("%s_4", pad->GetName());
     648    TString name = MString::Format("%s_4", pad->GetName());
    648649    TPad *p = new TPad(name,name, 0.525/*0.5025*/, 0.3355, 0.995, 0.995, col, 0, 0);
    649650    p->SetNumber(4);
     
    665666    // ----- Pad number 1 -----
    666667    pad->cd();
    667     name = Form("%s_1", pad->GetName());
     668    name = MString::Format("%s_1", pad->GetName());
    668669    p = new TPad(name,name, 0.005, 0.3355, 0.475/*0.4975*/, 0.995, col, 0, 0);
    669670    p->SetNumber(1);
     
    685686    // ----- Pad number 2 -----
    686687    pad->cd();
    687     name = Form("%s_2", pad->GetName());
     688    name = MString::Format("%s_2", pad->GetName());
    688689    p = new TPad(name,name, 0.005, 0.005, 0.2485, 0.3315, col, 0, 0);
    689690    p->SetNumber(2);
     
    694695    // ----- Pad number 3 -----
    695696    pad->cd();
    696     name = Form("%s_3", pad->GetName());
     697    name = MString::Format("%s_3", pad->GetName());
    697698    p = new TPad(name,name, 0.2525, 0.005, 0.4985, 0.3315, col, 0, 0);
    698699    p->SetNumber(3);
     
    714715    // ----- Pad number 5 -----
    715716    pad->cd();
    716     name = Form("%s_5", pad->GetName());
     717    name = MString::Format("%s_5", pad->GetName());
    717718    p = new TPad(name,name, 0.5025, 0.005, 0.7485, 0.3315, col, 0, 0);
    718719    p->SetNumber(5);
     
    730731    // ----- Pad number 6 -----
    731732    pad->cd();
    732     name = Form("%s_6", pad->GetName());
     733    name = MString::Format("%s_6", pad->GetName());
    733734    p = new TPad(name,name, 0.7525, 0.005, 0.9995, 0.3315, col, 0, 0);
    734735    p->SetNumber(6);
Note: See TracChangeset for help on using the changeset viewer.