Author: Toby Dixon ([email protected])
A tool to fit the
The idea of this analysis is to extract the
Where
Or alternatively to allow the parameterisation above:
Thus we can parameterise independently each of the additive contributions to the spectrum, for inclusion in a fit considering both the spectral shape uncertainty and
The first part of the analysis is contained in a script called BetaSpectrumHandler.cxx
, which performs this parameterisation.
This code takes in a MC simulation of the
g++ -std=c++11 -g -o BetaSpectrumHandler BetaSpectrumHandler.cxx $(root-config --cflags --libs)
It can then be run with:
./BetaSpectrumHandler -l [plot_path] -i [input_path] -p [polynomial order] -q [Qbb] -o [out_path]
add the option -I to use the improved model and -h for this help
[input_path]
should be the path to the output file of the background model[plot_path]
is a path to save some plots of the interpolation[out_path]
is the path to the output files used for QbbFit this is a ROOT file with the functions parameterising A(E).
The next part of the analysis chain consists of a BAT code called QbbFit which performs a background model fit on the spectrum using the analytic approximation of the