Message: Re: what's the meaning of the plowNorm in the G4CutTubs Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: what's the meaning of the plowNorm in the G4CutTubs 

Forum: Educational Applications
Re: Question what's the meaning of the plowNorm in the G4CutTubs (Juice Apple)
Date: 24 Aug, 2016
From: Michael H. Kelsey <Michael H. Kelsey>

On Thu, 25 Aug 2016 02:01:06 GMT, Juice Dove wrote:
>  I want to know what the plowNorm represents in the G4CutTubs. I can't understand the explain in
>  the User's Guide.Thank you 

There are two extra parameters for G4CutTubs compared to the plain cylinder G4Tubs. pLowNorm (notice the uppercase "L") and pHiNorm. Both of them are three-vectors, and indicate the outward normal vector to the plane which cuts the cylinder at -Z and +Z respectively.

If you were using G4CutTubs to create a plain ordinary cylinder, then pLowNorm = (0,0,-1) and pHiNorm = (0,0,1).

If you want to create a cylinder with 45-degree bevels at both ends, you might choose pLowNorm = (0,1,-1) and pHiNorm = (0,1,1).

  -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: what's the meaning of the plowNorm in the G4CutTubs   (Juice Dove - 24 Aug, 2016)
 Add Message Add Message
to: "Re: what's the meaning of the plowNorm in the G4CutTubs"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]