ENH: use set to improve check
ENH: use set to improve check

YannickDieter/testbeam_analysis,SiLab-Bonn/testbeam_analysis,SiLab-Bonn/testbeam_analysis,YannickDieter/testbeam_analysis,SiLab-Bonn/testbeam_analysis,YannickDieter/testbeam_analysis,YannickDieter/testbeam_analysis,SiLab-Bonn/testbeam_analysis