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

None Re: G4Region 

Forum: Geometry
Re: Question G4Region (Michael Douglass)
Date: 03 Sep, 2012
From: Makoto Asai <Makoto Asai>


You may define yet another region for your inner box.
If you do *not* specify any property to this inner region,
it inherits by definition all the properties from the
default region.


On 9/3/12 8:41 PM, "Michael Douglass" <>

>*** Discussion title: Geometry
>I was wondering if it is possible to add a root logical volume to the
>Default world region.
>In my geant simulation I have the world volume. The world volume
>contains a box. This box contains a daughter volume which is also a box.
>When I create a region for the outer box it includes the inner box as
>part of that region. I do not want the inner box to be part of my new
>region. I would like it to be part of the default world region.
>Is there a way to access the default world region and add the inner
>water box as part of that region?
>I have tried
>G4Region* deafultRegion = logicWorld->GetRegion();
>logicWorld->GetRegion() returned a value of 0 which resulted in a
>segmentation fault when the second line got executed.
>Any suggestions would be greatly appreciated.
>Thank you
>Visit this GEANT4 at message (to reply or
>unsubscribe) at: 

 [ MIME part of type application/ms-tnef stripped ]

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

1 More: Re: G4Region   (Michael Douglass - 03 Sep, 2012)
(_ None: Re: G4Region   (Asai, Makoto - 03 Sep, 2012)
 Add Message Add Message
to: "Re: G4Region"

 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 ]