I am in the process of learning root. I came across the following issues I am having a little trouble with.
- I have a histogram with multiple peaks, Is there a way to convert the histogram to a graph? Can anyone suggest to me how to do that?
- For the histogram with multiple peaks, I need to zoom in for each peak and create a pdf to save them separately. I tried changing the range, something like this, but it did not work,
Double_t binmaxY = hTVsC_backsub->GetMaximumBin(); Double_t binmaxX = hTVsC_backsub->GetBinCenter(binmaxY);
Can anyone help with these questions? Apologies, these are probably very straight forward but I am not sure how to proceed. Any help is appreciated. Thank you so much for your time!
_ ROOT Version:* 6.18/04
Compiler:* Visual Studio Code