RE: Add a file

From: Joachim Vollaire <>
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

Hope it helps

-----Original Message-----
From: on behalf of Emre EROGLU
Sent: Thu 4/29/2010 10:39 AM
Subject: Add a file
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?


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