Re: Problem with projecting ntuple data into 1D histos with variable bin widths..

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Jun 13 1999 - 10:27:09 MEST


Hi John,
This should work.
Can you tell me what is the version of root ?
Could you send me a small file with a 5 lines long macro showing the
problem?

Rene Brun


On Sun, 13 Jun 1999, John Richardson wrote:

> 
> Has anyone attempted to project ntuple data into a histogram
> with non-equal bin widths?
> 
> I find that using
> 
> ntuple->Draw("a>>histid","","");
> or
> ntuple->Project("histid","a","","");
> 
> work just fine so long as the TH1F called histid has equal bins.
> If histid has been set up with variable binning however, the
> bin assignment of the data seems to be corrupt.
> Perhaps there is something special I need to do for this
> case. Can anyone comment?
> 
> John Richardson.
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET