Message: Is there different between rotation in Physical Volume and boolean solids ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Is there different between rotation in Physical Volume and boolean solids ? 

Forum: Geometry
Date: 23 Jul, 2014
From: Dong WANG <Dong WANG>

    Recently I do some test in rotation in GDML format and find some different between in Physical Volume and boolean solids . In Physical Volume, the rotation was defined as clockwise by the axis from plus to minus . But while in boolean solid, the rotation seems to be anticlockwise which was different with the rotation in PV.
    The example was as following. In GDML, a tube solid was define as rmax=3, z=300, and the related PV was defined in pos=0,0,0, rotate=14,0,0 (deg). For check the result, a box (2,2,2) was placed in (1,41,151). In this way, the tube was nearby the box . In another way as boolean definition, a intersetion solid was define as a big box and a tube rmax=3, z=300, placed in pos=0,0,0, rotate=14,0,0 (deg). Then a PV related to this boolean solid was defined in pos(0,0,0) and rot(0,0,0) . For check the result, a box (2,2,2) was placed in (1,41,151). In this way, the tube was far away the box which the tube seems to be anticlockwise rotated .
    Is there any different between the rotation in PV and the boolean solids ?

PS: I am very sorry for not upload the pic and the GDML file, but I think the related data had been listed clearly.

 Add Message Add Message
to: "Is there different between rotation in Physical Volume and boolean 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 ]