|Message: Re: cylinder overlapping : similar problem!||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)|
Hi all, I am currently having very similar problem to Marie-Anne. For example I am attempting to build a cylinder with inner radius 5 m, outer radius 7.25 m, height 0.2 m; however, I would like to build it out of 12, 30-degree G4Tubs sections placed immediately next to each other along an azimuthal line to construct the full 360-degree cylinder. I have tried two different methods. 1) Build the 12 G4Tubs sections by passing 0-degree and 30-degree in the constructor for Sphi and Dphi, and then rotating the section by 30, 60, 90 degrees etc to place the object appropriately 2) Build the 12 G4Tubs sections by passing (0*degree,30*degree) for section 1, (30*degree,60*degree), for section 2, etc so that I auto- matically build the sections into place. Both the GEANT4 "geometry/test/cylinder_test" method and DAVID visualization report that ALL 12 sections overlap, despite the fact that one G4Tubs section should end *exactly* where another begins. Also, GEANT4 reports all sorts of navigation errors during run-time. Changing the Dsphi argument from "30*degree" to "29.99*degree" causes only 2 sections to overlap using DAVID. Changing to "29*degree" causes 4 sections to overlap even though they do not touch any other objects!! I do not understand why. Can anyone provide any insight into this apparently basic geometry problem? I could post source code if needed. Thanks very much!
|Inline Depth:||Outline Depth:||Add message:|