Message: GDML equvalent geometry definition Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GDML equvalent geometry definition 

Forum: Geometry
Date: Dec 11, 05:04
From: Jerzy Manczak <Jerzy Manczak>

Hello,

I encountered the following problem in my Geant4 application using geometry defined in GDML format. The definitions of the detector geometry, which suppose to be equivalent give different simulation results in the end. Let me give you an example.

This code:

<variable name="OMz1" value="-51" />
<constant name="String1X"  value="-0.955" />
<constant name="String1Y"  value="-4.625" />
(...)
<loop for="OMz1" to="52" step="6">
	<physvol>
	<volumeref ref="StoreyVolume" />
	<position unit="m" x="String1X" y="String1Y" z="-OMz1"/>
	<rotationref ref="identity"/>
	</physvol>
</loop>

ends up with different results than this code:

<position name="PosString1_0" unit="m" x="-0.955" y="-4.625" z="51"/>
<position name="PosString1_1" unit="m" x="-0.955" y="-4.625" z="45"/>
(...)
<position name="PosString1_17" unit="m" x="-0.955" y="-4.625" z="-51"/>
(...)
<physvol>
	<volumeref ref="StoreyVolume"/>
	<positionref ref="PosString1_0"/>
	<rotationref ref="identity"/>
</physvol>
<physvol>
	<volumeref ref="StoreyVolume"/>
	<positionref ref="PosString1_1"/>
	<rotationref ref="identity"/>
</physvol>
(...)
<physvol>
	<volumeref ref="StoreyVolume"/>
	<positionref ref="PosString1_17"/>
	<rotationref ref="identity"/>
</physvol>

Everything is placed in exactly the same World Volume and the volumes I'm reffering to in the code are also exactly the same. Can someone explain me where the difference might come from? It seems like the detector geometry implemented in both versions is the same.

Regards Jerzy

 Add Message Add Message
to: "GDML equvalent geometry definition"

 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 ]