Skip to content

Commit f5de004

Browse files
author
re
committed
Found and fixed a trivial bug in merging programs
present in the W and all the single-top processes (formula for total combined cross section was wrong, a **2 was missing). git-svn-id: svn://powhegbox.mib.infn.it/trunk/POWHEG-BOX@459 9e129b38-c2c0-4eec-9301-dc54fda404de
1 parent b7d756d commit f5de004

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ST_sch/merge_t_tb.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ subroutine merge(total_ev)
138138
errXsec_tb = xerrup(1)
139139

140140
Xsec_tot=Xsec_t+Xsec_tb
141-
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb)
141+
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb**2)
142142

143143
nev_t=nint(1.05*(Xsec_t/Xsec_tot)*total_ev)
144144
nev_tb=nint(1.05*(Xsec_tb/Xsec_tot)*total_ev)

ST_tch/merge_t_tb.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ subroutine merge(total_ev)
138138
errXsec_tb = xerrup(1)
139139

140140
Xsec_tot=Xsec_t+Xsec_tb
141-
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb)
141+
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb**2)
142142

143143
nev_t=nint(1.05*(Xsec_t/Xsec_tot)*total_ev)
144144
nev_tb=nint(1.05*(Xsec_tb/Xsec_tot)*total_ev)

ST_wtch_DR/merge_t_tb.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ subroutine merge(total_ev)
138138
errXsec_tb = xerrup(1)
139139

140140
Xsec_tot=Xsec_t+Xsec_tb
141-
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb)
141+
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb**2)
142142

143143
nev_t=nint(1.05*(Xsec_t/Xsec_tot)*total_ev)
144144
nev_tb=nint(1.05*(Xsec_tb/Xsec_tot)*total_ev)

ST_wtch_DS/merge_t_tb.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ subroutine merge(total_ev)
138138
errXsec_tb = xerrup(1)
139139

140140
Xsec_tot=Xsec_t+Xsec_tb
141-
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb)
141+
errXsec_tot=sqrt(errXsec_t**2+errXsec_tb**2)
142142

143143
nev_t=nint(1.05*(Xsec_t/Xsec_tot)*total_ev)
144144
nev_tb=nint(1.05*(Xsec_tb/Xsec_tot)*total_ev)

W/merge_wp_wm.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ subroutine merge(total_ev)
138138
errXsec_wm = xerrup(1)
139139

140140
Xsec_tot=Xsec_wp+Xsec_wm
141-
errXsec_tot=sqrt(errXsec_wp**2+errXsec_wm)
141+
errXsec_tot=sqrt(errXsec_wp**2+errXsec_wm**2)
142142

143143
nev_wp=nint(1.05*(Xsec_wp/Xsec_tot)*total_ev)
144144
nev_wm=nint(1.05*(Xsec_wm/Xsec_tot)*total_ev)

0 commit comments

Comments
 (0)