31 Bool_t TRefProxy::Update()
39 TClass* TRefProxy::GetValueClass(
void* data)
const
41 TObject* obj = (TObject*)data;
42 return ( obj ) ? obj->IsA() : 0;
48 void* TRefProxy::GetObject(TFormLeafInfoReference* info,
void* data,
int)
51 TRef* ref = (TRef*)((
char*)data + info->GetOffset());
52 void* obj = ref->GetObject();
58 TBranch* branch = info->GetBranch();
60 UInt_t uid = ref->GetUniqueID();
61 Long64_t ent = branch->GetReadEntry();
62 TRefTable *table = TRefTable::GetRefTable();
63 table->SetUID(uid, ref->GetPID());
64 ((TBranch*)table->GetOwner())->GetEntry(ent);
65 TBranch *b = (TBranch*)table->GetParent(uid, ref->GetPID());
67 ((TBranch*)table->GetOwner())->GetEntry(ent);
68 b = (TBranch*)table->GetParent(uid, ref->GetPID());
71 TBranch* br = b->GetMother();
72 if ( br ) br->GetEntry(ent);
74 obj = ref->GetObject();