TopoAna: A generic tool for the topology analysis of inclusive Monte-Carlo samples in high energy physics experiments