I am trying to find the separation between two histograms defined below -
TH1F *h1 = new TH1F(“h1”,“log_likelihood_ttbar”,100,-120,-40);
TH1F *h2 = new TH1F(“h2”,“log_likelihood_ttH”,100,-120,-40);
I have used the following code to get the separation -
using namespace TMVA;
Double_t integral = 0;
After running it shows me the error - Call to non-static member function without an object argument (here, it refers to GetSeparation(h1,h2) ). Any comments are appreciated !