Hi Pasha, On Thu, 14 Mar 2002 10:05:41 -0600 Pasha Murat <murat@fnal.gov> wrote concerning "Re: [ROOT] Getting mean of Ntuple variables": > On Thu, 14 Mar 2002 13:39:10 +0100 > "Christian Holm Christensen" <cholm@hehi03.nbi.dk> wrote: > > > > While the suggestion given by Pasha is indeed the right way to go, it > > would be nice to have methods like > > > > Double_t TTree::GetMean(const Char_t* leaf) > > Double_t TTree::GetRMS(const Char_t* leaf) > > > > Hi Christian, how would it work in non-split or "half-split" mode, where > you don't have access to the "leaf", or in other words, what looks like a > leaf - a lowest-level non-split blob - doesn't have a mean? I'd simple block such attempts. That is, if the name doesn't specify a TLeaf, then return with a warning. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET