Unable to feed lhe file to pythia8
I am trying to feed pythia8 one lhe file which I have created from calchep. The process is DM DM -> H H. The DM is a singlet scalar. I am writing the following code in pythia8,
#include"
#include<iostream>
#include<sstream>
#include<cmath>
#include<fstream>
#include<numeric>
#include "Pythia8Plugins
#include "fastjet/
#include "fastjet/
using namespace Pythia8;
using namespace std;
using namespace fastjet;
int main()
{
int nEvent = 100000; //number of events we want to generate
Pythia pythia;
Event& event = pythia.event;
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
pythia.
//initialise pythia
pythia.init();
I am getting the following error,
PYTHIA Info from SLHAinterface:
PYTHIA Info from SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Warning in SLHAinterface:
PYTHIA Info from SLHAinterface:
PYTHIA Error in Pythia::init: could not set up PDF for beam A
PYTHIA Abort from Pythia::init: PDF initialization failed
PYTHIA Abort from Pythia::next: not properly initialized so cannot generate events
*------- PYTHIA Event and Cross Section Statistics -------
| |
| Subprocess Code | Number of events | sigma +- delta |
| | Tried Selected Accepted | (estimated) (mb) |
| | | |
|-----
| | | |
| | | |
| sum | 0 0 0 | 0.000e+00 0.000e+00 |
| |
*------- End PYTHIA Event and Cross Section Statistics -------
*------- PYTHIA Error and Warning Messages Statistics -------
| |
| times message |
| |
| 1 Abort from Pythia::init: PDF initialization failed |
| 10000 Abort from Pythia::next: not properly initialized so cannot generate events |
| 1 Error in Pythia::init: could not set up PDF for beam A |
| 1 Info from SLHAinterface:
| 1 Info from SLHAinterface:
| 1 Info from SLHAinterface:
| 2 Warning in SLHAinterface:
| |
*------- End PYTHIA Error and Warning Messages Statistics -------
Please let me know what am I missing.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask PARTHA KUMAR PAUL for more information if necessary.