RE: [fluka-discuss]:

From: Eleftherios Skordis <eleftherios.skordis_at_cern.ch>
Date: Sun, 26 Mar 2017 09:58:59 +0000

Dear Victor,

you should use it as a rule (or just dump it and filter by post-processing). Every time MGDRAW is called the information is already present in the variables and you can extract it.
What you wrote is one valid way of doing it. However keep in mind that to get the information for optical photon absorption you have to enter your user code in the Event End DRAWing (EEDRAW) part of MGDRAW and enable that function by the USERDUMP.

Kind regards

Lefteris


-----------------------

Eleftherios Skordis
Dep. EN/STI, CERN
CH-1211 GENEVA 23
SWITZERLAND

OFFICE: +41-22-7679541<tel:%2B41-22-7675461>
________________________________
From: ÷¦ËÔÏÒ òÏĦΠ[viktor94_at_knu.ua]
Sent: 26 March 2017 09:21
To: Eleftherios Skordis
Cc: Christian Grambow (christian.grambow_at_hs-furtwangen.de); fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]:

Dear Lefteris

I'm not fully understood how ICODE is working . Do we use it as rule in the IF requition or simply set it in the begining of the code?If I want receive, for example, optical photon absorption,must I use ICODE = 50?
IF(MREG .EQ. 5 .AND. NEWREG .EQ. 6) THEN
 IF(ICODE .EQ. 50) THEN
      WRITE(88,'(1P,6G12.5)') XSCO, YSCO, ZSCO, ETRACK, AGOPPH, ATRACK
      END IF

Best regards,
Viktor

2017-03-25 23:30 GMT+02:00 Eleftherios Skordis <eleftherios.skordis_at_cern.ch<mailto:eleftherios.skordis_at_cern.ch>>:
Dear Christian,

since you are new to FLUKA I suggest you have a look in the lessons of the FLUKA courses. Specific to your question the following slides will be quite useful to better undestand what you should do.
https://indico.cern.ch/event/489973/contributions/2000440/attachments/1272042/1972478/09_AdvancedUserRoutines2016.pdf

You can get the information you are after by using the MGDRAW routine. MGDRAW has an entry (USDRAW) which is called whenever you have an interaction (if you activated with the USERDUMP card). In particular, you can distinguish the type of interaction (via the value of ICODE) along with the current region/position in the geometry (via MREG, XSCO, YSCO, ZSCO) and you could access information about secondaries produced in this interaction (looping over particles in GENSTK).

Kind regards

Lefteris


-----------------------

Eleftherios Skordis
Dep. EN/STI, CERN
CH-1211 GENEVA 23
SWITZERLAND

OFFICE: +41-22-7679541<tel:%2B41-22-7675461>
________________________________
From: owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it> [owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it>] on behalf of Christian Grambow (christian.grambow_at_hs-furtwangen.de<mailto:christian.grambow_at_hs-furtwangen.de>) [christian.grambow_at_hs-furtwangen.de<mailto:christian.grambow_at_hs-furtwangen.de>]
Sent: 25 March 2017 19:24
To: fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>
Subject: [fluka-discuss]:

Dear FLUKA experts,

I have s small question about FLUKA. I have a simple geometry in my input file consisting of a CO-60 source and some water phantoms infront of the source.
I want to simulate Photon interactions with my source and the phantoms (material will be changed later).
My question is: How can I score/find out/track or whatever which interactions took place in the run?
Is there a possibility to see how many times photo effects, pair productions, compton effects etc. happened during the run?

I am an absolute beginner with FLUKA. But I can't find an answer to this.

Thanks a lot for your help!

Chris



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sun Mar 26 2017 - 13:09:37 CEST

This archive was generated by hypermail 2.3.0 : Sun Mar 26 2017 - 13:09:48 CEST