Finally we manage to define the regions in a clever way... now from the .cfg file you can choose every interval you desire... here you are some plots, we choose some interesting angles to test the algorithm:
the green region is the selected one
the red region is the rejected one through phi
the missing-color region is rejected through the radius
the blue one... there's no detector!