Changeset 7749 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 05/29/06 15:58:38 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
r7413 r7749 53 53 #include <TArrayD.h> 54 54 #include <TArrayI.h> 55 #include <TVector.h>56 55 57 56 #include <TH1.h> … … 421 420 avg /= rows; 422 421 422 #if ROOT_VERSION_CODE > ROOT_VERSION(5,00,00) 423 TMatrixFColumn(m, x) += -avg; 424 #else 423 425 TMatrixColumn(m, x) += -avg; 426 #endif 424 427 } 425 428 … … 924 927 // 925 928 TVector v(fM.GetNrows()); 929 #if ROOT_VERSION_CODE > ROOT_VERSION(5,00,00) 930 v = TMatrixFColumn_const(fM, refcolumn); 931 #else 926 932 v = TMatrixColumn(fM, refcolumn); 933 #endif 927 934 //v += -frombin; 928 935 //v *= 1/dbin; … … 1260 1267 for (int i=0; i<m.GetNrows(); i++) 1261 1268 { 1269 #if ROOT_VERSION_CODE > ROOT_VERSION(5,00,00) 1270 const TMatrixFRow_const &row = TMatrixFRow_const(m, i); 1271 #else 1262 1272 const TMatrixRow &row = TMatrixRow(m, i); 1263 1273 #endif 1264 1274 // finite (-> math.h) checks for NaN as well as inf 1265 1275 int jcol; -
trunk/MagicSoft/Mars/mhbase/MHMatrix.h
r7413 r7749 9 9 #include <TMatrix.h> 10 10 #endif 11 11 12 #ifndef MARS_MH 12 13 #include "MH.h" 13 14 #endif 14 15 16 #ifndef ROOT_TVector 17 #include <TVector.h> 18 #endif 19 15 20 class TArrayI; 16 21 class TArrayF; 17 class TVector;18 22 class TH1F; 19 23
Note:
See TracChangeset
for help on using the changeset viewer.