Re: Re: [fluka-discuss]: How to set up a time-dependent source and scoring ?

From: 杨博 <b-yang12_at_mails.tsinghua.edu.cn>
Date: Wed, 5 Oct 2016 21:55:59 +0800 (GMT+08:00)

Dear Giuseppe and Francesco,

Thanks for your comments.
I have another question about the ATRACK variable which represents the age of particle. If i try to
obtain the absolute time distribution of generated photons into the detector, the time when the photon
is generated is needed and how should i get this "time" ?

Best regards

Bo Yang
> -----原始邮件-----
> 发件人: "Francesco Cerutti" <Francesco.Cerutti_at_cern.ch>
> 发送时间: 2016-10-05 20:32:03 (星期三)
> 收件人: "Giuseppe Battistoni" <giuseppe.battistoni_at_mi.infn.it>
> 抄送: "杨博" <b-yang12_at_mails.tsinghua.edu.cn>, "FLUKA discussion" <fluka-discuss_at_fluka.org>
> 主题: Re: [fluka-discuss]: How to set up a time-dependent source and scoring ?
>
>
> Hi,
>
> concerning the second half of the question (time dependent scoring), there
> is the TCQUENCH card that limits a USRBIN scoring until a given time
> value, otherwise you can code your own filter in comscw.f (or fluscw.f if
> it applies) using the ATRACK variable available in (TRACKR) (to be
> INCLUDEd in fluscw.f).
>
> Kind regards
>
> Francesco
>
> **************************************************
> Francesco Cerutti
> CERN-EN/STI
> CH-1211 Geneva 23
> Switzerland
> tel. ++41 22 7678962
> fax ++41 22 7668854
>
> On Wed, 5 Oct 2016, Giuseppe Battistoni wrote:
>
> > Yes, you can.
> > The time of primary in assigned to 0 by default.
> > In fact you can see in source.f the following line:
> > AGESTK (NPFLKA) = +ZERZER
> >
> > Now, for instance, you can replace that line with the following
> > ones:
> >
> > CALL FLNRRN (RGAUSS)
> > AGESTK (NPFLKA) = RGAUSS*1.0D-12
> >
> > The call to FLNRRN returns a pseudo-random number RGAUSS sampled
> > from a normal gaussian distribution
> >
> > In such a way you the time of injection of your
> > primaries will be normally distributed with
> > mean = 0 and sigma = 1 ps
> >
> > Best
> > Giuseppe Battistoni
> >
> > On 05/10/16 05:54, 杨博 wrote:
> >> Dear Fluka experts,
> >>
> >> I am doing a simulation where relativistic electrons interact
> >> with the high-Z target.
> >>
> >> is it possible to use the source.f Routine to define a electron source
> >> with a time distribution of Gauss function (e.g.FWHM= 1
> >> picosecond) and then score the time distribution of generated photons
> >> into the detector?
> >>
> >> I check the FLUKA Manual but can not find a possible solution. Any
> >> suggestion would be appreciated. Thank you
> >>
> >> Best Regards
> >>
> >> Bo Yang
> >>
> >>
> >>
> >>
> >
> > --
> > INFN Milano
> > via Celoria 16, 20133 Milano
> > tel: +39 02 50317307
> > fax: +39 02 50317617
> >
> > __________________________________________________________________________
> > You can manage unsubscription from this mailing list at
> > https://www.fluka.org/fluka.php?id=acc_info
> >
> >
> >




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id琧_info
Received on Wed Oct 05 2016 - 17:20:43 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 05 2016 - 17:20:53 CEST