Use of G4Box to create rectangles - Directions

Hi guys,

I have a question about the constructor of the G4Box class. When I create a “box” is there a predefined direction for its creation? I mean, If I want a rectangle with basis x mm (along the x axis), length y mm (along y… so the rectangle is parallel to Y) and z along Z, should I write

G4Box(“name”, 0.5x, 0.5y,0.5*z)?


exactly as you say.

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