# RE: Coordinates of prototypes and replicas

From: Chrysostomos Valderanis <Chrysostomos.Valderanis_at_cern.ch>
Date: Mon, 4 Oct 2010 08:12:30 +0200

Dear Stefan,

Thank you very much for your answer. I will definitely try it out! But I
still have a question. In my input file I dont give rotation indexes
explicitely. I use rotation names and let Fluka calculate the correct
index. So, is there also a subroutine to return the transformation index
from the transformation name? (something like GEON2L and GEON2R).

Thank you,
Makis

ps. Since I give the same name to more than one transformations, so that
fluka can use all of them, I do hope that the above requested subroutine
name does return an array of indexes.

________________________________

From: Stefan Roesler
Sent: Sun 03/10/2010 20:27
To: fluka-discuss_at_fluka.org
Cc: Chrysostomos Valderanis Subject: Re: Coordinates of prototypes and replicas

Hi Makis

This info is not in a common but you have to do the transformation calling
the subroutine DOTRSF

SUBROUTINE DOTRSF ( NPOINT, XPOINT, YPOINT, ZPOINT, KROTAT )

Set NPOINT=1, KROTAT=index of your transformation and XPOINT, YPOINT,
ZPOINT to the point which you want to transform.

Be careful, XPOINT, YPOINT, ZPOINT are both input and output variables,
i.e. the original value will be overwritten in DOTRSF. Thus, save the
original coordinates first on a local variable and use them in the DOTRSF
parameter list.

Cheers
Stefan

From: Chrysostomos Valderanis <Chrysostomos.Valderanis_at_cern.ch>
Date: Mon, 13 Sep 2010 15:30:47 +0200

Hello,

I have a geometry based on the use of LATTICE cards with the
corresponding ROT-DEFI cards. When looking for the x,y,z coordinates of
a particle from (TRACKR), I get the absolute coordinates of it. What I