Re: TH1D from TH2D's

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Mon, 23 Feb 2009 08:49:14 -0600


Hi Alberto,

It sounds like you need to store your data in a TTree and extract the histogram on demand.

Cheers,
Philippe.

Alberto Pulvirenti wrote:
> Dear all,
>
> I am doing an analysis job where I create the same 1D histogram for
> several bins of a reference variable. I was wandering if it is
> possible to do this with a TH2D, instead, but I should have the
> possibility to take a single "row" of such TH2D to retrieve the
> corresponding TH1D with only the entries in that row, because I think
> that this is less memory demanding, and it could allow to have a very
> large number of bins in both dimensions of the histogram, which would
> be of great advantage to me.
>
> Is this possible in an automatic way?
>
> Hope that the question is clear.
>
> Thanks, cheers
>
> Alberto
>
Received on Mon Feb 23 2009 - 15:49:20 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 23 2009 - 17:50:01 CET