void HistoCompare::PVCompute(TProfile * oldHisto , TProfile * newHisto , TText * te ) { myoldProfile = oldHisto; mynewProfile = newHisto; myte = te; Double_t *res ; Double_t mypv = myoldProfile->Chi2Test(mynewProfile,"WW",res); TString title = "chi^2 P Value: "; printRes(title, mypv, myte); return; }