The LHCb particle identification (PID) system is composed of two ring-imaging Cherenkov detectors, a series of muon chambers and a calorimeter system. A novel strategy has been introduced in Run 2, where the selection of PID calibration samples for charged particles and neutrals is implemented in the LHCb software trigger. A further processing of the data is required in order to provide samples for the determination of PID performance, which is achieved through a centralised production that makes highly efficient use of computing resources. This talk covers the major steps of the implementation, and highlights the PID performance achieved in Run 2.