ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_A14NNPDF23_DMV_example.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
3#--------------------------------------------------------------
4# This is an example joboption to generate events with Powheg
5# using ATLAS' interface. Users should optimise and carefully
6# validate the settings before making an official sample request.
7#--------------------------------------------------------------
8
9#--------------------------------------------------------------
10# EVGEN configuration
11#--------------------------------------------------------------
12evgenConfig.description = "POWHEG+Pythia8 vector dark matter production with A14 NNPDF2.3 tune."
13evgenConfig.keywords = ["BSM", "WIMP", "invisible"]
14evgenConfig.contact = ["james.robinson@cern.ch"]
15
16# --------------------------------------------------------------
17# Load ATLAS defaults for the Powheg DMV process
18# --------------------------------------------------------------
19include("PowhegControl/PowhegControl_DMV_Common.py")
20
21# --------------------------------------------------------------
22# Generate events
23# --------------------------------------------------------------
24PowhegConfig.generate()
25
26#--------------------------------------------------------------
27# Pythia8 showering with the A14 NNPDF2.3 tune, main31 routine
28#--------------------------------------------------------------
29include("Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py")
30include("Pythia8_i/Pythia8_Powheg_Main31.py")
31
32# id:all = name antiName spinType chargeType colType m0 mWidth mMin mMax tau0
33genSeq.Pythia8.Commands += ["1000022:all = X Xbar 2 0 0 {0} 0.0 0.0 0.0 0.0".format(PowhegConfig.DM_mass),
34 "1000022:isVisible = false"]