Hi Jeroen, When Init is called in case of a TChain, the first file/Tree in the chain is not yet loaded. When you will start processing an entry, TChain::LoadTree will automatically call the Notify function of the TSelector. Rene Brun On Thu, 18 Mar 2004, Jeroen Hegeman wrote: > > Hi, > > When I use a compiled version of a class derived from TSelector to process > a TChain, the pointers to the branches (b_branchname) are nil. I saw that > in code generated by makeclass Init calls Notify, whereas in code made by > MakeSelector it does not? > > When I call Notify() at the end of Init(), things seem to be ok. Question > is: why doesn't Init normally call Notify (for a TSelector derivative) and > is this the correct solution? > > Thanks, > Jeroen >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET