Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ttV to code generation #697

Merged
merged 6 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ def write_hardcoded_parameters(self, params):
res = res.replace(' ;',';')
res = res.replace('= - ','= -') # post-fix for susy
res = res.replace('( - ','( -') # post-fix for susy
res = res.replace(', - ',', -') # post-fix for SM no_b_mass
###print(res); assert(False)
return res

Expand Down
28 changes: 28 additions & 0 deletions epochX/cudacpp/CODEGEN/generateAndCompare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ function codeGenAndDiff()
pp_tttt)
cmd="generate p p > t t~ t t~"
;;
pp_ttW) # TEMPORARY! until no_b_mass #695 and/or #696 are fixed
cmd="define p = p b b~
define j = p
define w = w+ w- # W case only
generate p p > t t~ w @0
add process p p > t t~ w j @1"
;;
pp_ttZ) # TEMPORARY! until no_b_mass #695 and/or #696 are fixed
cmd="define p = p b b~
define j = p
generate p p > t t~ z @0
add process p p > t t~ z j @1"
;;
uu_tt)
cmd="generate u u~ > t t~"
;;
Expand All @@ -53,6 +66,21 @@ function codeGenAndDiff()
bb_tt)
cmd="generate b b~ > t t~"
;;
nobm_pp_ttW)
cmd="import model loop_sm-no_b_mass
define p = p b b~
define j = p
define w = w+ w- # W case only
generate p p > t t~ w @0
add process p p > t t~ w j @1"
;;
nobm_pp_ttZ)
cmd="import model loop_sm-no_b_mass
define p = p b b~
define j = p
generate p p > t t~ z @0
add process p p > t t~ z j @1"
;;
heft_gg_h)
cmd="set auto_convert_model T; import model heft; generate g g > h"
;;
Expand Down