I have a set of TGraphs, which represent time-series. I want to iterate over these TGraphs, and compute for each TGraph the cross-correlation of that graph with all remaining graphs in the set (by cross-correlation, I mean something like this… a measure of how “similar” two time-series are).
The graphs in question are all similar in shape-- mostly noise, with a “peak” at some point. The goal is to pair up graphs such that the “peaks” align well. Before attempting to write some complex algorithm of my own, I’m wondering if there exists some “nice” way to do this in ROOT. Unfortunately, the data are already stored as TGraphs, which likely makes this more difficult than if I were working “directly” with the data.
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided