Statistics for Perturbative quantum chromodynamics in a cavity