Message: how to define detector with GDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question how to define detector with GDML 

Forum: Geometry
Date: 29 Sep, 2016
From: panda <panda>

I want to define a detector,the detector include inner detector and outer detector. the inner detector made by si,and the outer detector made by Al,so how to define the whole detector? the size of inner detector is 10mm,10mm,2mm the size of outer detector is 6mm,6mm,2mm I think the detector like this :
<rotation name="r" x-"0" y="0" z="0" unit="radian"/>
<position name="center" x="0" y="0" z="0" unit="mm"/>
<box name="A" x="20" y="20" z="20" lunit="mm"/>
<box name="a1" x="10" y="10" z="2" lunit="mm"/>
<box name="a2" x="6" y="6" z="2" lunit="mm"/>
<volume name="b2">
<solidref ref="a2"/>
<materialref ref="Al"/>
<volume name="b1">
<solidref ref="a1"/>
<materialref ref="si"/>
<volumeref ref="b2"/>
<rotationref ref="r"/>
<positionref ref="center"/>
<volume name="world">
<solidref ref="A"/>
<materialref ref="air"/>
<volumeref ref="b1"/>
<rotationref ref="r"/>
<positionref ref="center"/>
.... is it right?I use the software,so I'm not sure whether it is right. someone can help me?thanks

 Add Message Add Message
to: "how to define detector with 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 ]