Let G be a finite group, and let $$\pi $$
π
be a set of primes. The aim of this paper is to obtain some results concerning how much information about the $$\pi $$
π
-structure of G can be gathered from the knowledge of the sizes of conjugacy classes of its $$\pi $$
π
-elements and of their multiplicities. Among other results, we prove that this multiset of class sizes determines whether G has a hypercentral Hall $$\pi $$
π
-subgroup.