Create utility fucntion to ROOT hist