Changeset 1289 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 04/24/02 08:55:04 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r1283 r1289 455 455 MParContainer **pcont= new MParContainer*; 456 456 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 457 463 // 458 464 // check if object is existing in the list 459 465 // 460 *pcont=pList->FindCreateObj( branch->GetClassName(), oname);466 *pcont=pList->FindCreateObj(classname, oname); 461 467 462 468 if (!*pcont) … … 466 472 // we cannot proceed reading this branch 467 473 // 468 *fLog << warn << dbginf << "Warning: Class '" << branch->GetClassName();474 *fLog << warn << dbginf << "Warning: Class '" << classname; 469 475 *fLog << "' for " << oname << " not existing in dictionary. Branch skipped." << endl; 470 476 DisableSubBranches(branch); … … 487 493 488 494 *fLog << inf << "Master branch address " << bname << " ["; 489 *fLog << branch->GetClassName()<< "] setup for reading." << endl;495 *fLog << classname << "] setup for reading." << endl; 490 496 491 497 //*fLog << "Branch " << bname << " autodel: " << (int)branch->IsAutoDelete() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.