How to run MG with Herwig7

Asked by Carl Niblaeus on 2018-09-19

Hi,

Is it possible to do showering and hadronisation with Herwig7 within MadGraph? It seems possible from the info I find when I search but I can't figure out how to do it. I have Herwig7 installed through the bootstrap script in my home directory (and ThePEG and HepMC also in the same directory through the bootstrap script).

I've tried modifying input/mg5_configuration.txt to include the path to Herwig in hwpp_path, thepeg_path and hepmc_path, following the instruction to use the same directory also for ThePEG and HepMC (I also tried providing the separate directories), but without any success. When I generate events the only options for the shower variable are Pythia8 (which runs successfully) or OFF (I had expectet Herwig to appear as an option there).

I've used the path /home/[username]/Herwig7 for hwpp_path, thepeg_path and hepmc_path. The Herwig7 folder in turn contains folders like bin, src, include etc where the code for Herwig, ThePEG and HepMC can be found, and I've also tried using paths like /home/[username]/Herwig7/src or similar.

By the way, when I've searched for ways to solve the issue I've seen references to a shower_card.dat that seems to be generated for each run. However, I don't get such a card when I do a run. Is that something which has changed in the most recent version or something wrong with my installation?

Lastly, I have been able to read in the LHE file generated from a MG run into Herwig7 and do the shower/hadronisation there with success. However, I would prefer if I could do everything from within MG.

I'm using MG5 v2.6.3.2 downloaded some weeks ago.

Thankful for any help,
Carl

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2018-09-20
Last query:
2018-09-20
Last reply:
2018-09-19

Hi,

I guess that you are running at LO accuracy.
For such type of generation we do not have an on the flight interface to Herwig7 working.
(The main issue of creating such interface is to support correctly all the matching/merging method)

For NLO generation, we do have such link to HW7 (even if I have personally never test it)
--without support for FxFx or other type of merging method--
and indeed in that case, the interface use a standard shower_card.dat

> Lastly, I have been able to read in the LHE file generated from a MG run into Herwig7 and do the shower/hadronisation there with success. However, I would prefer if I could do everything from within MG.

I agree that it would be nice but this is not top priority for the moment.

Cheers,

Olivier

> On 19 Sep 2018, at 15:43, Carl Niblaeus <email address hidden> wrote:
>
> New question #674140 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/674140
>
> Hi,
>
> Is it possible to do showering and hadronisation with Herwig7 within MadGraph? It seems possible from the info I find when I search but I can't figure out how to do it. I have Herwig7 installed through the bootstrap script in my home directory (and ThePEG and HepMC also in the same directory through the bootstrap script).
>
> I've tried modifying input/mg5_configuration.txt to include the path to Herwig in hwpp_path, thepeg_path and hepmc_path, following the instruction to use the same directory also for ThePEG and HepMC (I also tried providing the separate directories), but without any success. When I generate events the only options for the shower variable are Pythia8 (which runs successfully) or OFF (I had expectet Herwig to appear as an option there).
>
> I've used the path /home/[username]/Herwig7 for hwpp_path, thepeg_path and hepmc_path. The Herwig7 folder in turn contains folders like bin, src, include etc where the code for Herwig, ThePEG and HepMC can be found, and I've also tried using paths like /home/[username]/Herwig7/src or similar.
>
> By the way, when I've searched for ways to solve the issue I've seen references to a shower_card.dat that seems to be generated for each run. However, I don't get such a card when I do a run. Is that something which has changed in the most recent version or something wrong with my installation?
>
> Lastly, I have been able to read in the LHE file generated from a MG run into Herwig7 and do the shower/hadronisation there with success. However, I would prefer if I could do everything from within MG.
>
> I'm using MG5 v2.6.3.2 downloaded some weeks ago.
>
> Thankful for any help,
> Carl
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Carl Niblaeus (cnibl) said : #2

Thanks Olivier Mattelaer, that solved my question.