Merge lp:~maddevelopers/mg5amcnlo/gluino_fix into lp:~madteam/mg5amcnlo/trunk

Proposed by Olivier Mattelaer
Status: Merged
Merge reported by: Olivier Mattelaer
Merged at revision: not available
Proposed branch: lp:~maddevelopers/mg5amcnlo/gluino_fix
Merge into: lp:~madteam/mg5amcnlo/trunk
Diff against target: 122 lines (+45/-9)
5 files modified
Template/Source/make_opts (+1/-1)
aloha/template_files/aloha_functions.f (+2/-2)
aloha/template_files/oxxxxx.cc (+4/-4)
aloha/template_files/wavefunctions.py (+2/-2)
tests/parallel_tests/compare_with_old_mg5_version.py (+36/-0)
To merge this branch: bzr merge lp:~maddevelopers/mg5amcnlo/gluino_fix
Reviewer Review Type Date Requested Status
Johan Alwall (community) Approve
Review via email: mp+93668@code.launchpad.net

Description of the change

just fixing the lorentz invariance for the gluino at rest.

To post a comment you must log in.
206. By mattelaer-olivier

wrong fix in cc routine

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Just to confirm that all acceptance test are passing (but one which is due to a configuration problem that I will solve directly in 1.4.3)

Cheers,

Olivier

Revision history for this message
Johan Alwall (johan-alwall) wrote :

Great! Then I'll approve.

Johan

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Template/Source/make_opts'
2--- Template/Source/make_opts 2011-11-18 17:35:49 +0000
3+++ Template/Source/make_opts 2012-02-18 00:34:18 +0000
4@@ -8,7 +8,7 @@
5
6 # Set FC unless it's defined by an environment variable
7 ifeq ($(origin FC),default)
8- FC=gfortran
9+ FC=g77
10 endif
11
12 # Options: dynamic, lhapdf
13
14=== modified file 'aloha/template_files/aloha_functions.f'
15--- aloha/template_files/aloha_functions.f 2010-09-28 10:05:41 +0000
16+++ aloha/template_files/aloha_functions.f 2012-02-18 00:34:18 +0000
17@@ -219,8 +219,8 @@
18
19 sqm(0) = dsqrt(abs(fmass)) ! possibility of negative fermion masses
20 sqm(1) = sign(sqm(0),fmass) ! possibility of negative fermion masses
21- ip = -((1+nh)/2)
22- im = (1-nh)/2
23+ ip = -((1-nh)/2) * nhel
24+ im = (1+nh)/2* nhel
25
26 fo(1) = im * sqm(im)
27 fo(2) = ip*nsf * sqm(im)
28
29=== modified file 'aloha/template_files/oxxxxx.cc'
30--- aloha/template_files/oxxxxx.cc 2010-07-26 04:28:51 +0000
31+++ aloha/template_files/oxxxxx.cc 2012-02-18 00:34:18 +0000
32@@ -14,8 +14,8 @@
33 if (pp == 0.000){
34 sqm[0] = pow(abs(fmass),0.5);
35 sqm[1] = Sgn(sqm[0],fmass);
36- ip = -((1+nh)/2);
37- im = (1-nh)/2;
38+ ip = -((1-nh)/2) * nhel ;
39+ im = (1+nh)/2 * nhel;
40 fo[0] = im *sqm[im];
41 fo[1] = ip*nsf*sqm[im];
42 fo[2] = im*nsf*sqm[-ip];
43@@ -27,8 +27,8 @@
44 sf[1] = double(1+nsf-(1-nsf)*nh)*0.5;
45 omega[0] = pow(p[0]+pp,0.5);
46 omega[1] = fmass/omega[0];
47- ip = (1+nh)/2;
48- im = (1-nh)/2;
49+ ip = (1+nh)/2 ;
50+ im = (1-nh)/2 ;
51 sfomeg[0] = sf[0]*omega[ip];
52 sfomeg[1] = sf[1]*omega[im];
53 pp3 = max(pp+p[3],0.00);
54
55=== modified file 'aloha/template_files/wavefunctions.py'
56--- aloha/template_files/wavefunctions.py 2011-01-07 23:13:28 +0000
57+++ aloha/template_files/wavefunctions.py 2012-02-18 00:34:18 +0000
58@@ -94,8 +94,8 @@
59 pp = min(p[0],sqrt(p[1]**2 + p[2]**2 + p[3]**2 ))
60 if (pp == 0.):
61 sqm = sqrt(abs(fmass))
62- ip = -((1+nh)/2)
63- im = (1-nh)/2
64+ ip = -((1-nh)/2) * nhel
65+ im = (1+nh)/2 * nhel
66
67 fo[0] = im*sqm
68 fo[1] = ip*nsf*sqm
69
70=== modified file 'tests/parallel_tests/compare_with_old_mg5_version.py'
71--- tests/parallel_tests/compare_with_old_mg5_version.py 2011-11-28 20:34:18 +0000
72+++ tests/parallel_tests/compare_with_old_mg5_version.py 2012-02-18 00:34:18 +0000
73@@ -461,6 +461,23 @@
74 model = "sm",
75 energy = 1000,
76 filename = "sm_22.log")
77+
78+ def test_mg5_sm_13(self):
79+ """Test a semi-complete list of sm 1->3 processes"""
80+ # Create a list of processes to check automatically
81+ my_proc_list = me_comparator.create_proc_list_enhanced(
82+ init_part_list = ['t','t~','ta+','ta-'],
83+ final_part_list_1 = ['b','b~','vt','vt~'],
84+ final_part_list_2 = ['u', 'u~', 'd', 'd~', 'c','c~', 'e+', 've', 'e-', 've~','mu-','vm'],
85+ initial=1, final_1=1, final_2=2, charge_conservation=True)
86+
87+
88+ # Store list of non-zero processes and results in file
89+ self.compare_processes(my_proc_list,
90+ orders = {'QED':4, 'QCD':4},
91+ model = "sm",
92+ energy = 1000,
93+ filename = "sm_13.log")
94
95 def test_mg5_sm_23_p1(self):
96 """Test a semi-complete list of sm 2->3 processes"""
97@@ -588,6 +605,25 @@
98 energy = 2000,
99 filename = "mssm_22.log")
100
101+ def test_mg5_mssm_13(self):
102+ """Test a semi-complete list of mssm 1->3 processes"""
103+ # Create a list of processes to check automatically
104+ my_proc_list = me_comparator.create_proc_list_enhanced(
105+ init_part_list = ['t1','t1~','t2', 't2~','b2','b2~'],
106+ final_part_list_1 = ['b1','b1~','b2','b2~','n1','n2'],
107+ final_part_list_2 = ['u', 'u~', 'd', 'd~', 'c','c~', 'b', 'b~', 't','t~'],
108+ initial=1, final_1=1, final_2=2, charge_conservation=False)
109+ my_proc_list += ['t2 > b1 d~ u', 't2 > b2 d~ u', 't1 > b1 d~ u', 't1 > b2 d~ u',
110+ 't2~ > b1~ d u~', 't2~ > b2~ d u~', 't1~ > b1~ d u~', 't1~ > b2~ d u~']
111+ print len(my_proc_list)
112+ # Store list of non-zero processes and results in file
113+ self.compare_processes(my_proc_list,
114+ orders = {'QED':4, 'QCD':4},
115+ model = "mssm",
116+ energy = 2000,
117+ filename = "mssm_13_%s.log")
118+
119+
120 def test_mg5_mssm_23_p1(self):
121 """Test a semi-complete list of mssm 2->3 processes"""
122 # Create a list of processes to check automatically

Subscribers

People subscribed via source and target branches