ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
EvgenJobTransforms
share
EvgenTest
421001
mc.Sh30_Zj_valid.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
from
EvgenJobTransforms.EvgenCAConfig
import
EvgenConfig
4
5
class
Sample
(EvgenConfig):
6
7
def
setupFlags
(self, flags):
8
self.
description
=
"Sherpa 3.0 example JO, Z+0,1-jet production."
9
self.
keywords
= [
"2lepton"
]
10
self.
contact
= [
"atlas-generators-sherpa@cern.ch"
,
"spyros.argyropoulos@cern.ch"
]
11
self.
nEventsPerJob
= 10000
12
13
def
setupProcess
(self, flags):
14
from
Sherpa_i.SherpaConfig
import
(
15
Sherpa3_PDF4LHC21_Cfg
16
)
17
18
# Define Sherpa Process and selectors
19
run_card =
"""
20
PROCESSES:
21
- 93 93 -> 11 -11 93{0}:
22
Order: {QCD: 0, EW: 2}
23
CKKW: 20
24
25
SELECTORS:
26
- [Mass, 11, -11, 40, E_CMS]
27
"""
28
29
30
# Set up Sherpa configuration: Sherpa 3 with PDF4LHC21 NNLO PDF tune,
31
# no OpenLoops, and default Sherpa settings for hadronization, MPI, etc
32
sampleConfig = Sherpa3_PDF4LHC21_Cfg(
33
flags,
34
RunCard=run_card
35
)
36
37
# Non-default settings can be passed as kwargs, e.g.
38
#sampleConfig = Sherpa3_PDF4LHC21_Cfg(
39
# flags,
40
# RunCard=run_card,
41
# NCores=16,
42
# CleanupGeneratedFiles=False
43
#)
44
45
return
sampleConfig
mc.Sample
Definition
mc.Sh30_Zj_valid.py:5
mc.Sample.setupProcess
setupProcess(self, flags)
Definition
mc.Sh30_Zj_valid.py:13
mc.Sample.contact
list contact
Definition
mc.Sh30_Zj_valid.py:10
mc.Sample.description
str description
Definition
mc.Sh30_Zj_valid.py:8
mc.Sample.nEventsPerJob
int nEventsPerJob
Definition
mc.Sh30_Zj_valid.py:11
mc.Sample.setupFlags
setupFlags(self, flags)
Definition
mc.Sh30_Zj_valid.py:7
mc.Sample.keywords
list keywords
Definition
mc.Sh30_Zj_valid.py:9
Generated on
for ATLAS Offline Software by
1.16.1