Repository navigation
Produce systematic parameter tick tables
RhiannonSJ edited this page Oct 16, 2020
·
4 revisions
There are two methods implemented
- The original way: By reading the parameter configurations to determine if the parameter should affect a given mode.
- By reading the splines and determining if the parameter is affecting the current mode, additional colour coding signifies whether the response function is implemented 'correctly' according to the configuration.
python $VALOR_SBN/macros/systematic_construction/make_table_applied_syst_to_mode.py \
-c analysis/config.xml \
--skip-flux --skip-det \ // If we are writing the interaction table
-b BNB_FHC -s numuCCincl \
-o tick_table.tex
- First, get the list of modes associated with each parameter (requires splines to have been generated with --save-modelist option)
valor $VALOR_SBN/macros/systematic_construction/chain_modelists.C'("syst_type","/path/to/modelists/","sample_name","output_tag")'
Where
syst_type = {mod, prop, flux}
- Then make tick table from modelist for each parameter
python $VALOR_SBN/macros/systematic_construction/make_table_spline_applied_to_mode.py \
-c analysis/config.xml \
--skip-flux --skip-det \ // If we are writing the interaction table
-b BNB_FHC -s numulikeCChigh \
-o tick_table.tex \
-m all_modelists.root // The modelist you created in the first step
Please see here for the creation of new dsts, universes or mock_data data products for distribution.
Copyright (c) 2010-2021, The VALOR Fitting Group. All Rights Reserved.