Ignore:
Timestamp:
04/24/02 08:55:04 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r1283 r1289  
    455455        MParContainer **pcont= new MParContainer*;
    456456
     457#if ROOT_VERSION_CODE < ROOT_VERSION(3,02,06)
     458        const char *classname = oname;
     459#else
     460        const char *classname = brnahc->GetClassName();
     461#endif
     462
    457463        //
    458464        // check if object is existing in the list
    459465        //
    460         *pcont=pList->FindCreateObj(branch->GetClassName(), oname);
     466        *pcont=pList->FindCreateObj(classname, oname);
    461467
    462468        if (!*pcont)
     
    466472            // we cannot proceed reading this branch
    467473            //
    468             *fLog << warn << dbginf << "Warning: Class '" << branch->GetClassName();
     474            *fLog << warn << dbginf << "Warning: Class '" << classname;
    469475            *fLog << "' for " << oname << " not existing in dictionary. Branch skipped." << endl;
    470476            DisableSubBranches(branch);
     
    487493
    488494        *fLog << inf << "Master branch address " << bname << " [";
    489         *fLog << branch->GetClassName() << "] setup for reading." << endl;
     495        *fLog << classname << "] setup for reading." << endl;
    490496
    491497        //*fLog << "Branch " << bname << " autodel: " << (int)branch->IsAutoDelete() << endl;
Note: See TracChangeset for help on using the changeset viewer.