How to use polarization data in Geant4?

Hello experts,

I have used Shadow3 on OASYS to generate much photon data, including position, direction, energy and polarization, etc. Now, I want to import the photon data into Geant4 as a light source. However, I don’t know how to set the polarization of the light source. In Shadow3, the polarization data is divided into S-polarization and P-polarization, two vectors with six components, so how should we use the data of S-polarization and P-polarization in Geant4?

Thank you for your help.