Re: FLUKA: Access to information
Use option DUMPTHEM with WHAT(1) = 100. and WHAT(3) = 1. (see the
manual for the other WHATs). This will activate a user routine MGDRAW
(a template can be found in directory usermvax).
The properties of beam or source particles are available under
ENTRY SODRAW.
Even without any user modification, the properties of the beam
particles are printed: here is a summary taken from a recent addition to
the manual:
SODRAW (source particle dumping)
No arguments
SODRAW writes by default, for each source or beam particle:
-NCASE (in COMMON CASLIM, with a minus sign to identify
Sodraw output): number of primaries followed so far
LSTACK (in COMMON STACK): stack pointer
LSTMAX (in COMMON STACK): highest value of the stack pointer
encountered so far
TKESUM (in COMMON EPISOR): total kinetic energy of the
primaries of a user written source (see source.f
here below), if applicable. Otherwise = 0.0
WEIPRI (in COMMON STARS): total weight of the primaries
handled so far
Lstack times: ILO: type of source particle
TKE+AM: total particle energy(kinetic + mass)
WT: source particle weight
XA, YA, ZA: source particle position
TX, TY, TZ: source particle direction cosines
Of course, any of the above can be modified by the user. In this case,
however, you must re-compile and link the modified routine.
I hope this answers your question
Alberto
On Tue, 17 Apr 2001, foucher wrote:
> Dear FLUKA users,
>
> I have got a proton (or a neutron) beam of energy E which interact with
> a thin Lead target.
> I would like to get some information about particle production:
> - the position (x,y,z) of the emitted particles in the target
> - the energy of the emitted particles
> - the direction of the particles
>
> Is there anyone who could tell me how to get these informations.
> Thanks in advance.
>
> Yann FOUCHER
> Paul Scherrer Institut
>
>
--
Alberto Fassò
CERN-EP/AIP, CH-1211 Geneve 23 (Switzerland)
Phone: (41 22) 767 2398 Fax: (41 22) 767 9480 Alberto.Fasso@cern.ch
Partial thread listing: