lhapdf with MadGraph v1.4.2
Dear MadGraph team,
I'm working with MadGraph v1.4.2 and I'd like to use the MSTW2008lo68cl pdf rather than the default CTEQ6l1. From what I understood I need to use lhapdf to do that. Following the instructions in README.lhapdf, I did:
1. download and compile LHAPDF
2. copy libLHAPDF.a, in my Template/lib directory
3. create Template/
4. put in my run_card.dat the following:
'lhapdf' = pdlabel ! PDF set
21000 = lhaid ! PDF number used ONLY for LHAPDF
5. run using: bin/generate_events 0 test
When doing this it runs without errors. However, it also runs without errors when pdlabel and lhaid are set to values that make no sense. For example, it runs fine when I put:
'toto' = pdlabel ! PDF set
21000 = lhaid ! PDF number used ONLY for LHAPDF
or
'lhapdf' = pdlabel ! PDF set
12345 = lhaid ! PDF number used ONLY for LHAPDF
It even runs fine when I comment the line specifying the lhaid :
'lhapdf' = pdlabel ! PDF set
# 12345 = lhaid ! PDF number used ONLY for LHAPDF
So my changes in run_card.dat don't seem to be taken into account by MadGraph, which apparently uses a default pdf when the specified one does not exist.
Would anyone have an idea of what I'm doing wrong ? And is there anything to do in particular to be sure that MadGraph uses the right pdf ?
Thanks in advance,
Emmanuel
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Alwall
- Solved:
- Last query:
- Last reply: