ATLAS Offline Software
Pythia8_Base_Fragment.py
Go to the documentation of this file.
1 
2 from Pythia8_i.Pythia8_iConf import Pythia8_i
3 genSeq += Pythia8_i("Pythia8")
4 evgenConfig.generators += ["Pythia8"]
5 
6 if evgenConfig.PDGparams:
7 
8  genSeq.Pythia8.Commands += [
9  "Main:timesAllowErrors = 500",
10  "ParticleDecays:limitTau0 = on",
11  "ParticleDecays:tau0Max = 10.0"]
12 
13 
14  from EvgenProdTools.offline_dict import parameters
15 
16 
17  particle_params = parameters.get("particles")
18  if particle_params:
19  for key, value in particle_params.items():
20 
21  if int(key) in range(6,26):
22  genSeq.Pythia8.Commands += [
23  "{:d}:m0 = {}".format(int(key), value['mass']),
24  "{:d}:mWidth = {}".format(int(key), value['width'])
25  ]
26  else:
27  print ("Could not retrieve standard ATLAS particle parameters")
28 
29 
30  ew_params = parameters.get("EW_parameters")
31  if ew_params:
32 
33  for key,value in ew_params.items():
34  if key[1] in ('sin2thetaW', 'sin2thetaWbar'):
35  genSeq.Pythia8.Commands += [
36  'StandardModel:{} = {}'.format(key[1], value)
37  ]
38  else:
39  print ("Could not retrieve standard ATLAS EW parameters")
40 else:
41 
42  genSeq.Pythia8.Commands += [
43  "Main:timesAllowErrors = 500",
44  "6:m0 = 172.5",
45  "23:m0 = 91.1876",
46  "23:mWidth = 2.4952",
47  "24:m0 = 80.399",
48  "24:mWidth = 2.085",
49  "StandardModel:sin2thetaW = 0.23113",
50  "StandardModel:sin2thetaWbar = 0.23146",
51  "ParticleDecays:limitTau0 = on",
52  "ParticleDecays:tau0Max = 10.0"]
53 
54 
56 from MCJobOptionUtils.JOsupport import check_reset_proc_number
58 
python.MadGraphUtils.check_reset_proc_number
def check_reset_proc_number(opts)
Definition: MadGraphUtils.py:2577
vtune_athena.format
format
Definition: vtune_athena.py:14
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195