Re: [ROOT] Reading single values (eg Double) from a file

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 19 2002 - 09:51:07 MEST


Hi Thomas,

see examples in $ROOTSYS/tutorials/tree0,1,2,3,4.C

to get the max/min of a branch or leaf, do

  tree.GetMaximum(leafname);

Rene Brun

On Wed, 19 Jun 2002, Thomas Bretz wrote:

> Hi all,
> 
> I have a file containing a Tree with a Branch, which contains several
> values (double). Now I want to read directly one of this subbranches
> into memory to find the maximum and minimum value in it. How do I read a
> single subbranch containing Double_t values?
> 
> Thanks,
> Thomas.
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET