Hi Juan, If you have an histogram (eg TH1F *h), you can do h->GetXaxis()->SetRange(binmin,binmax) h->GetMean(); // this will return the mean in the specified range Rene Brun Juan Liceaga wrote: > > I'm using a gaussian fit over a specific range of a histogram, and I need > to be able to access the Mean Value of that range in my code. How do I do > that? > > Thank you, > Juan
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET