Skip to content

Commit

Permalink
[susy] in CODEGEN, progress in fixing EFT HRDCOD=0 builds madgraph5#616
Browse files Browse the repository at this point in the history
…: look for BSM indep parameters needed to compute dependent parameters and not only dependent couplings!
  • Loading branch information
valassi committed Mar 17, 2024
1 parent 32b8d2c commit efc1a82
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/model_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,18 @@ def super_generate_parameters_class_files(self):
bsmparam_indep_complex_used = []
for param in self.params_indep: # NB this is now done also for 'sm' processes (no check on model name, see PR #824)
if param.name == 'mdl_complexi' : continue
for coup in self.coups_dep.values():
if param.name in coup.expr:
# Add BSM parameters which are needed to compute dependent couplings
# Note: this seemed enough to fix SUSY processes, but not EFT processes
for coupdep in self.coups_dep.values():
if param.name in coupdep.expr:
if param.type == 'real':
bsmparam_indep_real_used.append( param.name )
elif param.type == 'complex':
bsmparam_indep_complex_used.append( param.name )
# Add BSM parameters which are needed to compute dependent parameters
# Note: this was later added to also fix EFT processes (related to #616)
for pardep in self.params_dep:
if param.name in pardep.expr:
if param.type == 'real':
bsmparam_indep_real_used.append( param.name )
elif param.type == 'complex':
Expand Down

0 comments on commit efc1a82

Please # to comment.