Topological characterization of hierarchical fractional quantum Hall effects in topological flat bands with SU( N ) symmetry