Convert StdHEP to HEPMC

Asked by SUBHASISH BEHERA on 2020-12-10

Hi Olivier,
I was looking into this : https://bugs.launchpad.net/pythia-pgs-for-mg/+bug/1334366
but the site is no longer available.
Can you provide an alternative way to either:
1. convert StdHEP files generated with Pythia-pgs of MG5 to convert to HEPMC ?
2. or can I directly get HEPMC after pythia-pgs run, after changing a few necessary files in pythia-pgs .

** I am aware that Pythia-pgs is not maintained any more, but still I have to work with the package in my project.
Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
SUBHASISH BEHERA
Solved:
2020-12-11
Last query:
2020-12-11
Last reply:
2020-12-10

 > 1. convert StdHEP files generated with Pythia-pgs of MG5 to convert to HEPMC ?

I do not know, I guess the "easiest" method would be to find a StdHEP converter to root and the apply a root the HEPMC converter.
But I have no experience on that.

> 2. or can I directly get HEPMC after pythia-pgs run, after changing a few necessary files in pythia-pgs .

You do not need PGS here, so this is a pure pythia6 run. As far as I know, pythia6 was never supporting HEPMC and since HepMC has only C++ interface, I doubt that it should be easy to modify, pythia6 to output such format. At least I would not be able to do it.

** I am aware that Pythia-pgs is not maintained any more, but still I have to work with the package in my project.

 It will make much more sense to move to pythia8 but in term of effort and in term of physics precision.

Thanks Olivier.