Message: Re: Geometry Parameterization Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Geometry Parameterization 

Forum: Geometry
Re: Question Geometry Parameterization (Matt Worden)
Re: More Re: Geometry Parameterization (Matt Worden)
Date: Oct 07, 03:50
From: John Apostolakis <John Apostolakis>

Matt,

Thanks for your explanation, and the code.  To give a quick answer, I  
will look first at your description rather than the code. ( That can  
follow.)

The key question regarding is whether all to solids which are created  
have the same shape or not.  It appears not. If so, you can use one  
solid per channel, and build it by subtracting the sphere from a tubs.  
If the tubs' dimensions are the same, you can use just one.

To use pseudo-code, I would create it as follows:
     Tubs-minus-solid_no1 =  Subtraction ( Tubs,  Sphere,  
translation_no1 )
  and of course loop over this for the different subtractions.

  For a small geometry it is not an overhead to create one  
(subtraction) solid per physical Tubs-like instances.

  I hope that this suggestion enable you to create the setup.

  Best regards,
     John

On Oct 7, 2009, at 12:17 PM, Matt Worden wrote:

> Yes my channels are overlapping with the sphere. I have Added a  
> picture
> of the geometry to help explain what I am doing. To solve this over  
> lap
> problem I think I need to use a subtraction solid. I am not sure the
> best way to implement this though. Since the channels are meeting  
> with a
> sphere at slightly different locations, each channel is going to be
> slightly different. Here is a snippet of my code. Any suggestions on  
> how
> to implement the subtraction solid so that the channels meet with the
> sphere would be greatly appreciated.

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

1 Question: Re: Geometry Parameterization   (Matt Worden - Oct 09, 06:52)
(_ Question: Photons traveling form one solid to another touching one   (Matt Worden - Oct 19, 03:09)
 Add Message Add Message
to: "Re: Geometry Parameterization"

 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 ]