MakeSelector

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Fri, 19 May 2006 10:51:08 +0200


Dear ROOTers,

I have a question about the TTree::MakeSelector() method. I had a TTree with a unique branch containing objects of a ROOT-derived type, say it "class".
When I created the selector by TTree::MakeSelector(), I checked the list of selector data members which define the object which is linked to TTree branches in order to be filled by TTree::GetEntry(). I obtained that many data members were created instead of just one of the type "class". All these objects were datamembers of "class", which were treated as independent branches, instead of the one which I created in the beginning.

There was also an object declared as "class", but it was commented.

I supposed that this is due to the fact that I filled the TTree with a large split value. Is that hypothesis right? What happens if I create TTree branches with split = 0 or split = 1?

Thanks and best regards,

    Alberto Received on Fri May 19 2006 - 10:45:45 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET