Electronic excitations in metallic systems: From defect annihilation to track formation