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

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Thu, 1 Nov 2018 18:20:46 +0100

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 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> 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>
> Via Bassi 6 web : www.pv.infn.it/~fontana
> <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
Via Bassi 6                           web   : 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
Received on Thu Nov 01 2018 - 19:29:20 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 01 2018 - 19:29:22 CET