Dear Anna,
actually only the following nested structure is allowed:
$Start_transform [...]
$Start_translat [...]
$Start_expansion [...]
BODY DEFINITION
$End_expansion
$End_translat
$End_transform
but this is not really a serious limitation, since multiple ROT-DEFI cards
sharing the same name (and index) allow you to combine many transformations
into a single one, to apply via $Start_transform . Note that the first (last)
ROT-DEFI card defines the most internal (external) transformation in the
transformation matrix product, i.e. the first (last) one to apply.
Cheers
Francesco
**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854
On Wed, 24 Aug 2011, Senger, Anna Dr. wrote:
> 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 Flexperts.</DIV>
> <DIV dir=ltr> </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 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 for such
> transformations?</DIV>
> <DIV dir=ltr> </DIV>
> <DIV dir=ltr>Best regards</DIV>
> <DIV dir=ltr>Anna Senger</DIV>
> <DIV dir=ltr> </DIV>
> <DIV dir=ltr>Here one example of the code:</DIV>
> <DIV dir=ltr> </DIV>
> <DIV dir=ltr>$start_translat 1237 770 2260<BR>*<BR>*
> =============================================<BR>* RICH<BR>*
> =============================================<BR>*<BR>RPP
> RICHal -209.812 209.812 -193.208 193.208 0.0
> 190.<BR>RPP RICHk1 -209.212 209.212 -192.708 192.708
> 0.0 0.025<BR>RPP RICHk2 -209.212 209.212 -192.708
> 192.708 189.975 190.<BR>RPP RICHg -209.322
> 209.322 -192.708 192.708 0.025 189.975<BR>$start_transform
> -mRot1<BR>RPP RICHm1 -208. 208. 0.0 64.236 170.
> 170.06<BR>$end_transform<BR>$start_transform -mRot2<BR>RPP
> RICHm4 -208. 208. -192.708 -128.472 170.
> 170.06<BR>$end_transform<BR>RPP RICHm2 -208. 208.
> 64.236 128.472 156. 156.06<BR>RPP RICHm5 -208. 208.
> -128.472 -64.236 156. 156.06<BR>$start_transform mRot1<BR>RPP
> RICHm3 -2!
> 08. 208. 128.472 192.708 170.
> 170.06<BR>$end_transform<BR>$start_transform mRot2<BR>RPP
> RICHm6 -208. 208. -64.236 0.0 170.
> 170.06<BR>$end_transform<BR>$start_transform
> -zRot1<BR>$start_transform -yRot<BR>RPP
> PhD1 0.0 100. 97.5 157.5 20.
> 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform
> -zRot1<BR>$start_transform yRot<BR>RPP
> PhD2 0.0 100. -157.5 -97.5 20.
> 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform
> zRot1<BR>$start_transform -yRot<BR>RPP
> PhD3 -100. 0.0 97.5 157.5 20.
> 20.05<BR>$end_transform<BR>$end_transform<BR>$start_transform
> zRot1<BR>$start_transform yRot<BR>RPP
> PhD4 -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 - 15:37:10 CEST
This archive was generated by hypermail 2.2.0 : Wed Aug 24 2011 - 15:37:11 CEST