Re: [fluka-discuss]: Area under the curve

From: jilberto Zamora Saa <jzamorasaa_at_jinr.ru>
Date: Mon, 5 Nov 2018 18:12:55 -0300

Dear Andrea:

Concerning my previous question, Im looking into the Fluka .out file (attached), specifically the section “Number of decay products produced per beam particle:”. So, the total number of electrons is 2.0000E-04 or not? This number is too small or not?


Thank in advance,
Jilberto


> On Nov 1, 2018, at 2:20 PM, Andrea Fontana <andrea.fontana_at_pv.infn.it> wrote:
> Hi Jilberto,
> you can also find this information at the end of the Fluka .out
> file or count the particles with MGDRAW.
>
> Andrea
>
> Il 01/11/2018 12:10, jzamorasaa_at_jinr.ru <mailto:jzamorasaa_at_jinr.ru> ha scritto:
>> Dear Andrea
>>
>> First of all, than a lot!!
>>
>> The purpose of my previous question was concerning to calculate the total number of electrons or positrons (in my case) which are produced for one primary, then, and just to be sure, the total number of electron correspond to the area under the curve, right?
>>
>> Thank in advance,
>> Jilberto
>>
>>
>>
>> Sent from myMail for iOS
>>
>>
>> Thursday, 1 November 2018, 08:02 -0300 from Andrea Fontana <andrea.fontana_at_pv.infn.it>:
>>
>> Dear Jilberto,
>> assuming that you are using Flair to generate the plot, since it
>> is based on gnuplot, you could calculate yourself an approximation
>> of the integral with a quick code. You can find an example with
>> the Simpson's rule in the gnuplot documentation:
>>
>> http://gnuplot.sourceforge.net/demo/bivariat.html
>>
>> These commands could be inserted in Flair in the Plot tab in
>> the lower part of the window. If you save the project, they will
>> also be saved into the .flair file.
>>
>> Best,
>> Andrea
>>
>>
>> Il 01/11/2018 09:52, jzamorasaa_at_jinr.ru
>> <mailto:jzamorasaa_at_jinr.ru <mailto:jzamorasaa_at_jinr.ru>> ha scritto:
>> > Dear Fluka experts
>> >
>> > I’m simulating proton beam hitting a tungsten target. I already
>> got a
>> > plot fluence vs cylinder length, however, I would like to
>> compute the
>> > area under the fluence distribution, let say, the integral.
>> could you
>> > give some advise please?
>> >
>> > In the attached file you can see the plots that I got.
>> >
>> >
>> >
>> >
>> >
>> > Sent from myMail for iOS
>>
>> -- ========================================================================
>> Dr. Andrea Fontana tel: +39 0382 987991
>> Istituto Nazionale fax: +39 0382 423241
>> di Fisica Nucleare
>> Sezione di Pavia e-mail: andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>
>> <mailto:andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>>
>> Via Bassi 6 web : www.pv.infn.it/~fontana <http://www.pv.infn.it/~fontana>
>> <http://www.pv.infn.it/%7Efontana <http://www.pv.infn.it/%7Efontana>>
>> 27100 PAVIA, Italy
>> ========================================================================
>>
>
> --
> ========================================================================
> Dr. Andrea Fontana tel: +39 0382 987991
> Istituto Nazionale fax: +39 0382 423241
> di Fisica Nucleare
> Sezione di Pavia e-mail: andrea.fontana_at_pv.infn.it <mailto:andrea.fontana_at_pv.infn.it>
> Via Bassi 6 web : www.pv.infn.it/~fontana <http://www.pv.infn.it/~fontana>
> 27100 PAVIA, Italy
> ========================================================================
>
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info <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=acc_info
Received on Mon Nov 05 2018 - 23:37:51 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 05 2018 - 23:37:55 CET