Complex sentence: The primary collimator is positioned after the electron beam is travelling in a vertical direction and, when using photons, has passed through the X-ray target.
Split into simpler sentences: The primary collimator is positioned after the electron beam has reached a vertical orientation. When using photons, it is placed after the beam has passed through the X-ray target.