Closed comane closed 7 months ago
- [ ] add script that does not compare but only plots for one fit
@LucaMantani , @J-M-Moore , @manuel-morales-a is there already a yaml card doing this?
- [ ] add script that does not compare but only plots for one fit
@LucaMantani , @J-M-Moore , @manuel-morales-a is there already a yaml card doing this?
I have this one:
meta:
title: BSM results
author: LM
keywords: [simunet, plots, validphys]
fit: 230127-lm-ttbar-fixedpdf-nlo-lin
fits:
- 230127-lm-ttbar-fixedpdf-nlo-lin
use_cuts: fromfit
pdfs:
- {id: “230127-lm-ttbar-fixedpdf-nlo-lin”, label: “230127-lm-ttbar-fixedpdf-nlo-lin”}
Q: 100
flavours:
- 2 # up
- 21 # gluon
bsm_fac_data:
- {name: 'OtG', plot_scale: 1, latex: '$c_{tG}$'}
- {name: 'Opt', plot_scale: 1, latex: '$c_{\varphi t}$'}
- {name: 'OtZ', plot_scale: 1, latex: '$c_{tZ}$'}
- {name: 'OtW', plot_scale: 1, latex: '$c_{tW}$'}
- {name: 'O3pQ3', plot_scale: 1, latex: '$c_{\varphi Q}^{(3)}$'}
- {name: 'OpQM', plot_scale: 1, latex: '$c_{\varphi Q}^{(-)}$'}
- {name: 'O1qd', plot_scale: 1, latex: '$c_{Qd}^{1}$'}
- {name: 'O1qu', plot_scale: 1, latex: '$c_{Qu}^{1}$'}
- {name: 'O1dt', plot_scale: 1, latex: '$c_{dt}^{1}$'}
- {name: 'O1qt', plot_scale: 1, latex: '$c_{qt}^{1}$'}
- {name: 'O1ut', plot_scale: 1, latex: '$c_{ut}^{1}$'}
- {name: 'O11qq', plot_scale: 1, latex: '$c_{Qq}^{1,1}$'}
- {name: 'O13qq', plot_scale: 1, latex: '$c_{Qq}^{1,3}$'}
- {name: 'O8qd', plot_scale: 1, latex: '$c_{Qd}^{8}$'}
- {name: 'O8qu', plot_scale: 1, latex: '$c_{Qu}^{8}$'}
- {name: 'O8dt', plot_scale: 1, latex: '$c_{dt}^{8}$'}
- {name: 'O8qt', plot_scale: 1, latex: '$c_{qt}^{8}$'}
- {name: 'O8ut', plot_scale: 1, latex: '$c_{ut}^{8}$'}
- {name: 'O81qq', plot_scale: 1, latex: '$c_{Qq}^{8,1}$'}
- {name: 'O83qq', plot_scale: 1, latex: '$c_{Qq}^{8,3}$'}
- {name: 'OQt8', plot_scale: 1, latex: '$c_{Qt}^{8}$'}
- {name: 'OQQ1', plot_scale: 1, latex: '$c_{QQ}^{1}$'}
- {name: 'OQQ8', plot_scale: 1, latex: '$c_{QQ}^{8}$'}
- {name: 'OQt1', plot_scale: 1, latex: '$c_{Qt}^{1}$'}
- {name: 'Ott1', plot_scale: 1, latex: '$c_{tt}^{1}$'}
# Posterior distribution binnings
posterior_plots_settings:
same_bins: True
n_bins: 15
rangex: [-0.5, 0.6]
rangey: [0, 5]
template_text: |
# Histograms of BSM factors
{@plot_nd_bsm_facs@}
# KDE of BSM factors
{@plot_kde_bsm_facs@}
# 2D correlations of BSM factors
{@plot_bsm_2d_combs@}
# BSM factor statistics
{@bsm_facs_bounds@}
# 95% CL bounds
{@plot_bsm_facs_bounds@}
# BSM 68% Residuals
{@plot_bsm_facs_68res@}
# Plot Chi2
{@plot_fits_datasets_chi2@}
# BSM correlation matrix
{@plot_bsm_corr@}
# PDF-BSM factor correlations
{@fits plot_bsm_pdf_corr@}
actions_:
- report(main=True)
@comane I have been using these things and they seem to be working fine, merge?
I added a couple of review comments
Hi @LucaMantani, yes I am happy to merge this branch. Which comments did you add? I don't see any.
I started a review @comane
Ok @LucaMantani, the feature (as well as plot scales ) has now been added. See https://vp.nnpdf.science/zdtAWB4dTEqKijG1TKGEYw==
Feel free to have a look at it and once you approve it we can merge it
Yes, it looks good to me! I am merging it
This PR implements the following things:
comparefits with bsm only:
vp-comparefits --bsmonly ...
reduced comparefits:
vp-comparefits --reduced ...
added new SMEFT operators to comparecard
Allows for comparisons between fits performed with a different number of WC (still both have to be done with new code #18 , #20 )
added a script that does not compare but only plots for one fit (see
validphys2.examples.bsm_only_report.yaml
)Examples: