2 from Pythia8_i.Pythia8_iConf
import Pythia8_i
3 genSeq += Pythia8_i(
"Pythia8")
4 evgenConfig.generators += [
"Pythia8"]
6 if evgenConfig.PDGparams:
8 genSeq.Pythia8.Commands += [
9 "Main:timesAllowErrors = 500",
10 "ParticleDecays:limitTau0 = on",
11 "ParticleDecays:tau0Max = 10.0"]
14 from EvgenProdTools.offline_dict
import parameters
17 particle_params = parameters.get(
"particles")
19 for key, value
in particle_params.items():
22 genSeq.Pythia8.Commands += [
23 "{:d}:m0 = {}".
format(
int(key), value[
'mass']),
24 "{:d}:mWidth = {}".
format(
int(key), value[
'width'])
27 print (
"Could not retrieve standard ATLAS particle parameters")
30 ew_params = parameters.get(
"EW_parameters")
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)
39 print (
"Could not retrieve standard ATLAS EW parameters")
42 genSeq.Pythia8.Commands += [
43 "Main:timesAllowErrors = 500",
49 "StandardModel:sin2thetaW = 0.23113",
50 "StandardModel:sin2thetaWbar = 0.23146",
51 "ParticleDecays:limitTau0 = on",
52 "ParticleDecays:tau0Max = 10.0"]
56 from MCJobOptionUtils.JOsupport
import check_reset_proc_number