|Message: Re: Holes in a triangular pattern in layered strucutre||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Dear Daniel, Please find responses inline below. > On 11 Mar 2015, at 13:50, Daniel M <firstname.lastname@example.org> wrote: > > *** Discussion title: Geometry > > Thank you for your reply, > > So in solution 1, if I have the subelment with just 2 holes, I'm supposed to use G4PVPlacement to make up a layer? Yes. > Do i do this with a for-loop for as many placements as i need to make up a layer? Yes. > Also, how do i properly handle the "mirroring" of the subelements to make the holes line up? You will need to rotate the subelement in which the holes are not aligned - either rotating using the axis perpendicular to the plane we are looking at, or an axis in the plane, in order to get the remaining elements. But you could also create a different sub-element for the other orientations if you prefer. Personally I would use the larger 'cell' volume (the subelement with 3 holes), in order to use a smaller number of placements at the top level, and make the rotations required very simple. > Also, once this is done, do i again make a for loop and insert a cylindrical logical into the holes left in the layer? Yes, you create a separate G4VPVPlacement for each hole, using a logical volume with the cylindrical solid. > That's my interpretation of solution 1. > Is it possible to associate a sensitive detector with both the gas and all the layers? My intention is to collect the energy deposited in the whole structure. I am not an expert in sensitive volumes. Once simple way would be to create a sensitive volume for each gas hole, and another for each layer. You can certainly share a sensitive volume between different logical volumes, but I would try to create separate ones for gas and the 'layer' material. Please look again at the examples of Sensitive volumes, and ask again if you need clarifications. > Not all layers are of the same thickness. > Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1405/1/1.html