Changeset 2406 for trunk/MagicSoft/Mars
- Timestamp:
- 10/20/03 15:21:17 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2405 r2406 25 25 - renamed PrintOutlayers to PrintOutliers 26 26 - 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. 27 34 28 35 -
trunk/MagicSoft/Mars/mfilter/MF.cc
r2206 r2406 57 57 // are allowed. 58 58 // 59 // --------> '==' is NOT supported! 60 // 59 61 // 60 62 // Warning: There is no priority rule build in. So better use brackets -
trunk/MagicSoft/Mars/mhist/MHMatrix.cc
r2328 r2406 216 216 } 217 217 218 #if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07) 218 219 TMatrix m(fM); 219 220 #endif 220 221 fM.ResizeTo(fM.GetNrows()*2, fData->GetNumEntries()); 221 222 223 #if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07) 222 224 TVector vold(fM.GetNcols()); 223 225 for (int x=0; x<m.GetNrows(); x++) 224 226 TMatrixRow(fM, x) = vold = TMatrixRow(m, x); 227 #endif 225 228 } 226 229 … … 1133 1136 } 1134 1137 1138 #if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07) 1135 1139 const TMatrix m(fM); 1140 #endif 1136 1141 fM.ResizeTo(num, fM.GetNcols()); 1137 1142 1143 #if ROOT_VERSION_CODE < ROOT_VERSION(3,05,07) 1138 1144 TVector tmp(fM.GetNcols()); 1139 1145 for (UInt_t irow=0; irow<num; irow++) 1140 1146 TMatrixRow(fM, irow) = tmp = TMatrixRow(m, irow); 1147 #endif 1141 1148 } 1142 1149
Note:
See TracChangeset
for help on using the changeset viewer.