Re: source.f energy spectrum

From: Patrick Dethlof <>
Date: Mon, 1 Aug 2011 23:53:57 +0200

Good evening.

I thought about a solution with a scoring card?

Is there a card to score a spectrum? It would even be awesome when a
could score a photonspectrum generated by electron beam hitting a
target. Just the way of an linear accelerator.

Thanks for your help.

2011/8/1 Alberto Fasso' <>:
> On Fri, 29 Jul 2011, Patrick Dethlof wrote:
>> Is there a way to score the spectrum generated by my source?
> You can put a WRITE statement in the ENTRY SODRAW of the mgdraw user
> routine.
> That ENTRY is called every time a source particle is taken from stack.
> Actually a WRITE statement is already present in the default version
> that is present in your usermvax directory:
> =A0 =A0 & =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SNGL (WEIPRI)
> It writes in binary form the current number of beam particles followed,
> the Fluka stack pointer,the highest value of the stack pointer ever reach=
> in the run, the total kinetic energy of the primaries of the user written
> source, and the total weight of the primaries handled.
> You can replace it by a statement writing in ASCII format the energy and
> the weight of each source particle: TKEFLK(NPFLKA), WTFLK(NPFLKA).
> And you must activate the call with a command USERDUMP with WHAT(1)=3D100=
> and WHAT(3)=3D1.
> But it is much simpler to put a WRITE statement directly in the source
> routine.
> Alberto
Received on Wed Aug 03 2011 - 09:35:00 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 03 2011 - 09:35:01 CEST