Parallel cylinder

Hello everyone,
How to define cylinder parallel to x-axis or y-axis.
Thank you

define cylinder (which is initially parallel to z-axis) and rotate accordingly.

https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Fundamentals/global.html?highlight=g4rotationmatrix#typedefs-to-clhep-classes-and-their-usage

1 Like

It may be benefict to spend some time to study carefully example extended/geometry/transforms. See picture attached.

In many simple situations, the axial rotations method is the most intuitive approach.
in your case a rotation of pi/2 around y-axis

1 Like

Thank you very much Weller.

Thank you very much Maire.
I can see in the image.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.