Message: G4VPVParameterisation::ComputeSolid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4VPVParameterisation::ComputeSolid 

Forum: Geometry
Date: 10 Oct, 2007
From: Patrick Sizun <Patrick Sizun>

Hello all,

Is there any complete example implementing the ComputeSolid method of G4VPVParameterisation to change the solid depending on the copy number ?

What I need is to setup a mask with closed and open cells, where some cells are perfectly square and others have rounded corners. Should I create all the required solids (G4Box, G4SubtractionSolid), give them to the constructor of my class derived from G4VPVParameterisation, and implement ComputeSolid?

Thank you for sharing your expertise. Patrick

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

1 Feedback: Re: G4VPVParameterisation::ComputeSolid   (Gabriele Cosmo - 18 Oct, 2007)
 Add Message Add Message
to: "G4VPVParameterisation::ComputeSolid"

 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 ]