Slope of exponential dependence as a function of x

Hi Rooters,

Imagine an exponential dependence with varying slope as a histogram. One could fit these slopes in intervals of x. Is there some easy way in root how to get a new histogram of the slopes from the original histogram?

thank you & best regards


sorry for my late replay.
There is nothing specific in ROOT for this. If I have understood your problem correctly, you would have to create an histogram and simply fill it with the slope results of the different fits you are performing for every interval in x.
However, I think it would be better to parametrize the dependency of your slopes as function of x and then perform a global fit to your histogram using an exponential function with the varying slope.