RE: Add a file

From: Joachim Vollaire <joachim.vollaire_at_cern.ch>
Date: Thu, 6 May 2010 00:40:56 +0200

Dear Emre
You need to write a source routine to read the information in your file
and then sample from this particle distribution. I am adding a link to a
presentation I gave a few years ago where there is an example (for protons)
where X, Y, px and py are readen from an external file. You can easily adapt
the example to resolve your specific problem

http://info-fluka-discussion.web.cern.ch/info-fluka-discussion/talks/Vollaire_Activation_ApplicationDump_150307.pdf

Hope it helps
Joachim

-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it on behalf of Emre EROGLU
Sent: Thu 4/29/2010 10:39 AM
To: fluka-discuss_at_fluka.org
Subject: Add a file
=20
Hi all,

I have a file which is photons generated from 5GeV=20
incident electron beam with Geant4 (not Fluka). There are 5 columns in it.
The first and second columns are x and y
position in cm, the 3, 4 and 5 columns are px , py and pz in MeV.
I want to send these photons to a target with Fluka.
Is it possible? and how can i do that?

Regards,

Emre EROGLU
Uludag University
High Energy Physcics
Received on Thu May 06 2010 - 13:39:54 CEST

This archive was generated by hypermail 2.2.0 : Thu May 06 2010 - 13:39:54 CEST