Message: Re: Right Angle Prism Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: Right Angle Prism 

Forum: Geometry
Re: Question Right Angle Prism (A. Hod)
Date: 06 Jan, 2015
From: A. Hod <A. Hod>

Dear all;

I solved the problem of right angle prism. If someone need it here is an example

of how to construct a right angle prism:

// Right Angle Prism

G4double pZ=6.0*mm; // Length along Z and not half length

G4double pY=3.0*mm; // Length along y

G4double pX=3.0*mm; // Length along x

G4double pLTX=0.0001*mm; // Length along x at the narrower side (plTX<=pX)

G4Trap *solidTrapez= new G4Trap("solidTrapez", pZ, pY, pX, pLTX);

G4LogicalVolume * Trapez = new G4LogicalVolume(solidTrapez,

Silicon,

"Trapez",

0,0,0);

Cheers

A.H.

 Add Message Add Message
to: "Re: Right Angle Prism"

 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 ]