A pat-down search is an additional form of passenger screening performed if a person has set off a metal detector, or if he/she is selected for additional screening because of suspicious appearance/behaviour.
Security X-ray machines generate radiation, but they do not pose health risks to operators or the general public if they are maintained and operated correctly ...