Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas-physics
pmg
MC Job Options
Commits
97729411
Commit
97729411
authored
Sep 10, 2021
by
Jan Kretzschmar
Committed by
Matthew Gignac
Sep 10, 2021
Browse files
move MG FxFx diphoton+jets to physics block
parent
2c52edcb
Pipeline
#3005288
passed with stages
in 2 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
508xxx/508679/mc.aMCPy8_2a_2j_FxFx.py
0 → 100644
View file @
97729411
#--------------------------------------------------------------
# EVGEN configuration
#--------------------------------------------------------------
evgenConfig
.
description
=
"MadGraph+Pythia8 samples for diphoton production at NLO"
evgenConfig
.
keywords
=
[
"SM"
,
"diphoton"
]
evgenConfig
.
contact
=
[
"yanwen.hong@cern.ch"
,
"ana.cueto@cern.ch"
]
evgenConfig
.
generators
=
[
"aMcAtNlo"
,
"Pythia8"
]
# --------------------------------------------------------------
# Generate events
# --------------------------------------------------------------
import
MadGraphControl.MadGraph_NNPDF30NLO_Base_Fragment
from
MadGraphControl.MadGraphUtils
import
*
# General settings
nevents
=
runArgs
.
maxEvents
*
3
if
runArgs
.
maxEvents
>
0
else
3
*
evgenConfig
.
nEventsPerJob
gridpack_mode
=
True
if
not
is_gen_from_gridpack
():
process
=
"""
import model loop_sm-no_b_mass
define p = g u c d s b u~ c~ d~ s~ b~
define j = g u c d s b u~ c~ d~ s~ b~
generate p p > a a [QCD] @0
add process p p > a a j [QCD] @1
add process p p > a a j j [QCD] @2
output -f
"""
process_dir
=
new_process
(
process
)
else
:
process_dir
=
MADGRAPH_GRIDPACK_LOCATION
#Fetch default LO run_card.dat and set parameters
settings
=
{
'parton_shower'
:
'PYTHIA8'
,
'req_acc'
:
0.001
,
'ickkw'
:
3
,
'ptgmin'
:
15
,
'etagamma'
:
2.7
,
'R0gamma'
:
0.1
,
'xn'
:
2.0
,
'epsgamma'
:
0.1
,
'isoEM'
:
True
,
'nevents'
:
int
(
nevents
)}
modify_run_card
(
process_dir
=
process_dir
,
runArgs
=
runArgs
,
settings
=
settings
)
generate
(
process_dir
=
process_dir
,
runArgs
=
runArgs
,
grid_pack
=
gridpack_mode
)
arrange_output
(
process_dir
=
process_dir
,
runArgs
=
runArgs
,
lhe_version
=
3
,
saveProcDir
=
False
)
############################
# Shower JOs will go here
# --------------------------------------------------------------
# Shower settings
# --------------------------------------------------------------
include
(
"Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py"
)
include
(
"Pythia8_i/Pythia8_aMcAtNlo.py"
)
PYTHIA8_nJetMax
=
2
PYTHIA8_qCut
=
15.
print
"PYTHIA8_nJetMax = %i"
%
PYTHIA8_nJetMax
print
"PYTHIA8_qCut = %i"
%
PYTHIA8_qCut
genSeq
.
Pythia8
.
Commands
+=
[
"JetMatching:merge = on"
,
"JetMatching:scheme = 1"
,
"JetMatching:setMad = off"
,
"JetMatching:qCut = %f"
%
PYTHIA8_qCut
,
"JetMatching:coneRadius = 1.0"
,
"JetMatching:etaJetMax = 10.0"
,
"JetMatching:doFxFx = on"
,
"JetMatching:qCutME = 10.0"
,
"JetMatching:nJetMax = %i"
%
PYTHIA8_nJetMax
]
genSeq
.
Pythia8
.
UserHooks
=
[
'JetMatchingMadgraph'
]
genSeq
.
Pythia8
.
FxFxXS
=
True
genSeq
.
Pythia8
.
Commands
+=
[
"TimeShower:QEDshowerByGamma = off"
]
508xxx/508679/mc_13TeV.aMCPy8_2a_2j_FxFx.GRID.tar.gz
0 → 120000
View file @
97729411
../../950xxx/950313/mc_13TeV.aMCPy8_2a_2j_FxFx_valid.GRID.tar.gz
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment