Re: [fluka-discuss]: discarding particles from inelastic interaction

From: Francesc Salvat-Pujol <francesc.salvat.pujol_at_cern.ch>
Date: Tue, 12 Jun 2018 09:17:51 +0200

Dear Shirley,

Touching WTRACK is not a good idea. Note that mdstck.f includes
(GENSTK), which contains WEI(IP), the weight of the IP-th secondary.

Cesc


On Fri, Jun 08 2018, at 14:58 -0700, Shirley Li wrote:
>
>Dear Francesc,
>
>Thank you very much for your reply!
>
>It seems like I can also access particles before they are loaded into stack
>by the user routine mdstck.f. In mdstck, there is no equivalence of "WEE"
>variable, so I tried to directly modify WTRACK with INCLUDE '(TRACKR)'. Do
>you know if these two approaches are the same or I really shouldn't
>directly modify WTRACK parameter? I wanted to use mdstck because it has
>information of the previous interaction type.
>
>Thank you!
>
>Best,
>Shirley
>
>
>
>On Thu, Jun 7, 2018 at 6:14 AM, Francesc Salvat-Pujol <
>francesc.salvat.pujol_at_cern.ch> wrote:
>
>> Dear Shirley,
>>
>> If you are comfortable with user routines, maybe the usrmed.f user
>> routine can be helpful in your situation. This subroutine is called (if
>> requested via a MAT-PROP card) every time that a particle is taken from
>> the stack, ready to be transported, and at every boundary crossing.
>>
>> If you INCLUDE '(TRACKR)' , you will have access to the variable LTRACK,
>> which provides you with the generation number of the particle (1 for
>> primary, 2 for secondary, etc). Combining this with the particle kinetic
>> energy you should be able to implement the logics you need.
>>
>> See the manual for usrmed.f and MAT-PROP for further details.
>>
>> Hope this helps,
>>
>> Cesc
>>
>> On Sun, Jun 03 2018, at 16:13 -0700, Shirley Li wrote:
>>
>>>
>>> Dear FLUKA users,
>>>
>>> I'm simulating particle interaction in liquid scintillator. I'm wondering
>>> if there is a way to discard secondary particles produced in inelastic
>>> interactions with energy below certain values (to mimic detection
>>> threshold
>>> effect)?
>>>
>>> I tried THRESHOLd card, but it also discard particles reaching below the
>>> threshold by continuous energy loss. I would like to keep that
>>> propagation.
>>>
>>> Thank you ver much!
>>>
>>> Shirley
>>>
>>
>> --
>> Francesc Salvat Pujol
>> CERN-EN/STI
>> CH-1211 Geneva 23
>> Switzerland
>> Tel: +41 22 76 64011
>> Fax: +41 22 76 69474
>>

--
Francesc Salvat Pujol
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
Tel: +41 22 76 64011
Fax: +41 22 76 69474
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jun 12 2018 - 10:28:21 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 12 2018 - 10:28:23 CEST