Message: Re: seeking example of building reflected solids Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: seeking example of building reflected solids 

Forum: Geometry
Re: Question seeking example of building reflected solids (Maura E.M.)
Date: 15 Aug, 2016
From: John Apostolakis <John Apostolakis>

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

 Add Message Add Message
to: "Re: seeking example of building reflected solids"

 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 ]