ATLAS Offline Software
jobOption.fragment.WhizardPythia.py
Go to the documentation of this file.
1 
7 
8 #--------------------------------------------------------------
9 # Private Application Configuration options
10 #--------------------------------------------------------------
11 theApp.Dlls += [ "Pythia_i" ]
12 theApp.TopAlg = ["Pythia"]#,"DumpMC"]
13 #--------------------------------------------------------------
14 # Algorithms Private Options
15 #--------------------------------------------------------------
16 # Channel switches
17 Wtojj = "0"
18 Wtoln = "1"
19 Ztojj = "0"
20 Ztoll = "1"
21 Pythia = Algorithm( "Pythia" )
22 #---------------------------------------------------------------
23 Pythia.PythiaCommand = [
24  # Use Madgraph interface
25  "pyinit user lhef",
26 
27  # Set process type and W' mass
28  "pysubs msel 0",
29 
30  "pydat2 pmas 25 1 1.E9", # Higgs mass
31 
32 
36 
37  # Z -> to quarks
38  "pydat3 mdme 174 1 "+Ztojj,
39  "pydat3 mdme 175 1 "+Ztojj,
40  "pydat3 mdme 176 1 "+Ztojj,
41  "pydat3 mdme 177 1 "+Ztojj,
42  "pydat3 mdme 178 1 "+Ztojj,
43  "pydat3 mdme 179 1 "+Ztojj,
44 
45  # Z -> ll
46  "pydat3 mdme 182 1 "+Ztoll,
47  "pydat3 mdme 183 1 0", # to nu_e
48  "pydat3 mdme 184 1 "+Ztoll,
49  "pydat3 mdme 185 1 0", # to nu_mu
50 
51  # Close Z -> tau channels
52  "pydat3 mdme 186 1 0",
53  "pydat3 mdme 187 1 0",
54  "pydat3 mdme 188 1 0",
55  "pydat3 mdme 189 1 0",
56 
57 
58 
60  "pydat3 mdme 206 1 "+Wtoln,
61  "pydat3 mdme 207 1 "+Wtoln,
62 
63  # Close W -> tau channels
64  "pydat3 mdme 208 1 0", # no tau
65  "pydat3 mdme 209 1 0",
66 
67 
68  # W -> quarks channels -------------------
69  "pydat3 mdme 190 1 "+Wtojj,
70  "pydat3 mdme 191 1 "+Wtojj,
71  "pydat3 mdme 192 1 "+Wtojj,
72  # "pydat3 mdme 193 1 "+Wtojj, # to t' : keep default value
73  "pydat3 mdme 194 1 "+Wtojj,
74  "pydat3 mdme 195 1 "+Wtojj,
75  "pydat3 mdme 196 1 "+Wtojj,
76  #"pydat3 mdme 197 1 "+Wtojj, # to t' : keep default value
77  "pydat3 mdme 198 1 "+Wtojj,
78  "pydat3 mdme 199 1 "+Wtojj,
79  "pydat3 mdme 200 1 "+Wtojj,
80 
85 
86  # No tau decays (Tauola)
87  "pydat3 mdcy 15 1 0",
88  # No FSR (Photos)
89  "pydat1 parj 90 20000",
90 
91 
92  "pysubs ckin 1 300", # minimun for the invariant mass
93  # of WZ
94  "pyinit pylistf 1",
95 
96  # list 1st 10 events
97  "pyinit dumpr 1 10",
98 
99  # print the decay info
100  "pyinit pylisti 12"
101 
102 ]
103 
104 #--------------------------------------------------------------
105 # Configuration for EvgenJobTransforms
106 #--------------------------------------------------------------
107 from EvgenJobOptions.PythiaEvgenConfig import evgenConfig
108 evgenConfig.efficiency = 0.9
109 evgenConfig.generators = ["Pythia","Lhef"]
110 evgenConfig.inputfilebase = "whizard.lhe"
111 evgenConfig.minevents = 1 # Don't crash when testing
112 evgenConfig.maxeventsfactor = 100000000 # dito