Code to validate the systematics parametrisation for the PrEW analysis.
The relevant validation data files are produced in PrEWSampleProduction
.
A modern python version is needed together with range of modules. If not installed locally, the provided macro can be used to load a python environment from CVMFS:
cd py && source load_env.sh
The code to create the validation plots is in the py/ValidationTests
directory.
cd py/ValidationTests
python CutEffect.py # Find the absolute effect of the base cut on the distribution
python DeviationTest.py # Effects of changes in the cut
python ChiSquaredTest.py # Test significance of mistake made by parametrisation
Some latex code is provided in latex
to create single-pdf overview.