Hi Steve,
You can something like:
TH1F *myhist = new TH1F("myhist","title",Nbins,Xlow,Xup);
tree->Draw("var>>myhist")
This will use the histogram definition of the pre-existing TH1F myhist.
Rene Brun
Steve Udriot wrote:
>
> Hi rooters,
>
> Does an option exist for manipulating the histogram binning while using
> TTree::Draw ?Something like : "Nbins:Xlow:Xup"...
>
> Steve
>
> --------------------------------------------------------------------------------
>
> Steve Udriot <Steve.Udriot@CERN.ch>
> Ph. D. Student
> ETH Zurich
> High Energy Physics
>
> Steve Udriot
> Ph. D. Student <Steve.Udriot@CERN.ch>
> ETH Zurich
> High Energy Physics
> CERN Division EP;CH-1211 Geneve 23;;; Cellular: +41-79-276.43.47
> Work: +41-22-767.17.71
> Netscape Conference Address
> Additional Information:
> Last Name Udriot
> First Name Steve
> Version 2.1
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET