Changeset 2406 for trunk/MagicSoft


Ignore:
Timestamp:
10/20/03 15:21:17 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2405 r2406  
    2525     - renamed PrintOutlayers to PrintOutliers
    2626     - Divide pad only into two subpads
     27
     28   * mfilter/MF.cc:
     29     - added comment about '=='
     30
     31   * mhist/MHMatrix.cc:
     32     - removed some pieces of code which preserved the contents
     33       of a matrix when resizing. This is done by root now.
    2734
    2835
  • trunk/MagicSoft/Mars/mfilter/MF.cc

    r2206 r2406  
    5757// are allowed.
    5858//
     59//   -------->  '==' is NOT supported!
     60//
    5961//
    6062// Warning: There is no priority rule build in. So better use brackets
  • trunk/MagicSoft/Mars/mhist/MHMatrix.cc

    r2328 r2406  
    216216    }
    217217
     218#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07)
    218219    TMatrix m(fM);
    219 
     220#endif
    220221    fM.ResizeTo(fM.GetNrows()*2, fData->GetNumEntries());
    221222
     223#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07)
    222224    TVector vold(fM.GetNcols());
    223225    for (int x=0; x<m.GetNrows(); x++)
    224226        TMatrixRow(fM, x) = vold = TMatrixRow(m, x);
     227#endif
    225228}
    226229
     
    11331136    }
    11341137
     1138#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07)
    11351139    const TMatrix m(fM);
     1140#endif
    11361141    fM.ResizeTo(num, fM.GetNcols());
    11371142
     1143#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07)
    11381144    TVector tmp(fM.GetNcols());
    11391145    for (UInt_t irow=0; irow<num; irow++)
    11401146        TMatrixRow(fM, irow) = tmp = TMatrixRow(m, irow);
     1147#endif
    11411148}
    11421149
Note: See TracChangeset for help on using the changeset viewer.