Influence of the shielding and the collimation in the behaviour of an X-ray fluorescence spectrometer