Calchep

Asked by Basit Ali on 2020-10-04

Sir how can I implement pdf "PDT:cteq6m(proton)" in Calchep?

Question information

Language:
English Edit question
Status:
Answered
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

One way is to use LHAPDF.

In this way you have

a) to download  LHAPDF  https://lhapdf.hepforge.org/downloads/ and
install it;

b) to download   cteq6  from https://lhapdf.hepforge.org/pdfsets.html.
They have cteq6, ID=10000. It seems, cteq6m is one of subsets. The file
should be unpacked and disposed in directory intended for sets. In my
computer it is

~/Packages/LHAPDF-6.2.3/install/share/LHAPDF/

c) to add path to LHAPDF   in LD_RUN_PATH in calchep script. For instance

    export  LD_RUN_PATH=~/Packages/LHAPDF-6.2.3/install/lib

because in my case the libLHAPDF.so library is disposed in
~/Packages/LHAPDF-6.2.3/install/lib

d)  Add instruction to link in extlib#.mdl file

(in my case)

-L/home/pukhov/Packages/LHAPDF-6.2.3/install/lib  -lLHAPDF

I remember we have a way to transform LHAPDF set to PDT. It seems
utile/lha5pdt.c is intended for this job. But now I do not see
description for this routine. I have to check how it works before I'll
recommend it for you.

Best

    Alexander Pukhov

On 04.10.2020 7:41, Basit Ali wrote:
> New question #693259 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/693259
>
> Sir how can I implement pdf "PDT:cteq6m(proton)" in Calchep?
>

Revision history for this message
Alexander Pukhov (pukhov) said :
#2

use lhapdf2pdt. See short instruction in bin/README

lhapdf2pdt  LHAPDF6_DIR
       transforms directory LHAPDF6_DIR into  LHAPDF6_DIR.pdt file. For
instant
           lhapdf2pdt CT10
       creates CT10.pdt file. Only PDF set corresponding to central
value of distribution
       is exported. For other subsets use link with  LHAPDF library.
CalcHEP  PDT files
       should be disposed in CALCHEP/PDT directory.

Best

    Alexander Pukhov

On 04.10.2020 7:41, Basit Ali wrote:
> New question #693259 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/693259
>
> Sir how can I implement pdf "PDT:cteq6m(proton)" in Calchep?
>

Can you help with this problem?

Provide an answer of your own, or ask Basit Ali for more information if necessary.

To post a message you must log in.