MG5_aMC+Herwig++ Always Herwig++ default PDF is used?
Dear MG5_aMC experts,
I think there is a missing parameter in your automatic script if LHE files are generated by MG5_aMC@NLO and then showered with Herwig++.
You are defining the PDF according to the hard subprocess also in the Herwig++ IN.file, however, it seems to me that you never define that this PDF should be used by the LHEReader or in Herwig++ at all. So the PDF is defined but never used.
I maybe wrong, but in my opinion the following two lines are missing:
set /Herwig/
set /Herwig/
In this way the PDF from the hard subprocess will be also used in Herwig++ for reading in the LHE level events while still the default shower and UE PDF is used.
If you want to use the PDF for everything in Herwig++ which is not recommend since this could mean that you use a NLO PDF for the shower and UE and / or use a PDF which does not correspond to the tune, you should add the following two lines to your Herwig++ IN.file script:
set /Herwig/
set /Herwig/
Here is your automatic script which I obtained using MG5_aMC@
#
# Create the Les Houches handler for MC@NLO
#
library LesHouches.so
# -------
# 1.) NECESSARY SETTINGS FOR RUNNING WITH MC@NLO EVENTS (DO NOT MODIFY)
set /Herwig/
set /Herwig/
set /Herwig/
# create the Handler & Reader
create ThePEG:
create ThePEG:
insert /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
insert /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
# Define PDF from MCatNLO.inputs PDFSET number
mkdir /LHAPDF
create ThePEG::LHAPDF /LHAPDF/MCNLOPDF ThePEGLHAPDF.so
set /LHAPDF/
# DEFINE THE INPUT EVENT FILE
set /Herwig/
# -------
# 2.) DEFINE PHYSICS PARAMETERS FROM FILE <MCatNLO_
# TODO set the correct incoming particles
# set masses and widths
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
# -------
# 3.) ADDITIONAL SETTINGS
# SHOWER SETTINGS
set /Herwig/
# CREATE AND APPLY CUTS
create ThePEG::Cuts /Herwig/Cuts/NoCuts
set /Herwig/
# Switching off MPI
set /Herwig/
# HERE YOU CAN TURN ON/OFF DECAY
# If DecayHandler is set equal to NULL, then set CheckQuark equal to 0, to
# prevent a lot of warnings
#set /Herwig/
#set /Herwig/
do /Herwig/
set /Herwig/
#
# Prevent particles from decaying
# Particle names can be found in Herwig+
#
# pi0
set /Herwig/
# 4.) HW++ SETTINGS THAT ARE NOT ALLOWED TO BE TOUCHED BY THE USER
#Boost and reconstruction stuff
set /Herwig/
set /Herwig/
# -------
# 5.) CREATE THE ANALYZER AND SAVE THE RUN (DO NOT MODIFY)
#create MCatNLO::hepfortr hepfortr hepfortr.so
#insert /Herwig/
# Useful analysis handlers for HepMC related output
#######
# Schematic overview of an event (requires --with-hepmc to be set at configure time
# and the graphviz program 'dot' to produce a plot)
#create MCatNLO:: .so
#insert /Herwig/
# insert LHCGenerator:
# A HepMC dump file (requires --with-hepmc to be set at configure time)
# insert LHCGenerator:
insert /Herwig/
set /Herwig/
set /Herwig/
set /Herwig/
saverun MCATNLO_HERWIGPP /Herwig/
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- Paolo Torrielli Edit question
- Solved by:
- Marco A. Harrendorf
- Solved:
- Last query:
- Last reply: