assign form factor based on the particle residue type