Skip to content

Implementing functionality for dynamic cfactors

Emanuele Roberto Nocera requested to merge dynamic_cfactors into master

Created by: siranipour

This will be more or less useless for everyone else, no prizes for guessing what project it is for. The idea is that sometimes you may want to generate CFactors on the fly by taking combinations of other, existing, cfactors. I've called such CFactors dynamic_cfactors.

In your dataset_input specification, yo add a new dynamic_cfac key and for each dynamic_cfac, you must add a corresponding namespace e.g:

dataset_input: {dataset: CMSDY2D11, cfac: [QCD], dynamic_cfac: [SMEFT]}

SMEFT:
  W: 1e-4
  Y: 1e-4

theoryid: 53

use_cuts: nocuts

Where the CFactors CF_W_CMSDY2D11.dat and CF_Y_CMSDY2D11.dat must already exist in the theory folder. This PR then combines them in the appropriate way.

Currently, it requires things to actually use fkparser but this should be relatively straight forward seeing how the references to the C++ is well contained.

Quite a few todo's @Zaharid if you think it's going in the right direction I can clean it up a bit more

Merge request reports

Loading