Hi Sue,
I can reproduce the problem and I am looking for the right solution.
Cheers,
Philippe
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of Sue Kasahara
Sent: Sunday, January 29, 2006 4:03 PM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] i/o of objects with multiple references
Hi roottalk,
I have an example of a data structure that doesn't behave the
way I would expect it to behave on i/o, and I'm wondering if
you can help me understand what should be done.
One of our record types has an odd structure due to historical
reasons, so I apologize in advance for what I'm about
to show you. A simplified version of this record (SimRecord) is
in the tar file, and it has:
A TObjArray containing:
i)a TClonesArray of Hit's.
ii)a Signal object which has a std::map<const Hit*, Float_t weight>
data member containing a list of Hit ptrs which are a subset of those contained in the TClonesArray.
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET