Issue related to the introduction of multi-threshold for energy resolution. Design an API for handling this.