Finally, if the data to be analyzed comes from electron capture events, a simulated gamma response matrix must be built using the simulated responses to individual monoenergetic γ rays of several energies. This matrix contains the information related to the dependence of the response function on the detector. To include also the dependence on the level scheme that is being measured, the above-mentioned matrix should be convoluted with the branching ratio matrix calculated previously. In this way, the final global response R is obtained.