Detector response matrix for pp collisions at $\sqrt{s}$ = 5.02 TeV