How can one most easily obtain the x-coordinate of the global maximum (largest y-value) on a TGraph?
I’ve tried following the guidance here, however this doesn’t seem to accomplish what I’m after: TGraph GetMaximum() GetMinimum() - ROOT - ROOT Forum (cern.ch)
Scanning the TGraph documentation, there doesn’t seem to be anything that would be of use here. Unfortunately, the data are stored as TGraphs, so I need to extract this from the graphs.
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided