I was trying to find out what the default inter- and extrapolations were for OverallSys and HistoSys in ROOT 6 (specifically Root 6.08).
In the original reference (https://cds.cern.ch/record/1456844/files/CERN-OPEN-2012-016.pdf) it states that code 0 (piece linear) is the default for HistoSys and 1 (piece exponential) for OverallSys.
However i see in master documentation (ROOT: PiecewiseInterpolation Class Reference) that now code 4 (poly inter and linear exp) is the default for HistoSys.
However i could not find what the default for OverallSys is currently and if both of those are true for Root 6.08 as there it is not explicitely stated that 4 is the default (ROOT: PiecewiseInterpolation Class Reference)
Is there any reference to looks this up or a way to verify that in the code?
As far as I remember also in older version like 6.08 the interpolation code used is 4. This was set when creating the HistFactory workspace, see line 514 in ROOT: roofit/histfactory/src/HistoToWorkspaceFactoryFast.cxx Source File
Thanks, I will try to have a look at that.
How does it work for the overallsys? What is the default and where could I reference that?
The same is happening for the
FlexibleInterpVar, see line 728 in the same linked file
thanks again. So it would effectively be these links:
Where the comment for the
// LM: change to 4 (piece-wise linear to 6th order polynomial interpolation + linear extrapolation ) for the default value of FlexibleInterpVar is not accurate as it does exponentiol extrapolation as seen in the respective source code.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.