RE: [fluka-discuss]: Photon and electron coincidence event by event.

From: Maarten Van Dijk <maarten.van.dijk_at_cern.ch>
Date: Thu, 23 Nov 2017 08:52:12 +0000

Dear Adam,

I'm not one of the Fluka experts, but I think I may be able to help you with this. For one of my own Fluka simulations I use a different type of card (userdump) which checks every particle when it passes through the boundary of two regions, and prints its information to a text file. You will need to put a userdump (all) card in your fluka input, and add the attached mgdraw.f when compiling and running.

You will have to make some modification:
-Change the region numbers in the mgdraw.f to ensure that the crossing you want is indeed from and to the correct region number
-Set the userdump card to save to the same number as the mgdraw.f
-Implement any IF conditions to the particles being printed
-Adjust the variables you'd like to be printed

In this case, since the event number is printed with all the other information, you should be able to identify easily which of the particles are in coincidence since they would be in the same event number.

You will find the mgdraw.f attached. Hope this is what you needed :)

Regards,

Maarten


-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of adwasil
Sent: 23 November 2017 09:04
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Photon and electron coincidence event by event.

Dear FLUKA experts.
I need to find the position of the particles crossing the boundary between the areas of SFERA.I and DET. I use the USERWEIG card and the fluscw_TwoSteps.f procedure to save the needed data to *.99 file. Everything works fine, but I have a problem because I need to find the position of the photon and the electron if they are in coincidence, the pairs generated from the same photon of the primary beam.
Is there a simple way to find such coincidences?
I have an idea to modify the output from fluscw_TwoSteps.f in such a way that either write to the *.99 file an additional parameter which is the number of the primary beam photon and then search for such pairs or better add the condition to fluscw_TwoSteps.f to write only such pairs to *.99 file . Unfortunately I do not quite know how to do it.
I attach my input files.
Regards
Adam Wasilewski


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Thu Nov 23 2017 - 11:02:53 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 23 2017 - 11:02:58 CET