Particles distribution

Hello,
How to define distribution of particles at an angle 45° in cone shape ?

You can use G4RandomDirection(cosTheta) defined in G4RandomDirection.hh.

1 Like

Thank you very much.