This repository was archived by the owner on Feb 22, 2021. It is now read-only.
forked from alisw/POWHEG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmlmpdfif.f
More file actions
50 lines (47 loc) · 1.32 KB
/
mlmpdfif.f
File metadata and controls
50 lines (47 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
subroutine genericpdf(ndns,ih,xmu2,x,fx)
c Interface to mlmpdf package.
implicit none
include 'nlegborn.h'
include 'pwhg_pdf.h'
integer ndns,ih
real * 8 xmu2,x,fx(-pdf_nparton:pdf_nparton)
real * 4 sxmu2,sx,sfx(-5:5)
integer j
sx=x
sxmu2=xmu2
fx=0
call mlmpdf(ndns,ih,sxmu2,sx,sfx,5)
do j=-5,5
fx(j)=sfx(j)
enddo
fx(1)=sfx(2)
fx(-1)=sfx(-2)
fx(2)=sfx(1)
fx(-2)=sfx(-1)
end
c This subroutine is in LHAPDF, and is invoked in
c setstrongcoupl.f in case the lhapdfif.f (and LHAPDF) is linked in
c If not, like now, it should be set to a dummy function with the same (dummy) arguments as in LHAPDF, to avoid
c link errors. It is never invoked in the present case.
subroutine getq2min(dum1,dum2)
implicit none
integer dum1
real * 8 dum2
end
subroutine genericpdfpar(ndns,ih,xlam,scheme,iorder,iret)
implicit none
include 'pwhg_pdf.h'
integer ndns,ih
real * 8 xlam
character * 2 scheme
integer iret,iorder
call pdfpar(ndns,ih,xlam,scheme,iret)
c set ad hoc value for q2min (not provided in mlmpdf)
pdf_q2min = 0
c not yet implemented
iorder=-1
end
function whichpdfpk()
character * 3 whichpdfpk
whichpdfpk='mlm'
end