Hi Luca,
TTrees are not convenient for multiple writes. They are designed to be
write once/read many times.
To replace objects, you should use the basic object.Write function or
derivatives like
TDirectory::WriteObjectAny.
To give a more precise advice, I would need to know how many entries you
are planning
for a given DB and what is the access pattern and frequency.
Rene Brun
Luca Boncagni wrote:
> Hi,
> We are planning to use root framework to implement an Object Oriented
> Db using TTree.
>
> here a little question:
>
> Suppose that we have a TTree with m branches each of which contains n
> events, all stored in a file.
>
> We see the possibility to get a single Entry of a branch
> using TBranch::GetEntry method submitting the entry number
> but we don't know how update a single entry Is this Possible??
>
Received on Tue Feb 27 2007 - 13:50:06 CET
This archive was generated by hypermail 2.2.0 : Tue Feb 27 2007 - 17:50:01 CET