The gamma detectors fit inside openings made inside the magnet structure. To determine the optimal detector features, different simulations are carried out, with different variable parameters, so as to reach a final optimal design that meets the original requirements in the most effective way.