Ignore:
Timestamp:
03/29/05 09:56:16 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MHMatrix.cc

    r5832 r6890  
    143143Int_t MHMatrix::AddColumn(const char *rule)
    144144{
    145     if (fM.IsValid())
     145    if (IsValid(fM))
    146146    {
    147147        *fLog << warn << "Warning - matrix is already in use. Can't add a new column... skipped." << endl;
     
    173173void MHMatrix::AddColumns(MDataArray *matrix)
    174174{
    175     if (fM.IsValid())
     175    if (IsValid(fM))
    176176    {
    177177        *fLog << warn << "Warning - matrix is already in use. Can't add new columns... skipped." << endl;
     
    224224        return;
    225225
    226     if (!fM.IsValid())
     226    if (!IsValid(fM))
    227227    {
    228228        fM.ResizeTo(1, fData->GetNumEntries());
     
    525525Double_t MHMatrix::CalcDist(const TVector &evt, Int_t num)
    526526{
    527     if (!fM2.IsValid())
    528     {
    529         if (!fM.IsValid())
     527    if (!IsValid(fM2))
     528    {
     529        if (!IsValid(fM))
    530530        {
    531531            *fLog << err << "MHMatrix::CalcDist - ERROR: fM not valid." << endl;
     
    803803                              Int_t nmaxevts, TMatrix *rest)
    804804{
    805     if (!fM.IsValid())
     805    if (!IsValid(fM))
    806806    {
    807807        *fLog << err << dbginf << "Matrix not initialized" << endl;
     
    10011001Bool_t MHMatrix::DefRefMatrix(Int_t nmaxevts, TMatrix *rest)
    10021002{
    1003     if (!fM.IsValid())
     1003    if (!IsValid(fM))
    10041004    {
    10051005        *fLog << err << dbginf << "Matrix not initialized" << endl;
     
    11131113Int_t MHMatrix::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
    11141114{
    1115     if (fM.IsValid())
     1115    if (IsValid(fM))
    11161116    {
    11171117        *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.