Re: source.f

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Thu, 20 May 2010 13:57:47 +0200 (CEST)

Dear Emre,
You should set PHOTON in the BEAM card, since you are using photons as
primary particles in your source. The energy in the BEAM card should be
a bit larger than the maximum photon energy in your file. It is used t
prepare tabulations in the initialization stage.
The beam size in the input is not needed, and it would not be used since
you call a source.
There is an error in the source.f routine: you slect a random N to choose
a photon, but then you always
charge in the stack the position and direction corrisponding to photon
number NIN i.e. the last one.
Hope this helps
I take the occasion to remind that we plan an advanced course, where
questions like this will be answered! Dead line for aplications is near!
Paola

Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148
Received on Thu May 20 2010 - 14:47:10 CEST

This archive was generated by hypermail 2.2.0 : Thu May 20 2010 - 14:47:10 CEST