Hi Michael,
The result of MakeSelector is correct in the case of your Tree.
If you do a USR8.Print(), you will get:
*Br 2 :eventNb : event/I
*Br 8 :chi2Prim : chi2Pprim/F
You have given different names to the branch and variable names.
Rene Brun
On Thu, 22
May 2003, Michael Wiesmann wrote:
> Hallihallo Rooters!
>
> I am calling the MakeSelector function of TTree, the .C and the .h are
> produced, but from round about 20 tree variables, two variables are
> wrongly spelled:
>
> b_event = fChain->GetBranch("eventNb");
> b_chi2Pprim = fChain->GetBranch("chi2Prim");
>
> where the TBranches are defined as they should:
> TBranch *b_eventNb; //!
> TBranch *b_chi2Prim; //!
>
> As I used this function quite often without noticing it on other
> trees, I don't know where to look for the source of this
> missbehaviour.
>
> I case one wants to have a look, the root file can be found on
> /afs/cern.ch/user/w/wiesmann/public/u8.1-P2E5.2.21.root
>
>
> I am using 3.03/09 18 September 2002 on Linux Redhat 7.2
>
>
> Cheers,
> Michael
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET