[G12] G12 Yield
Eugene Pasyuk
pasyuk at jlab.org
Wed Apr 20 23:22:51 EDT 2011
I looked into the gflux code and discovered that there is a problem if
we run it on entire run at once. The way it is now it has a storage
reserved for only 50 intervals. This is fine for single file. However,
The whole run in g12 may have over 700 intervals. In that case it will
produce the flux for the first 50 intervals.
The fix is simple, as follows.
At the beginning of the gflux.c file in the section where some global
variables are declared and initialized there is a line:
int timeline = 50;
This number should be change to something which is larger than the
longest run duration in units of 10 sec. 1000 probably should be enough.
-Eugene
mkunkel at jlab.org wrote, On 04/20/11 21:38:
> Greetings G12,
>
> I had promised the new Yield Plots, however I have found a new bug in the
> GFlux calculator script.
> When I run the script, I returns me a higher gflux then what was initially
> there.
> I have attached a plot depicting this discrepancy and was wondering if
> this can get looked into.
>
> Thanks
> MK
>
>
>
> _______________________________________________
> G12 mailing list
> G12 at jlab.org
> https://mailman.jlab.org/mailman/listinfo/g12
More information about the G12
mailing list