Exemplo n.º 1
0
## Herwig++ config for the CTEQ6L1 UE-EE-5 tune series with a NNPDF3.0 NLO ME PDF
include("MC15JobOptions/Herwigpp_Base_Fragment.py")

## Construct command set
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(runArgs.ecmEnergy) + hw.base_cmds() \
    + hw.nlo_pdf_cmds("NNPDF30_nlo_as_0118.LHgrid", "cteq6ll.LHpdf") \
    + hw.ue_tune_cmds("UE-EE-5-CTEQ6L1")
genSeq.Herwigpp.Commands += cmds.splitlines()
del cmds

evgenConfig.tune = "CTEQ6L1-UE-EE-5"
Exemplo n.º 2
0
## Herwig++ config for the MRSTMCal UE-EE-5 tune series with a NNPDF3.0 NLO ME PDF
include("MC15JobOptions/Herwigpp_Base_Fragment.py")

## Construct command set
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(runArgs.ecmEnergy) + hw.base_cmds() \
     + hw.nlo_pdf_cmds("NNPDF30_nlo_as_0118.LHgrid", "MRSTMCal.LHgrid") \
     + hw.ue_tune_cmds("UE-EE-5-LO**")
genSeq.Herwigpp.Commands += cmds.splitlines()
del cmds

evgenConfig.tune = "LO**-UE-EE-5"
Exemplo n.º 3
0
##
## See bottom of this file for an example POWHEG config

include("GeneratorUtils/StdEvgenSetup.py")

# ## Control log levels
# svcMgr.MessageSvc.OutputLevel = DEBUG

## Add H++ to the job list
from Herwigpp_i.Herwigpp_iConf import Herwigpp
topAlg += Herwigpp()

from Herwigpp_i import config as hw
## According to Paolo Nason, using NLO PDFs for ME and LO for PS/UE is okay
cmds = hw.energy_cmds(7000) + hw.base_cmds() + hw.lo_pdf_cmds(
    "cteq6ll.LHpdf") + hw.ue_tune_cmds("CTEQ6L1-UE-EE-7000-3")

# TODO: Check that mass resets (to match POWHEG) are approved.
cmds += """
setup /Herwig/Particles/t     6 t    172.5 1.4 14 0  2  3 2 0
#setup /Herwig/Particles/tbar -6 tbar 174.2 1.4 14 0 -2 -3 2 0
set /Herwig/Particles/u:NominalMass 0.320
set /Herwig/Particles/ubar:NominalMass 0.320

set /Herwig/Particles/d:NominalMass 0.320
set /Herwig/Particles/dbar:NominalMass 0.320

set /Herwig/Particles/s:NominalMass 0.5
set /Herwig/Particles/sbar:NominalMass 0.5

set /Herwig/Particles/c:NominalMass 1.55
## Generic job options file for Herwig++

include("GeneratorUtils/StdEvgenSetup.py")

# ## Control log levels
# svcMgr.MessageSvc.OutputLevel = DEBUG

## Add H++ to the job list
from Herwigpp_i.Herwigpp_iConf import Herwigpp
topAlg += Herwigpp()

## Get basic Herwig++ Atlas tune params
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(1960) + hw.base_cmds() + hw.lo_pdf_cmds(
    "cteq6ll.LHpdf") + hw.ue_tune_cmds("CTEQ6L1-UE-EE-1800-1")

## Set jet min pT cut: override on Athena command line with e.g. "-c JETPTCUT=30"
JET_PT_CUT = 1
if 'JETPTCUT' in dir():
    JET_PT_CUT = JETPTCUT

## Add to commands
cmds += """
set /Herwig/Generators/LHCGenerator:EventHandler:BeamB /Herwig/Particles/pbar-
insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEQCD2to2
set /Herwig/Cuts/JetKtCut:MinKT %f*GeV
set /Herwig/Cuts/QCDCuts:MHatMin %f*GeV
set /Herwig/UnderlyingEvent/MPIHandler:IdenticalToUE 0
""" % (JET_PT_CUT, 2 * JET_PT_CUT)

## Use weighted events with an enhanced pT spectrum
Exemplo n.º 5
0
## Job options file for Herwig++, W -> tau nu_tau production

include("GeneratorUtils/StdEvgenSetup.py")

# ## Control log levels
# svcMgr.MessageSvc.OutputLevel = DEBUG

## Add H++ to the job list
from Herwigpp_i.Herwigpp_iConf import Herwigpp
topAlg += Herwigpp()

## Get basic Herwig++ Atlas tune params
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(7000) + hw.base_cmds() + hw.lo_pdf_cmds("cteq6ll.LHpdf") + hw.ue_tune_cmds("CTEQ6L1-UE-EE-7000-3")

## Add to commands
cmds += """
## Set up qq -> W -> tau nu_tau process
insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEqq2W2ff
set /Herwig/MatrixElements/SimpleQCD:MatrixElements[0]:Process Tau
"""

## Set commands
topAlg.Herwigpp.Commands = cmds.splitlines()
## Herwig++ config for the MRSTMCal UE-EE-5 tune series with a NNPDF3.0 NLO ME PDF
include("MC15JobOptions/Herwigpp_Base_Fragment.py")

## Construct command set
from Herwigpp_i import config as hw

cmds = (
    hw.energy_cmds(runArgs.ecmEnergy)
    + hw.base_cmds()
    + hw.nlo_pdf_cmds("NNPDF30_nlo_as_0118.LHgrid", "MRSTMCal.LHgrid")
    + hw.ue_tune_cmds("UE-EE-5-LO**")
)
genSeq.Herwigpp.Commands += cmds.splitlines()
del cmds

evgenConfig.tune = "LO**-UE-EE-5"
Exemplo n.º 7
0
## Herwig++ config for the H7-UE-MMHT tune series with an LO ME PDF
include("MC15JobOptions/Herwigpp_Base_Fragment.py")

## Construct command set
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(runArgs.ecmEnergy) + hw.base_cmds() \
    + hw.nlo_pdf_cmds("CT10.LHgrid", "MMHT2014lo68cl.LHpdf") \
    + hw.ue_tune_cmds("H7-UE-MMHT")
genSeq.Herwigpp.Commands += cmds.splitlines()
del cmds

evgenConfig.tune = "H7-UE-MMHT"

## Herwig++ config for the H7-UE-MMHT tune series with an LO ME PDF
include("MC15JobOptions/Herwigpp_Base_Fragment.py")

## Construct command set
from Herwigpp_i import config as hw

cmds = (
    hw.energy_cmds(runArgs.ecmEnergy)
    + hw.base_cmds()
    + hw.nlo_pdf_cmds("CT10.LHgrid", "MMHT2014lo68cl.LHpdf")
    + hw.ue_tune_cmds("H7-UE-MMHT")
)
genSeq.Herwigpp.Commands += cmds.splitlines()
del cmds

evgenConfig.tune = "H7-UE-MMHT"
Exemplo n.º 9
0
## Job options file for Herwig++, reading an NLO Les Houches Accord event file

include("GeneratorUtils/StdEvgenSetup.py")

# ## Control log levels
# svcMgr.MessageSvc.OutputLevel = DEBUG

## Add H++ to the job list
from Herwigpp_i.Herwigpp_iConf import Herwigpp
topAlg += Herwigpp()

## Get basic Herwig++ Atlas tune params
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(7000) + hw.base_cmds() + \
    hw.nlo_pdf_cmds("CT10.LHgrid", "cteq6ll.LHpdf") + hw.ue_tune_cmds("CTEQ6L1-UE-EE-7000-3") + \
    hw.lhef_cmds(nlo=True)

## Add to commands
cmds += """
## Some particle decay modes
# cd /Herwig/Particles
# set b:Stable Stable
# set bbar:Stable Stable
# set tau+:Stable Stable
# set tau-:Stable Stable
# set t:Synchronized Not_synchronized
# set tbar:Synchronized Not_synchronized

# setup t     6 t    174.2 1.5759 14 0  2  3 2 0
# setup tbar -6 tbar 174.2 1.5759 14 0 -2 -3 2 0
## Generic job options file for Herwig++

include("GeneratorUtils/StdEvgenSetup.py")

# ## Control log levels
# svcMgr.MessageSvc.OutputLevel = DEBUG

## Add H++ to the job list
from Herwigpp_i.Herwigpp_iConf import Herwigpp
topAlg += Herwigpp()

## Get basic Herwig++ Atlas tune params
from Herwigpp_i import config as hw
cmds = hw.energy_cmds(7000) + hw.base_cmds() + hw.lo_pdf_cmds(
    "cteq6ll.LHpdf") + hw.ue_tune_cmds("UE-EE-4-CTEQ6L1")

## Add to commands
cmds += """
## Number of events for Herwig++ to print
#set /Herwig/Generators/LHCGenerator:PrintEvent 10

## Amount of info to print in debug output
set /Herwig/Generators/LHCGenerator:DebugLevel 2

## Insert MEs
insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEQCD2to2
#insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEqq2gZ2ff
#insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEqq2W2ff
#insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEGammaGamma
#insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEGammaJet
#insert /Herwig/MatrixElements/SimpleQCD:MatrixElements[0] /Herwig/MatrixElements/MEHiggs