ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
Herwig7_i
share
common
Herwig7_EvtGen.py
Go to the documentation of this file.
1
2
assert
hasattr(genSeq,
"Herwig7"
)
3
include(
"EvtGen_i/EvtGen_Fragment.py"
)
4
5
# Set Herwig7 for evgen
6
evgenConfig.generators += [
"Herwig7"
]
7
8
# Set the aux-files depending on the current Herwig version
9
evgenConfig.auxfiles += [
'Herwig71Inclusive.pdt'
]
10
genSeq.EvtInclusiveDecay.pdtFile =
"Herwig71Inclusive.pdt"
11
12
Herwig7Config.add_commands(
"""
13
# Quick "fix" to the mismatch between Herwig 7 and EvtGen of the masses below
14
set /Herwig/Particles/B'_c1+:NominalMass 7.3
15
set /Herwig/Particles/B'_c1-:NominalMass 7.3
16
set /Herwig/Particles/B_c1+:NominalMass 7.3
17
set /Herwig/Particles/B_c1-:NominalMass 7.3
18
set /Herwig/Particles/B_c2+:NominalMass 7.35
19
set /Herwig/Particles/B_c2-:NominalMass 7.35
20
set /Herwig/Particles/B*_c0+:NominalMass 7.25
21
set /Herwig/Particles/B*_c0-:NominalMass 7.25
22
set /Herwig/Particles/B_c+:NominalMass 6.277
23
set /Herwig/Particles/B_c-:NominalMass 6.277
24
#
25
# This is a complete kludge. Herwig7 has switched the mapping of names and pdgids for the D'(s1) and the D(s1)
26
# That means EvtGen misinterprets which particle it should be decaying, since the PDGID is what is written
27
# in the record. So, we'll set things up to change the masses so that the HEPMC record lis OK. That means
28
# we want:
29
# Mass: 2.45960 ID: 20433 (Pythia8 calls this the D*_1s+ , EvtGen calls it D_s1-. 20433 is what Herwig calls
30
# D'_s1+ and orginally gave it a mass of 2.53535)
31
# Mass: 2.53512 ID: 10433 (Pythia8 calls this the D_1s+ , EvtGen calls it D'_s1+. 10433 is what Herwig calls
32
# D_s1+ and orginally gave it a mass of 2.4589
33
#
34
# Since EvtGen will redecay everything anyway, we'll make these particles stable in Herwig
35
#
36
37
set /Herwig/Particles/D'_s1+:NominalMass 2.4595000e+00
38
set /Herwig/Particles/D'_s1+:Width 0.001
39
set /Herwig/Particles/D'_s1+:WidthCut 0.01
40
set /Herwig/Particles/D'_s1+:Width_generator:Initialize Yes
41
set /Herwig/Particles/D'_s1+:Mass_generator:Initialize Yes
42
set /Herwig/Particles/D'_s1-:NominalMass 2.4595000e+00
43
set /Herwig/Particles/D'_s1-:Width 0.001
44
set /Herwig/Particles/D'_s1-:WidthCut 0.01
45
set /Herwig/Particles/D'_s1-:Width_generator:Initialize Yes
46
set /Herwig/Particles/D'_s1-:Mass_generator:Initialize Yes
47
set /Herwig/Particles/D_s1+:NominalMass 2.5352800e+00
48
set /Herwig/Particles/D_s1+:Width 0.001
49
set /Herwig/Particles/D_s1+:WidthCut 0.01
50
set /Herwig/Particles/D_s1+:Width_generator:Initialize Yes
51
set /Herwig/Particles/D_s1+:Mass_generator:Initialize Yes
52
set /Herwig/Particles/D_s1-:NominalMass 2.5352800e+00
53
set /Herwig/Particles/D_s1+:Width 0.001
54
set /Herwig/Particles/D_s1+:WidthCut 0.01
55
set /Herwig/Particles/D_s1+:Width_generator:Initialize Yes
56
set /Herwig/Particles/D_s1+:Mass_generator:Initialize Yes
57
set /Herwig/Particles/D'_s1-:Stable Stable
58
set /Herwig/Particles/D'_s1+:Stable Stable
59
set /Herwig/Particles/D_s1-:Stable Stable
60
set /Herwig/Particles/D_s1+:Stable Stable
61
"""
)
Generated on
for ATLAS Offline Software by
1.17.0