ATLAS Offline Software
Loading...
Searching...
No Matches
PowhegPythia8EvtGen_jetjet_R04.py
Go to the documentation of this file.
1# This includes the setting of random seeds and c.o.m. energy
2include('PowhegControl/PowhegControl_Dijet_Common.py')
3PowhegConfig.bornktmin = int(runArgs.runNumber)
4PowhegConfig.pdf = 11000
5
6ktmin = { 0:2, 1:2 , 2:5 , 3:15 , 4:30 , 5:75 , 6:150 , 7:250 ,
7 8:750 , 9:1250 }
8supp = { 0:20, 1:60 , 2:160 , 3:400 , 4:800 , 5:1800 , 6:3200 ,
9 7:5300 , 8:9000 , 9:11000 }
10
11theRun = int(runArgs.runNumber)%10
12PowhegConfig.bornktmin = ktmin[ theRun ]
13PowhegConfig.bornsuppfact = supp[ theRun ]
14
15# Modified slices 3-5 to produce enough events for Pythia
16if theRun in [0,1,2,3]: PowhegConfig.nEvents = 15000
17if theRun in [4]: PowhegConfig.nEvents = 30000
18if theRun in [5]: PowhegConfig.nEvents = 45000
19# below values not tested
20if theRun in [6,7]: PowhegConfig.nEvents = 66000
21if theRun in [8]: PowhegConfig.nEvents = 55000
22if theRun in [9]: PowhegConfig.nEvents = 36000
23
24print PowhegConfig
25
26PowhegConfig.generateRunCard()
27PowhegConfig.generateEvents()
28
29
32evgenConfig.description = "POWHEG+Pythia8 dijet production with bornktmin = %i GeV, bornsuppfact = %i GeV, muR=muF=1"%(PowhegConfig.bornktmin,PowhegConfig.bornsuppfact)
33evgenConfig.keywords = [ "QCD", "dijet", "jets", "SM" ]
34evgenConfig.contact = [ "ZLMarshall@lbl.gov" ]
35evgenConfig.generators += [ "Pythia8" ]
36
37# For JZ 1-3 this is no problem
38evgenConfig.minevents = 5000
39if theRun in [4]: evgenConfig.minevents = 1000
40if theRun in [5]: evgenConfig.minevents = 500
41# below values not tested
42if theRun in [6]: evgenConfig.minevents = 500
43if theRun in [7]: evgenConfig.minevents = 500
44if theRun in [8]: evgenConfig.minevents = 500
45if theRun in [9]: evgenConfig.minevents = 200
46
47
50include('Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py')
51include("Pythia8_i/Pythia8_Powheg_Main31.py")
52
53# Add the jet filter
54include("GeneratorFilters/JetFilter_JZ%iR04.py"%(theRun))
55# Make J9 inclusive
56if 9==theRun: filtSeq.QCDTruthJetFilter.MaxPt = -1
57
58evgenConfig.inputconfcheck = "jetjet_JZ%i"%(theRun)