A pure arithmetical characterization for certain fields with a given class group