You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are using 1.9.0, and noticed the gundamCalcXsec output in calcXsec/plots changed from what we saw from 1.7.2. Below, I tried to summarize what are being done for the plot generators:
1.8.3
Initialize weight.nominal = 0 before we throw toys
But weight.current was updated by propagation, so the previous += operation is overwritten
Say the updated weight.current is something like ~0.5; binData is a x-sec, so it's a order of 10^(-37), so besically this += does nothing to weight.current
So in the end, with 1.9.0, we got something like a histogram of given varToPlot, but divided by NToys and number of events of each bin, not the averaged x-sec plot that we used dto get from older release.
Related to this, we have a question on which release is recommend to be used now; it is recommended to use 1.8.x series rather than 1.9.X? We can see 1.8.X are keep being updated recently.
The text was updated successfully, but these errors were encountered:
The current stable release series is 1.8. (For your own sanity, please use the latest released tag, not the 1.8.x which is the release candidate branch).
The 1.9 series are development pre-releases. That code base has some refactoring ideas that will probably be used in the long term, but the changes are rather significant and will require a full validation.
I meant to note that we are actively using 1.8 for T2K analysis, so it's getting all of the very close attention. Changes are being (or intend to be) forward ported to 1.9, but all of the careful bug checking is in 1.8.
Hi, we are using
1.9.0
, and noticed thegundamCalcXsec
output incalcXsec/plots
changed from what we saw from1.7.2
. Below, I tried to summarize what are being done for the plot generators:1.8.3
weight.nominal = 0
before we throw toysgundam/src/Applications/src/gundamCalcXsec.cxx
Line 549 in 1bb4114
binData
is the x-sec of this throwweight.nominal
becomessum_{toys}(x-sec)
sum_{events}( sum_{toys}(x-sec))
BinContent = NEvent * NToys * x-sec
1/NToys/NEventInBin
to get an averated x-sec histogram:gundam/src/Applications/src/gundamCalcXsec.cxx
Line 702 in 1bb4114
x-sec
plot split byvarDictionnaries.dictionary
we defined in our PlotConfig yaml1.9.0
nominal
weights are removed, andcurrent
is usedweight.current = 0
before we throw toyspropagateParameters()
will updateweight.current
tobase weight * RW
weight.current += binData
:gundam/src/Applications/src/gundamCalcXsec.cxx
Line 547 in 40a0ccf
weight.current
was updated by propagation, so the previous+=
operation is overwrittenweight.current
is something like~0.5
;binData
is a x-sec, so it's a order of10^(-37)
, so besically this+=
does nothing toweight.current
So in the end, with
1.9.0
, we got something likea histogram of given varToPlot, but divided by NToys and number of events of each bin
, not the averaged x-sec plot that we used dto get from older release.Related to this, we have a question on which release is recommend to be used now; it is recommended to use
1.8.x
series rather than1.9.X
? We can see1.8.X
are keep being updated recently.The text was updated successfully, but these errors were encountered: