output results to ROOT file