Hi Paul,
Declare a variable of type integer and set the branch address to point
to this variable.
Int_t myvar;
tree.SetBranchAddress("branchName",&myvar);
Rene Brun
On Mon, 30 Dec 2002, Paul Balm wrote:
> Hello,
>
> I have a tree that also contains integers, and I would like to read the
> integer values without them being converted to doubles (and back).
> I think the way to do that would be to use the class TLeafI, but the
> GetValue method of TLeafI returns a Double_t... Did I misunderstand
> something?
> Thanks,
>
> Paul Balm
>
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET