How to measure polarization?

Hello experts,

I have questions about polarization.
In Geant4, what physical quantities can be used to measure the polarization of a photon in Geant4? Or is polarization an independent quantity, independent of any other physical quantity? Does the polarization of a photon depend on position, direction, energy?

Thank you for your help.