Skip to content
Snippets Groups Projects
Commit 2e0c9618 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

Fix Pythia::init call.

parent 60d88b4f
Branches master
No related tags found
No related merge requests found
......@@ -145,7 +145,9 @@ public:
getOption("colliding particle 1",coll_particle1);
getOption("colliding particle 2",coll_particle2);
getOption("center mass energy",cme);
pythia8.init(getParticleId(coll_particle1.back()), getParticleId(coll_particle2.back()), cme);
pythia8.init();
pythia8.setBeamIDs(getParticleId(coll_particle1.back()), getParticleId(coll_particle2.back()));
pythia8.setKinematics(cme);
getOption("stored particles",mode);
storedParticles=getStoredParticles(mode.back());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment