[ROOT] Trees or anything else...

From: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
Date: Fri Oct 26 2001 - 20:53:17 MEST


Hi everybody,

I have some questions about the TTree and collection classes:

1) is it possible to CHANGE the value of a leaf in a selected entry of a 
   TTree? If so, how it should be done?

2) when using a TTree::Draw() method with a condition, I was unable to 
return to the initial "unconditioned" list of entries... is there 
something to do, to reset the TTree and its entry variables (the ones I 
get wit TTree::GetV1() & similar)

3) When using the TObjArray::Remove() or RemoveAt(), does it also delete 
the object i want to remove? If not, is there another method which does 
this?

4) What difference of utilization scopes is there between TObjArray, 
TList and THashList? And which are, the latter's particular characteristics?

5) using an "aliroot" session (for who knows it) I wasn't able to clean 
the RAM when clearing the TObjArrays I used... I must say that, in my 
class, they are declared as stack data-member (not pointers). Should I 
declare them in a different way?

Thanks....

Alberto



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET