[fluka-discuss]:

From: <pennazio_at_to.infn.it>
Date: Wed, 29 Jan 2014 14:15:13 +0100

Dear FLUKA users,
I am pretty new in FLUKA and I need to extract data event-by-event about
energy deposition in a detector. To accomplish this task I am using the
subroutine MGDRAW in mgdraw.f and also the entry ENDRAW in the same file.
Since the detector consists of several identical blocks, I am using a
lattice geometry. The detector region is placed in a parking inside the
blackbody, and then should be accessible by particles only through lattice
transformation.
I'm confused on how to get the correct lattice number in MGDRAW, in order
to recognise in which detector "copy" there is energy deposition. I
included the common LTCLCM to use the variable MLATTC, but in some cases I
have energy deposition (i.e. DTRACK or RULL not zero) in the detector
region with MLATTC = 0. In this cases I check the variables Lt1trk and
Lt2trk of TRACKR (which contains "initial or final lattice cell of the
current track") and they have a non-zero number.
I think I followed step-by-step the "geometry" lesson of the advanced
FLUKA course....
Any suggestion?
Thank you in advance
Francesco Pennazio
Received on Wed Jan 29 2014 - 15:54:27 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 29 2014 - 15:54:27 CET