Application of photon detectors in the VIP2 experiment to test the Pauli Exclusion Principle