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 CDFZRAP dataset #49

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
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
84 changes: 84 additions & 0 deletions nnpdf31_proc/CDF_DY_1960GEV_21FB/analysis.f
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
subroutine analysis_begin(nwgt,weights_info)
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

implicit none
integer nwgt
character*(*) weights_info(*)

call set_error_estimation(1)
call HwU_inithist(nwgt,weights_info)
call HwU_book(1,'rap', 27, 0.0d0, 2.7d0)
call HwU_book(2,'rap', 1, 2.7d0, 2.9d0)
return
end

cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
subroutine analysis_end(dummy)
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

implicit none
double precision dummy
call HwU_write_file
return
end

cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
subroutine analysis_fill(p,istatus,ipdg,wgts,ibody)
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

implicit none
include 'nexternal.inc'
include 'cuts.inc'
integer istatus(nexternal)
integer iPDG(nexternal)
integer ibody
integer i
integer j
double precision p(0:4,nexternal)
double precision wgts(*)
double precision ppl(0:3), pplb(0:3), ppv(0:3), xyll, getabsy
logical is_nextph_iso(nexternal),is_nextph_iso_reco(nexternal)
external getabsy

double precision p_reco(0:4,nexternal)
integer iPDG_reco(nexternal)



call recombine_momenta(rphreco, etaphreco, lepphreco, quarkphreco,
$ p, iPDG, is_nextph_iso, p_reco, iPDG_reco,
$ is_nextph_iso_reco)

do j = nincoming+1, nexternal
if (iPDG_reco(j).eq.11) ppl(0:3)=p_reco(0:3,j)
if (iPDG_reco(j).eq.-11) pplb(0:3)=p_reco(0:3,j)
enddo
do i=0,3
ppv(i)=ppl(i)+pplb(i)
enddo

xyll=getabsy(ppv(0),ppv(3))

call HwU_fill(1,xyll,wgts)
call HwU_fill(2,xyll,wgts)

999 return
end

cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

function getabsy(en,pl)
implicit none
real*8 getabsy,en,pl,tmp
c
tmp=pl/en
if(abs(tmp).lt.1d0)then
tmp=abs(atanh(tmp))
else
write(*,*)'Attempt to compute atanh(x) with x > 1'
stop
endif
getabsy=tmp
return
end
32 changes: 32 additions & 0 deletions nnpdf31_proc/CDF_DY_1960GEV_21FB/launch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
launch @OUTPUT@
fixed_order = ON
set maxjetflavor 5
set gf @GF@
set mh @MH@
set mt @MT@
set mw @MW@
set mz @MZ@
set wh @WH@
set wt @WT@
set ww @WW@
set wz @WZ@
set ebeam1 980
set ebeam2 980
set lpp2 -1
set pdlabel lhapdf
set lhaid 324900
set fixed_ren_scale True
set fixed_fac_scale True
set mur_ref_fixed @MZ@
set muf_ref_fixed @MZ@
set reweight_scale True
set ptl = 0.0
set etal = -1.0
#user_defined_cut set yz = 2.9
set mll_sf = 66
#user_defined_cut set mmllmax = 116.0
set rphreco = 0.2
set req_acc_FO 0.0001
set pineappl True
done
quit
9 changes: 9 additions & 0 deletions nnpdf31_proc/CDF_DY_1960GEV_21FB/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
arxiv=0908.3914
description=CDF differential Drell–Yan cross section at 1.96 TeV
hepdata=10.17182/hepdata.52674.v1/t2
x1_label=yll
x1_label_tex=$y_{\ell\bar{\ell}}$
x1_unit=GeV
y_label=dsig/dyll
y_label_tex=$\frac{\mathrm{d}\sigma}{\mathrm{d}y_{\ell\bar{\ell}}}$
y_unit=pb
7 changes: 7 additions & 0 deletions nnpdf31_proc/CDF_DY_1960GEV_21FB/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set complex_mass_scheme True
import model loop_qcd_qed_sm_Gmu
define p = p b b~
define j = p
generate p p > e+ e- [QCD QED]
output @OUTPUT@
quit
5 changes: 5 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ merge() {
fi
mv "${grid}".tmp "${grid}"

if [[ -x ../nnpdf31_proc/"${dataset}"/precheck.sh ]]; then
cp ../nnpdf31_proc/"${dataset}"/precheck.sh .
GRID=$grid ./precheck.sh
fi

# find out which PDF set was used to generate the predictions
pdfstring=$(grep "set lhaid" "${launch_file}" | sed 's/set lhaid \([0-9]\+\)/\1/')

Expand Down