Message: Re: GDML Modules-how to define child.gdml Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GDML Modules-how to define child.gdml 

Forum: Geometry
Re: Question GDML Modules-how to define child.gdml (panda)
Date: 27 Sep, 2016
From: Witek Pokorski <Witek Pokorski>

Hi,

your child.gdml needs to be a self-consistent GDML file. You can then use it in other (mother.gdml) file using the syntax:

<physvol>
<file name="child.gdml"/> 
<positionref ref="center"/> 
<rotationref ref="identity"/>
</physvol>

Cheers, Witek

On Wed, 21 Sep 2016 02:37:31 GMT, panda wrote:

> hello everyone, today when I read the "GDML manual", i have something
> can not understand.this is the place i have problem: // mother.gdml
> 
> <volume name="child">
> <materialref ref="Alluminium"/>
> <solidref ref="ChildBox"/>
> </volume>
> <volume name="mother">
> <materialref ref="Iron"/>
> <solidref ref="MotherBox"/>
> <physvol>
> <volumeref ref="child"/>
> <positionref ref="center"/>
> <rotationref ref="identity"/>
> </physvol>
> </volume>
> 
> that program is to add a GDML module (say child.gdml) in a mother module
> (say mother.gdml),and I want to know how to define child.gdml? it just
> define a volume named child ? or need to define all in the
> child.gdml,such as <?xml...>,<gdml...>,material,color,structure,setup
> and so on?
> 

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

1 None: Re: GDML Modules-how to define child.gdml   (panda - 27 Sep, 2016)
1 None: Re: GDML Modules-how to define child.gdml   (Witek Pokorski - 27 Sep, 2016)
(_ Ok: Re: GDML Modules-how to define child.gdml   (panda - 29 Sep, 2016)
2 None: Re: GDML Modules-how to define child.gdml   (panda - 27 Sep, 2016)
 Add Message Add Message
to: "Re: GDML Modules-how to define child.gdml"

 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 ]