|Message: Re: seeking example of building reflected solids||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 Maura, In Geant4 a volume can only be standalone if it is the world volume. I do not see how a reflected volume can be standalone - this would be a very confusing geometry. If indeed you have an unused volume as baseline ( = logicalCalor below ) and use only the (new) reflected volume inside your real geometry as the mother volume, I think that it would likely confuse the Geant4 Geometry modeller. So I strong suggest to avoid doing this, and try to find a way in which your new volume is contained inside another volume (either the 'world' or one of its daughter volumes.) Else, the mother volume has its usual meaning: it is the volume containing the current (reflected) one. Regards, John On 13/08/16 15:04, Maura E.M. wrote: > *** Discussion title: Geometry > > I use Topas but resort to GEANT4 whenever I need a GEANT4 feature that I > cannot retrieve in Topas. I need to include a mirrored solid in my > geometry. I found the following GEANT4 example on-line: > > // Calor reflection with rotation > // > G4Translate3D translation(-Xpos, 0., 0.); > G4Transform3D rotation = G4Rotate3D(*rotD3); > G4ReflectX3D reflection; > G4Transform3D transform = translation*rotation*reflection; > > G4ReflectionFactory::Instance() > ->Place(transform, // the transformation with reflection > "Calorimeter", // the actual name > logicCalor, // the logical volume > logicHall, // the mother volume > false, // no boolean operation > 1); // copy number > > I understand what the logical volume is. Since my solid is stand-alone > what is its mother volume ? Maybe the World ? > > I woud greatly appreciate seeing some complete example of building > reflected solids. Thank you in advance. Best regards, Mauede > > ------------------------------------------------------------- > Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1496.html