ATLAS Offline Software
PowhegPythia8EvtGen_jetjet.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 = { 1:2 , 2:5 , 3:15 , 4:30 , 5:75 , 6:150 , 7:250 ,
7  8:750 , 9:1250 }
8 supp = { 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 theEnergy = int(runArgs.ecmEnergy)/1000
13 PowhegConfig.bornktmin = ktmin[ theRun ]
14 PowhegConfig.bornsuppfact = supp[ theRun ]
15 
16 # Just 22k to make 20k output
17 # 22k = 5-7 hrs on a batch node; can do up to 3x as many
18 if theRun in [1,2,3]: PowhegConfig.nEvents = 12000
19 if theRun in [4]: PowhegConfig.nEvents = 22000
20 if theRun in [5]: PowhegConfig.nEvents = 33000
21 if theRun in [6,7]: PowhegConfig.nEvents = 66000
22 if theRun in [8]: PowhegConfig.nEvents = 55000
23 if theRun in [9]: PowhegConfig.nEvents = 36000
24 
25 # for energy [7,8] we ned to reduce the number of input events
26 if theEnergy in [7,8] and theRun in [5]: PowhegConfig.nEvents = 20000
27 if theEnergy in [7,8] and theRun in [6,7]: PowhegConfig.nEvents = 40000
28 if theEnergy in [7,8] and theRun in [8]: PowhegConfig.nEvents = 30000
29 
30 print PowhegConfig
31 
32 #PowhegConfig.generateRunCard()
33 #PowhegConfig.generateEvents()
34 
35 PowhegConfig.generate()
36 
37 
40 evgenConfig.description = "POWHEG+Pythia8 dijet production with bornktmin = %i GeV, bornsuppfact = %i GeV, muR=muF=1"%(PowhegConfig.bornktmin,PowhegConfig.bornsuppfact)
41 evgenConfig.keywords = [ "QCD", "dijet", "jets", "SM" ]
42 evgenConfig.contact = [ "ZLMarshall@lbl.gov" ]
43 evgenConfig.generators += [ "Pythia8" ]
44 
45 # For JZ 1-6 this is no problem
46 evgenConfig.minevents = 5000
47 # For JZ 7 things are a bit tighter
48 if theRun in [7]: evgenConfig.minevents = 3000
49 # For the remainder, it's way tight
50 if theRun in [8]: evgenConfig.minevents = 1000
51 if theRun in [9]: evgenConfig.minevents = 200
52 
53 if theEnergy in [7,8]:
54  if theRun in [4]: evgenConfig.minevents = 4000
55  if theRun in [5]: evgenConfig.minevents = 1000
56  if theRun in [6]: evgenConfig.minevents = 200
57  if theRun in [7]: evgenConfig.minevents = 100
58 
59 
62 include('Pythia8_i/Pythia8_A14_NNPDF23LO_EvtGen_Common.py')
63 include("Pythia8_i/Pythia8_Powheg_Main31.py")
64 
65 # Add the jet filter
66 include("GeneratorFilters/JetFilter_JZ%i.py"%(theRun))
67 # Make J9 inclusive
68 if 9==theRun: filtSeq.QCDTruthJetFilter.MaxPt = -1
69 
70 evgenConfig.inputconfcheck = "jetjet_J%i"%(theRun)
71 
python.Include.include
include
Definition: Include.py:319
readCCLHist.int
int
Definition: readCCLHist.py:84