Dear Melinda,
the entries after TH2::ProjectionX/Y are set to the effective entries of the bins considered in the projection. In the second case, the TH2 histogram obtained via option "W" is weighted and therefore has a different number of effective entries.
Cheers
Lorenzo
On Jun 30, 2008, at 11:43 AM, Melinda Siciliano wrote:
> Dear all,
>
> I made two ProjectionXY of the same TProfile2D object: the first
> using the "B" option, the second using the "W" one. If I check the
> number of entries I obtain that both the 2D hostis have the same
> number. But, if I make the ProjectionX/Y of the two histograms, for
> the "B" option I obtain that the entries of the 1D histograms are
> the same of the 2D histogram. For the 1D histos, on the contrary,
> the entries of the 1D are different from the entries of the 2D
> histogram.
>
> Have I forget to do something (writing some particular option...) or
> to consider something?
>
> Thanks,
>
> Melinda
Received on Wed Jul 16 2008 - 17:25:16 CEST
This archive was generated by hypermail 2.2.0 : Wed Jul 16 2008 - 23:50:01 CEST