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