[ROOT] Feature request: TTree:Project(... TH1* ...)

From: George A. Heintzelman (gah@bnl.gov)
Date: Tue Oct 17 2000 - 21:49:27 MEST


Hi,

It seems that TTree::Project only takes a histogram name as its first 
parameter. Would it be possible to overload this function so that it 
can take a TH1 * instead, for use in the cases where the user already 
knows what histogram object he's using (perhaps he just created it) and 
doesn't want to worry about the vagueries of lookup in a global 
namespace?

Or, is there some other way to get this functionality already? (If so, 
having it documented in TTree::Project's documentation would also be 
good.)

Thanks,

George Heintzelman
gah@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET