Changeset 6890 for trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
- Timestamp:
- 03/29/05 09:56:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
r5832 r6890 143 143 Int_t MHMatrix::AddColumn(const char *rule) 144 144 { 145 if ( fM.IsValid())145 if (IsValid(fM)) 146 146 { 147 147 *fLog << warn << "Warning - matrix is already in use. Can't add a new column... skipped." << endl; … … 173 173 void MHMatrix::AddColumns(MDataArray *matrix) 174 174 { 175 if ( fM.IsValid())175 if (IsValid(fM)) 176 176 { 177 177 *fLog << warn << "Warning - matrix is already in use. Can't add new columns... skipped." << endl; … … 224 224 return; 225 225 226 if (! fM.IsValid())226 if (!IsValid(fM)) 227 227 { 228 228 fM.ResizeTo(1, fData->GetNumEntries()); … … 525 525 Double_t MHMatrix::CalcDist(const TVector &evt, Int_t num) 526 526 { 527 if (! fM2.IsValid())528 { 529 if (! fM.IsValid())527 if (!IsValid(fM2)) 528 { 529 if (!IsValid(fM)) 530 530 { 531 531 *fLog << err << "MHMatrix::CalcDist - ERROR: fM not valid." << endl; … … 803 803 Int_t nmaxevts, TMatrix *rest) 804 804 { 805 if (! fM.IsValid())805 if (!IsValid(fM)) 806 806 { 807 807 *fLog << err << dbginf << "Matrix not initialized" << endl; … … 1001 1001 Bool_t MHMatrix::DefRefMatrix(Int_t nmaxevts, TMatrix *rest) 1002 1002 { 1003 if (! fM.IsValid())1003 if (!IsValid(fM)) 1004 1004 { 1005 1005 *fLog << err << dbginf << "Matrix not initialized" << endl; … … 1113 1113 Int_t MHMatrix::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 1114 1114 { 1115 if ( fM.IsValid())1115 if (IsValid(fM)) 1116 1116 { 1117 1117 *fLog << err << "ERROR - matrix is already in use. Can't add a new column from TEnv... skipped." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.