1346 real(8) :: x1,x2,PDFScale
1347 real(8) :: upv(1:2),dnv(1:2),usea(1:2),dsea(1:2),str(1:2),chm(1:2),bot(1:2),glu(1:2),phot(1:2),sbar(1:2),cbar(1:2),bbar(1:2)
1348 integer,
parameter :: swPDF_u=1, swpdf_d=1, swpdf_c=1, swpdf_s=1, swpdf_b=1, swpdf_g=1
1349 real(8) :: pdf(-6:6,1:2),NNpdf(1:2,-6:7)
1355 call evolvepdf(x1,pdfscale,nnpdf(1,-6:7))
1356 call evolvepdf(x2,pdfscale,nnpdf(2,-6:7))
1357 nnpdf(1,-6:7) = nnpdf(1,-6:7)/x1
1358 nnpdf(2,-6:7) = nnpdf(2,-6:7)/x2
1360 pdf(
up_,1) = nnpdf(1,+2) * swpdf_u
1361 pdf(
aup_,1) = nnpdf(1,-2) * swpdf_u
1362 pdf(
dn_,1) = nnpdf(1,+1) * swpdf_d
1363 pdf(
adn_,1) = nnpdf(1,-1) * swpdf_d
1364 pdf(
chm_,1) = nnpdf(1,+4) * swpdf_c
1365 pdf(
achm_,1) = nnpdf(1,-4) * swpdf_c
1366 pdf(
str_,1) = nnpdf(1,+3) * swpdf_s
1367 pdf(
astr_,1) = nnpdf(1,-3) * swpdf_s
1368 pdf(
bot_,1) = nnpdf(1,+5) * swpdf_b
1369 pdf(
abot_,1) = nnpdf(1,-5) * swpdf_b
1370 pdf(0,1) = nnpdf(1,+0) * swpdf_g
1372 pdf(
up_,2) = nnpdf(2,+2) * swpdf_u
1373 pdf(
aup_,2) = nnpdf(2,-2) * swpdf_u
1374 pdf(
dn_,2) = nnpdf(2,+1) * swpdf_d
1375 pdf(
adn_,2) = nnpdf(2,-1) * swpdf_d
1376 pdf(
chm_,2) = nnpdf(2,+4) * swpdf_c
1377 pdf(
achm_,2) = nnpdf(2,-4) * swpdf_c
1378 pdf(
str_,2) = nnpdf(2,+3) * swpdf_s
1379 pdf(
astr_,2) = nnpdf(2,-3) * swpdf_s
1380 pdf(
bot_,2) = nnpdf(2,+5) * swpdf_b
1381 pdf(
abot_,2) = nnpdf(2,-5) * swpdf_b
1382 pdf(0,2) = nnpdf(2,+0) * swpdf_g
1384 pdf(:,:) = dabs(pdf(:,:))
1390 call cteq6(x1,pdfscale,upv(1),dnv(1),usea(1),dsea(1),str(1),chm(1),bot(1),glu(1))
1391 call cteq6(x2,pdfscale,upv(2),dnv(2),usea(2),dsea(2),str(2),chm(2),bot(2),glu(2))
1392 elseif(
pdfset.eq.2 )
then
1393 call getallpdfs(
"pdfs/mstw2008lo",0,x1,pdfscale,upv(1),dnv(1),usea(1),dsea(1),str(1),sbar(1),chm(1),cbar(1),bot(1),bbar(1),glu(1),phot(1))
1394 str(1)= (str(1)+sbar(1))/2d0
1395 chm(1)= (chm(1)+cbar(1))/2d0
1396 bot(1)= (bot(1)+bbar(1))/2d0
1407 call getallpdfs(
"pdfs/mstw2008lo",0,x2,pdfscale,upv(2),dnv(2),usea(2),dsea(2),str(2),sbar(2),chm(2),cbar(2),bot(2),bbar(2),glu(2),phot(2))
1408 str(2)= (str(2)+sbar(2))/2d0
1409 chm(2)= (chm(2)+cbar(2))/2d0
1410 bot(2)= (bot(2)+bbar(2))/2d0
1422 call getallpdfs(
"pdfs/mstw2008lo.90cl",
pdfset-200,x1,pdfscale,upv(1),dnv(1),usea(1),dsea(1),str(1),sbar(1),chm(1),cbar(1),bot(1),bbar(1),glu(1),phot(1))
1423 str(1)= (str(1)+sbar(1))/2d0
1424 chm(1)= (chm(1)+cbar(1))/2d0
1425 bot(1)= (bot(1)+bbar(1))/2d0
1436 call getallpdfs(
"pdfs/mstw2008lo.90cl",
pdfset-200,x2,pdfscale,upv(2),dnv(2),usea(2),dsea(2),str(2),sbar(2),chm(2),cbar(2),bot(2),bbar(2),glu(2),phot(2))
1437 str(2)= (str(2)+sbar(2))/2d0
1438 chm(2)= (chm(2)+cbar(2))/2d0
1439 bot(2)= (bot(2)+bbar(2))/2d0
1449 elseif(
pdfset.eq.3 )
then
1453 nnpdf(1,-6:7) = nnpdf(1,-6:7)/x1
1454 nnpdf(2,-6:7) = nnpdf(2,-6:7)/x2
1457 pdf(
up_,1) = nnpdf(1,+2) * swpdf_u
1458 pdf(
aup_,1) = nnpdf(1,-2) * swpdf_u
1459 pdf(
dn_,1) = nnpdf(1,+1) * swpdf_d
1460 pdf(
adn_,1) = nnpdf(1,-1) * swpdf_d
1461 pdf(
chm_,1) = nnpdf(1,+4) * swpdf_c
1462 pdf(
achm_,1) = nnpdf(1,-4) * swpdf_c
1463 pdf(
str_,1) = nnpdf(1,+3) * swpdf_s
1464 pdf(
astr_,1) = nnpdf(1,-3) * swpdf_s
1465 pdf(
bot_,1) = nnpdf(1,+5) * swpdf_b
1466 pdf(
abot_,1) = nnpdf(1,-5) * swpdf_b
1467 pdf(0,1) = nnpdf(1,+0) * swpdf_g
1469 pdf(
up_,2) = nnpdf(2,+2) * swpdf_u
1470 pdf(
aup_,2) = nnpdf(2,-2) * swpdf_u
1471 pdf(
dn_,2) = nnpdf(2,+1) * swpdf_d
1472 pdf(
adn_,2) = nnpdf(2,-1) * swpdf_d
1473 pdf(
chm_,2) = nnpdf(2,+4) * swpdf_c
1474 pdf(
achm_,2) = nnpdf(2,-4) * swpdf_c
1475 pdf(
str_,2) = nnpdf(2,+3) * swpdf_s
1476 pdf(
astr_,2) = nnpdf(2,-3) * swpdf_s
1477 pdf(
bot_,2) = nnpdf(2,+5) * swpdf_b
1478 pdf(
abot_,2) = nnpdf(2,-5) * swpdf_b
1479 pdf(0,2) = nnpdf(2,+0) * swpdf_g
1481 pdf(:,:) = dabs(pdf(:,:))
1484 print *,
"PDFSet",
pdfset,
"not available!"
1491 pdf(
up_,1) = (upv(1) + usea(1)) * swpdf_u
1492 pdf(
aup_,1) = usea(1) * swpdf_u
1493 pdf(
dn_,1) = (dnv(1) + dsea(1)) * swpdf_d
1494 pdf(
adn_,1) = dsea(1) * swpdf_d
1495 pdf(
chm_,1) = chm(1) * swpdf_c
1496 pdf(
achm_,1) = chm(1) * swpdf_c
1497 pdf(
str_,1) = str(1) * swpdf_s
1498 pdf(
astr_,1) = str(1) * swpdf_s
1499 pdf(
bot_,1) = bot(1) * swpdf_b
1500 pdf(
abot_,1) = bot(1) * swpdf_b
1501 pdf(0,1) = glu(1) * swpdf_g
1504 pdf(
up_,2) = (upv(2) + usea(2)) * swpdf_u
1505 pdf(
aup_,2) = usea(2) * swpdf_u
1506 pdf(
dn_,2) = (dnv(2) + dsea(2)) * swpdf_d
1507 pdf(
adn_,2) = dsea(2) * swpdf_d
1508 pdf(
chm_,2) = chm(2) * swpdf_c
1509 pdf(
achm_,2) = chm(2) * swpdf_c
1510 pdf(
str_,2) = str(2) * swpdf_s
1511 pdf(
astr_,2) = str(2) * swpdf_s
1512 pdf(
bot_,2) = bot(2) * swpdf_b
1513 pdf(
abot_,2) = bot(2) * swpdf_b
1514 pdf(0,2) = glu(2) * swpdf_g
1518 pdf(
up_,1) = (upv(1) + usea(1)) * swpdf_u
1519 pdf(
aup_,1) = usea(1) * swpdf_u
1520 pdf(
dn_,1) = (dnv(1) + dsea(1)) * swpdf_d
1521 pdf(
adn_,1) = dsea(1) * swpdf_d
1522 pdf(
chm_,1) = chm(1) * swpdf_c
1523 pdf(
achm_,1) = chm(1) * swpdf_c
1524 pdf(
str_,1) = str(1) * swpdf_s
1525 pdf(
astr_,1) = str(1) * swpdf_s
1526 pdf(
bot_,1) = bot(1) * swpdf_b
1527 pdf(
abot_,1) = bot(1) * swpdf_b
1528 pdf(0,1) = glu(1) * swpdf_g
1531 pdf(
up_,2) = usea(2) * swpdf_u
1532 pdf(
aup_,2) = (upv(2)+usea(2)) * swpdf_u
1533 pdf(
dn_,2) = dsea(2) * swpdf_d
1534 pdf(
adn_,2) = (dnv(2) + dsea(2)) * swpdf_d
1535 pdf(
chm_,2) = chm(2) * swpdf_c
1536 pdf(
achm_,2) = chm(2) * swpdf_c
1537 pdf(
str_,2) = str(2) * swpdf_s
1538 pdf(
astr_,2) = str(2) * swpdf_s
1539 pdf(
bot_,2) = bot(2) * swpdf_b
1540 pdf(
abot_,2) = bot(2) * swpdf_b
1541 pdf(0,2) = glu(2) * swpdf_g
1545 pdf(:,:) = dabs(pdf(:,:))