How to set error in a TProfile histogram

i’m reading a set of data, 100 efficiency points between
0 and 50 with their own errors associated, and i want
to plot a TProfile histogram with only 50 bin in order to
have less points mediated from original 100 ones.
I don’t konw how to add my 100 errors in order to have them
correctly displayed for the final 50 bin.

Any help ?
I’m using ROOT v5.06/00.

Many thanks,

Hi Max,

did you try filling a TProfile with 100 bins and then using the Rebin method ?