Which comes after the x-ray tube, the pre-patient collimator or the beam shaping filter?

a) Pre-patient collimator
b) Beam shaping filter
c) Both are simultaneous
d) It depends on the CT system