Re: Default values of transient data members

From: Constantin Loizides <loizides_at_MIT.EDU>
Date: Fri, 31 Aug 2007 12:43:23 +0200


Hi Rene,

okay this is exactly what I would like to avoid. So i am going to wait for your solution.

Constantin

Rene Brun wrote:

> We are currently discussing a possible solution to this type of 
> requirement.
> The difficulty is to support both member-wise streaming (split mode) and 
> object-wise streaming.
> The temporary solution is to prevent the split mode for the class in 
> your TClonesArray
> and implement a custom class streamer.
> 
> Rene Brun
> 
> Constantin Loizides wrote:

>> Hi all,
>>
>> this is probably a question to Philippe, but anyways
>> I am going to post it in public. Philippe had mentioned in
>> some post to one of the CMS mailing lists that he is
>> planning to implement the feature to (re-)set default values
>> for transient data members.
>>
>> The use case for me would be to reset computational intensive
>> and therefore cached (transient) members of a given class
>> that is hold in a TClonesArray. Since I do not want to
>> forbid bypassing of the class streamer for optimized
>> write/reads I can not implement a custom streamer that
>> would reset my cache. (that's at least how I understand
>> the users guide and parts of the code that I checked).
>>
>> So my question is
>> a) When can one expect the "![N]" feature to be implemented?
>> b) In the mean-time is there another solution to this?
>>
>> Thanks,
>> Constantin
>>

>
-- 
Phone: +41-22-76 74875 (CERN)
Skype: loizides / AOL: ConLoi
Received on Fri Aug 31 2007 - 12:43:07 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 31 2007 - 17:50:02 CEST