Ignore:
Timestamp:
04/15/02 13:13:25 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r1265 r1276  
    121121    TAxis &x = *h->GetXaxis();
    122122
     123#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    123124    TString xtitle = x.GetTitle();
     125#endif
    124126
    125127    //
     
    135137    //
    136138    x.Set(binsx->GetNumBins(), binsx->GetEdges());
     139#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    137140    x.SetTitle(xtitle);
     141#endif
    138142}
    139143
     
    146150    // Another strange behaviour: TAxis::Set deletes the axis title!
    147151    //
     152#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    148153    TString xtitle = x.GetTitle();
    149154    TString ytitle = y.GetTitle();
     155#endif
    150156
    151157    //
     
    163169    x.Set(binsx->GetNumBins(), binsx->GetEdges());
    164170    y.Set(binsy->GetNumBins(), binsy->GetEdges());
     171#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    165172    x.SetTitle(xtitle);
    166173    y.SetTitle(ytitle);
     174#endif
    167175}
    168176
     
    176184    TAxis &z = *h->GetZaxis();
    177185
     186#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    178187    TString xtitle = x.GetTitle();
    179188    TString ytitle = y.GetTitle();
    180189    TString ztitle = z.GetTitle();
     190#endif
    181191
    182192    //
     
    196206    y.Set(binsy->GetNumBins(), binsy->GetEdges());
    197207    z.Set(binsz->GetNumBins(), binsz->GetEdges());
     208#if ROOT_VERSION_CODE < ROOT_VERSION(3,03,03)
    198209    x.SetTitle(xtitle);
    199210    y.SetTitle(ytitle);
    200211    z.SetTitle(ztitle);
     212#endif
    201213}
    202214
Note: See TracChangeset for help on using the changeset viewer.