Test how compatible two tgraphs are


I have two tgraphs that can not be fitted with a function, but I was to perform a test on how compatible they are with each other. Is there any function in ROOT to do that?


What about this ?

Thank you very much!