What do you mean by "how to set the entries of it?". A TChain is a
collection of files with an existing Tree. There is nothing to set
except the branch addresses.
Please be more explicit.
Rene Brun
Bian JianMing wrote:
> Hi ROOTer:
> When I use TChain input NTuple, how to set the entries of it?
> The codes:
> TChain ddmc("etot");
> ddmc.Add("mcstudy.root");
> Double_t totcomb[100],totstab[100];
> ddmc.SetBranchAddress("totcomb",totcomb);
> ddmc.SetBranchAddress("totstab",totstab);
>
> Then what shall I do?
>
>
> With my best wishes,
>
> Bian Jianming
> Experimental Physics Center,
> Institute of High Energy Physics(IHEP),
> Chinese Academy of Sciences
> P.O.Box 918-1
> Beijing, 100049
> P.R.China
>
>
Received on Tue Jun 02 2009 - 10:04:18 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 02 2009 - 11:50:02 CEST