Hello experts, I have a 2D histos of different particle species and i want to plot its projections in one histo. i’m doing it by TStack class but it just showed me the last histo that i added in it. I didn’t get what i"m doing wrong please tell me how can i do it is there anyother way to show it. this is the code:
it shows me just one last histo.although i used the same class for the histos that filled with data, it worked but not with projections. please tell me what shoild i do. thank you.
Expect the fact you are adding twice histo2 in the stack I do not see anything wrong. Can you provide an example (reproducing the problem) we can run ?