Skip to content
GitLab
Menu
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
5f3cdc83
Commit
5f3cdc83
authored
Dec 02, 2021
by
Rohin Thampilali Narayan
Browse files
manually moved DSID folder
parent
a5446d65
Pipeline
#3309954
failed with stages
in 1 minute and 58 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
501xxx/501720/._mc.aMCPy8EG_A14NNPDF23LO_ttW_FxFx01jNLO.py
0 → 100644
View file @
5f3cdc83
File added
501xxx/501720/log.generate.short
0 → 100644
View file @
5f3cdc83
- estimated CPU for CI job = 0.12 hrs
- using release = AthGeneration-21.6.72
- ecmEnergy = 13000.0
- randomSeed = 1100
- EVNT to EVNT = False
- LHEonly = False
- ATHENA_PROC_NUMBER = 8
501xxx/501720/mc.aMCPy8EG_A14NNPDF23LO_ttW_FxFx01jNLO.py
0 → 100644
View file @
5f3cdc83
import
MadGraphControl.MadGraphUtils
MadGraphControl
.
MadGraphUtils
.
MADGRAPH_PDFSETTING
=
{
'central_pdf'
:
303600
,
# the lhapf id of the central pdf, see https://lhapdf.hepforge.org/pdfsets
'pdf_variations'
:[
303600
],
# list of pdfs ids for which all variations (error sets) will be included as weights
'alternative_pdfs'
:
None
,
# list of pdfs ids for which only the central set will be included as weights
'scale_variations'
:[
0.5
,
1
,
2
],
# variations of muR and muF wrt the central scale, all combinations of muF and muR will be evaluated
}
from
MadGraphControl.MadGraphUtils
import
*
#Job bookkeping infos
evgenConfig
.
description
=
'aMcAtNlo ttW+0,1j@NLO FxFx'
evgenConfig
.
contact
=
[
"marcos.miralles.lopez@cern.ch"
]
evgenConfig
.
keywords
+=
[
'ttW'
,
'jets'
]
#evgenConfig.inputconfcheck='/afs/cern.ch/work/m/mmiralle/ATHENA/QT/MG5_ttX_FxFx_myGridpack/forMarcos/999999/mc_13TeV.aMCPy8EG_A14NNPDF23LO_ttW_FxFx01jNLO.GRID.tar.gz'
# General settings
evgenConfig
.
nEventsPerJob
=
10000
nevents
=
runArgs
.
maxEvents
*
2.0
if
runArgs
.
maxEvents
>
0
else
2.0
*
evgenConfig
.
nEventsPerJob
#Madgraph run card and shower settings
# Shower/merging settings
maxjetflavor
=
5
parton_shower
=
'PYTHIA8'
nJetMax
=
1
qCut
=
150.
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~
define w = w+ w-
define l+ = e+ mu+ ta+
define l- = e- mu- ta-
generate p p > t t~ w [QCD] @0
add process p p > t t~ w j [QCD] @1
output -f
"""
process_dir
=
new_process
(
process
)
else
:
process_dir
=
MADGRAPH_GRIDPACK_LOCATION
#Fetch default run_card.dat and set parameters
settings
=
{
'maxjetflavor'
:
int
(
maxjetflavor
),
'parton_shower'
:
parton_shower
,
'nevents'
:
int
(
nevents
),
'ickkw'
:
3
,
'jetradius'
:
1.0
,
'ptj'
:
10
,
'etaj'
:
10
,
'bwcutoff'
:
50
,
}
modify_run_card
(
process_dir
=
process_dir
,
runArgs
=
runArgs
,
settings
=
settings
)
# Add madspin card
madspin_card
=
process_dir
+
'/Cards/madspin_card.dat'
if
os
.
access
(
madspin_card
,
os
.
R_OK
):
os
.
unlink
(
madspin_card
)
mscard
=
open
(
madspin_card
,
'w'
)
mscard
.
write
(
"""#************************************************************
#* MadSpin *
#* *
#* P. Artoisenet, R. Frederix, R. Rietkerk, O. Mattelaer *
#* *
#* Part of the MadGraph5_aMC@NLO Framework: *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#Some options (uncomment to apply)
#
set ms_dir %s
# set Nevents_for_max_weigth 75 # number of events for the estimate of the max. weight
set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
#
set seed %i
set BW_cut 50 # cut on how far the particle can be off-shell
# specify the decay for the final state particles
decay t > w+ b, w+ > all all
decay t~ > w- b~, w- > all all
decay w+ > all all
decay w- > all all
decay z > all all
# running the actual code
launch"""
%
(
process_dir
+
'/MadSpin'
,
runArgs
.
randomSeed
))
mscard
.
close
()
generate
(
process_dir
=
process_dir
,
grid_pack
=
gridpack_mode
,
runArgs
=
runArgs
)
arrange_output
(
process_dir
=
process_dir
,
runArgs
=
runArgs
,
lhe_version
=
3
,
saveProcDir
=
True
)
# Helper for resetting process number
check_reset_proc_number
(
opts
)
#### Shower: Py8 with A14 Tune, with modifications to make it simil-NLO
include
(
"Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py"
)
include
(
"Pythia8_i/Pythia8_MadGraph.py"
)
genSeq
.
Pythia8
.
Commands
+=
[
"SpaceShower:pTmaxMatch = 1"
,
"SpaceShower:MEcorrections = off"
,
"TimeShower:pTmaxMatch = 1"
,
"TimeShower:pTmaxFudge = 1"
,
"TimeShower:MEcorrections = off"
,
"TimeShower:globalRecoil = on"
,
"TimeShower:limitPTmaxGlobal = on"
,
"TimeShower:nMaxGlobalRecoil = 1"
,
"TimeShower:globalRecoilMode = 2"
,
"TimeShower:nMaxGlobalBranch = 1."
,
"TimeShower:weightGluonToQuark=1."
,
"Check:epTolErr = 1e-2"
]
#simil-NLO parameters
genSeq
.
Pythia8
.
Commands
+=
[
"SpaceShower:alphaSuseCMW = on"
,
"SpaceShower:alphaSorder = 2"
,
"TimeShower:alphaSuseCMW = on"
,
"TimeShower:alphaSorder = 2"
,
"SpaceShower:alphaSvalue = 0.118"
,
"TimeShower:alphaSvalue = 0.118"
]
# FxFx Matching settings, according to authors prescriptions (NB: it changes tune pars)
PYTHIA8_nJetMax
=
nJetMax
PYTHIA8_qCut
=
qCut
genSeq
.
Pythia8
.
Commands
+=
[
"JetMatching:merge = on"
,
"JetMatching:scheme = 1"
,
"JetMatching:setMad = off"
,
"SpaceShower:rapidityOrder = off"
,
"SpaceShower:pTmaxFudge = 1.0"
,
"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
,
'JetMatching:jetAlgorithm = 2'
,
#explicit setting of kt-merging for FxFx (also imposed by Py8-FxFx inteface)
'JetMatching:slowJetPower = 1'
,
#explicit setting of kt-merging for FxFx (also imposed by Py8-FxFx inteface)
'JetMatching:nQmatch = 5'
,
#4 corresponds to 4-flavour scheme (no matching of b-quarks), 5 for 5-flavour scheme
"JetMatching:eTjetMin = %f"
%
PYTHIA8_qCut
#This is 20 in the Pythia default, it should be <= qCut
]
genSeq
.
Pythia8
.
UserHooks
=
[
'JetMatchingMadgraph'
]
genSeq
.
Pythia8
.
FxFxXS
=
True
501xxx/501720/mc_13TeV.aMCPy8EG_A14NNPDF23LO_ttW_FxFx01jNLO.GRID.tar.gz
0 → 120000
View file @
5f3cdc83
/eos/user/n/narayan/topMC/mc_13TeV.aMCPy8EG_A14NNPDF23LO_ttW_FxFx01jNLO.GRID.tar.gz
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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