TProfile means problem

From: Snyder, Arthur E. <snyder_at_slac.stanford.edu>
Date: Sat, 9 Jul 2011 23:40:33 -0700


Hello Rene et al.,

I'm having with |TProfile|. When I plot <y> vs. "x" with |TProfile| I get values in each x-bin that are ~2 (not exactly 2) times bigger than when I just histogram y and read the mean <y> off the histogram.

Has this happen'd before? I don't see where |TProfile| is getting the number it is plotting. It is not, e.g, the RMS. The ratio to the mean is 2.15 -- not exactly 2.0.

I tried to get the y-distribution |TProfile| uses, but can find a function that extracts it. Perhaps |TProfile| uses big y-bins and calculating means from bin centers rather than event average. Is that possible? This doesn't seem to be what the documentation says though ...

The distribution of y is steeply falling from zero -- roughly exponential. The statistics are large even in each x-bin.

?

-Arthur S.


Received on Sun Jul 10 2011 - 08:40:41 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 10 2011 - 11:50:01 CEST