Changeset 1276


Ignore:
Timestamp:
04/15/02 13:13:25 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1271 r1276  
    11                                                                  -*-*- END -*-*-
     2
     3 2002/04/15: Thomas Bretz
     4
     5   * mgui/MGeomCam.cc:
     6     - Added SetReadyToSave to Constructor
     7
     8   * mhist/MH.cc:
     9     - Added some #ifdef conditionals for a fix in root
     10
     11   * mfilter/MFAlpha.[h,cc]:
     12     - made IsExpressionTrue inline
     13
     14
    215
    316 2002/04/05: Thomas Bretz
  • trunk/MagicSoft/Mars/mfilter/MFAlpha.cc

    r1211 r1276  
    7979// --------------------------------------------------------------------------
    8080//
    81 Bool_t MFAlpha::IsExpressionTrue() const
    82 {
    83     return fResult;
    84 }
    85 
    86 // --------------------------------------------------------------------------
    87 //
    8881Bool_t MFAlpha::PreProcess(MParList *pList)
    8982{
  • trunk/MagicSoft/Mars/mfilter/MFAlpha.h

    r1211 r1276  
    3636            const char *name=NULL, const char *title=NULL);
    3737
    38     Bool_t IsExpressionTrue() const;
     38    Bool_t IsExpressionTrue() const { return fResult; }
    3939    Bool_t PreProcess(MParList *pList);
    4040    Bool_t Process();
  • trunk/MagicSoft/Mars/mgui/MGeomCam.cc

    r1216 r1276  
    6464    for (UInt_t i=0; i<npix; i++)
    6565        (*fPixels)[i] = new MGeomPix;
     66
     67    SetReadyToSave();
    6668}
    6769
  • 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.