A new self-shielding method based on a detailed cross-section representation in the resolved energy domain