Geometry transformations

From: Senger, Anna Dr. <A.Senger_at_gsi.de>
Date: Wed, August 24, 2011 11:41 am

Dear FLUKA Flexperts.

I try to build RICH detector. For that I need to transform one body
several times. I tried to do that, using one transformation (for example,
rotation) in other (translation) (see below). I use FLAIR, and FLAIR
allows to do that. But the FLUKA crashes with error: *** Start_transform
directive without corresponding End_transform, execution terminated ***
Is there possibility in FLUKA for such transformations?

Best regards
Anna Senger

Here one example of the code:

$start_translat 1237 770 2260
*
* =============================================
* RICH
* =============================================
*
RPP RICHal -209.812 209.812 -193.208 193.208 0.0 190.
RPP RICHk1 -209.212 209.212 -192.708 192.708 0.0 0.025
RPP RICHk2 -209.212 209.212 -192.708 192.708 189.975 190.
RPP RICHg -209.322 209.322 -192.708 192.708 0.025 189.975
$start_transform -mRot1
RPP RICHm1 -208. 208. 0.0 64.236 170. 170.06
$end_transform
$start_transform -mRot2
RPP RICHm4 -208. 208. -192.708 -128.472 170. 170.06
$end_transform
RPP RICHm2 -208. 208. 64.236 128.472 156. 156.06
RPP RICHm5 -208. 208. -128.472 -64.236 156. 156.06
$start_transform mRot1
RPP RICHm3 -208. 208. 128.472 192.708 170. 170.06
$end_transform
$start_transform mRot2
RPP RICHm6 -208. 208. -64.236 0.0 170. 170.06
$end_transform
$start_transform -zRot1
$start_transform -yRot
RPP PhD1 0.0 100. 97.5 157.5 20. 20.05
$end_transform
$end_transform
$start_transform -zRot1
$start_transform yRot
RPP PhD2 0.0 100. -157.5 -97.5 20. 20.05
$end_transform
$end_transform
$start_transform zRot1
$start_transform -yRot
RPP PhD3 -100. 0.0 97.5 157.5 20. 20.05
$end_transform
$end_transform
$start_transform zRot1
$start_transform yRot
RPP PhD4 -100. 0.0 -157.5 -97.5 20. 20.05
$end_transform
$end_transform
$end_translat

Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148
------=_20110824115044_23713
Content-Type: text/html; name="untitled-2"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="untitled-2"

<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088"></HEAD>
<BODY>
<DIV dir=ltr>Dear FLUKA&nbsp;Flexperts.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I try to build RICH detector. For that I need to transform one body several times. I tried to do that, using&nbsp;one transformation (for example, rotation) in other (translation) (see below). I use FLAIR, and FLAIR allows to do that. But the FLUKA crashes with error: *** Start_transform directive without corresponding End_transform, execution terminated ***</DIV>
<DIV dir=ltr>Is there possibility in FLUKA&nbsp;for such transformations?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Best regards</DIV>
<DIV dir=ltr>Anna Senger</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Here one example of the code:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>$start_translat&nbsp; 1237 770 2260<BR>*<BR>* =============================================<BR>* RICH<BR>* =============================================<BR>*<BR>RPP RICHal&nbsp;&nbsp;&nbsp;&nbsp; -209.812 209.812 -193.208 193.208 0.0 190.<BR>RPP RICHk1&nbsp;&nbsp;&nbsp;&nbsp; -209.212 209.212 -192.708 192.708 0.0 0.025<BR>RPP RICHk2&nbsp;&nbsp;&nbsp;&nbsp; -209.212 209.212 -192.708 192.708 189.975 190.<BR>RPP RICHg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -209.322 209.322 -192.708 192.708 0.025 189.975<BR>$start_transform&nbsp; -mRot1<BR>RPP RICHm1&nbsp;&nbsp;&nbsp;&nbsp; -208. 208. 0.0 64.236 170. 170.06<BR>$end_transform<BR>$start_transform&nbsp; -mRot2<BR>RPP RICHm4&nbsp;&nbsp;&nbsp;&nbsp; -208. 208. -192.708 -128.472 170. 170.06<BR>$end_transform<BR>RPP RICHm2&nbsp;&nbsp;&nbsp;&nbsp; -208. 208. 64.236 128.472 156. 156.06<BR>RPP RICHm5&nbsp;&nbsp;&nbsp;&nbsp; -208. 208. -128.472 -64.236 156. 156.06<BR>$start_transform&nbsp; mRot1<BR>RPP RICHm3&nbsp;&nbsp;&nbsp;&nbsp; -2!
 08. 208. 128.472 192.708 170. 170.06<BR>$end_transform<BR>$start_transform&nbsp; mRot2<BR>RPP RICHm6&nbsp;&nbsp;&nbsp;&nbsp; -208. 208. -64.236 0.0 170. 170.06<BR>$end_transform<BR>$start_transform&nbsp; -zRot1<BR>$start_transform&nbsp; -yRot<BR>RPP PhD1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0 100. 97.5 157.5 20. 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform&nbsp; -zRot1<BR>$start_transform&nbsp; yRot<BR>RPP PhD2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0 100. -157.5 -97.5 20. 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform&nbsp; zRot1<BR>$start_transform&nbsp; -yRot<BR>RPP PhD3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -100. 0.0 97.5 157.5 20. 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform&nbsp; zRot1<BR>$start_transform&nbsp; yRot<BR>RPP PhD4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -100. 0.0 -157.5 -97.5 20. 20.05<BR>$end_transform<BR>$end_transform<BR>$end_translat</DIV></BODY></HTML>
------=_20110824115044_23713--
Received on Wed Aug 24 2011 - 12:17:47 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 24 2011 - 12:17:48 CEST