Hi. I have a TH1 histogram, and I’d like to “smear” it with a gaussian. Is there a simple way of doing this?
Thanks,
Areg
Hi. I have a TH1 histogram, and I’d like to “smear” it with a gaussian. Is there a simple way of doing this?
Thanks,
Areg
Hi,
What exactly do you mean with smearing ? Modifying randomly the bin content by adding a normal variable ?
We on; t have a function for doing this in ROOT, but it its not difficult to do by looping on the bin content and modifying it.
If you need I can send you an example macro ?
Best Regards
Lorenzo
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.