How to define the particle angle information

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!

Geant4 Version:11.3.2
Operating System:linux
Compiler/Version:gcc9.4
CMake Version:3.16


Dear G4 experts:

I wonder how to define the particle angle information using GPS?

Here’s the full documentation for GPS:

The introductory section on angular distributions:

And the macro commands for angular distribution:

If the information you need isn’t in the documentation, you will need to be much more specific about what is missing.

Thank you for you’re reply.I would like to know if there exists an angle that can define the energy at any given point, similar to how an energy spectrum is defined, and then perform fitting procedures. The document contains a histogram related to angular distribution.