Hi ROOT users,
I have a TH2F histogram with an x and y-axis. I want to extract the distribution of x variable for a particular y bin (or value). This should be a TH1F. Is there a way to extract bin-specific TH1F from TH2F?
I am new to root and stuck with this problem for some time now, and I will be very grateful for any help.
Compiler: gcc 11.1.0