Re: [ROOT] TGeo and coordinate system

From: Andrei Gheata (
Date: Tue Aug 03 2004 - 12:13:20 MEST

Hi Ahmet,

Sorry for no answer, I have been in holidays. The answer to your 
question is :
- yes, but only if R is positioned inside O (which is probably not 
exactly what you want). The idea is that you always position objects 
with respect to the coordinate system of their container, e.g:
    container->AddNode(R, cpyNo, mat);
where: mat is the matrix defining the position of R with respect to 


Ahmet Sedat Ayan wrote:

>Hi all,
>With the TGeo package i am trying to create a geometry. I place the
>objects with the  AddNode as;
>    rootbox->AddNode(R, 1, tr10);
>    rootbox->AddNode(O, 1, tr11);
> I would like to know if one can place the object "O" relative to "R", I
>mean can I define "O" in the coordinate system of "R" ?( tr11  relative to
>origin of "R")
>thanks much,
>Ahmet Sedat Ayan
>Physics & Astronomy Dept.
>Van Allen Hall
>University of Iowa
>Iowa City, IA, 52242
>Voice      : (++ 1 319) 335-1941 (W) (GMT-6)
>Occupation : Ph.D (But still dreamer!)
>e-mail     :
>web        :

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET