Performance study of a single layer THGEM detector at E3 line of Beijing Test Beam Facility