Go to the documentation of this file.00001 void testr() {
00002 std::cout << "Read object manager from file " << std::endl << std::endl;
00003
00004 TFile* f2 = TFile::Open("objm.root");
00005 TGo4ObjectManager* objm2 = 0;
00006 f2->GetObject("ObjectManager", objm2);
00007 if (objm2) objm2->ReadDataFromFile(f2);
00008 delete f2;
00009
00010 if (objm2) {
00011 objm2->Print();
00012
00013 }
00014 delete objm2;
00015 }