Skip to content
Snippets Groups Projects
Commit dbceee33 authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska
Browse files

Merge branch 'test-21p6p108' into '21.6'

Generators/MadGraphControl: Further fix to setupEFT script for SMEFTSim model updates

See merge request !73479
parents 9fae19f8 c5049669
No related branches found
No related tags found
1 merge request!73479Generators/MadGraphControl: Further fix to setupEFT script for SMEFTSim model updates
Pipeline #7864349 passed
......@@ -143,7 +143,7 @@ def setup_SMEFT(process,model_nick,param_name,reweight_name,eft_params):
process=process.replace('NP==0','')
restriction='without_irrelevant_couplings'
if len(eft_params_to_keep)>0:
shutil.copy('/cvmfs/atlas.cern.ch/repo/sw/Generators/madgraph/models/latest/'+model+'/restrict_massless.dat','./my_restrict_massless.dat')
shutil.copy('/cvmfs/atlas.cern.ch/repo/sw/Generators/madgraph/models/latest/'+model+'/restrict_SMlimit_massless.dat','./my_restrict_massless.dat')
restrict_card_default="my_restrict_massless.dat"
output_location=restricted_model+'/'+'restrict_'+restriction+'.dat'
modify_param_card(restrict_card_default,output_location=restricted_model+'/'+'restrict_'+restriction+'.dat',params={eft_parameter_block:eft_params_to_keep})
......@@ -175,4 +175,4 @@ def setup_SMEFT(process,model_nick,param_name,reweight_name,eft_params):
if reweight_card_loc is not None:
shutil.move(reweight_card_loc,process_dir+'/Cards/reweight_card.dat')
return process_dir
\ No newline at end of file
return process_dir
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment