A method for forming a dielectric film on a substrate by plasma-assisted deposition, includes: introducing a Si-containing process gas to a reaction space wherein a substrate having a surface with patterned recesses is placed; and applying RF power to the process gas in the reaction space to form a dielectric film on the surface by plasma reaction. First, select a referral focus error level. The signals within a particular layer may also be ranked according to a desired metric.