Skip to content

Commit 46722c1

Browse files
sawenzelchiarazampolli
authored andcommitted
Fix problem with 'inel' setting in pythia8 configurator
1 parent bb4d55b commit 46722c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MC/config/common/pythia8/utils/mkpy8cfg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@
9494

9595
### processes
9696
fout.write('### processes \n')
97-
if args.process != 'heavy_ion':
98-
fout.write('SoftQCD:inelastic = off \n') ### we switch this off because it might be on by default, but only for pp or pPb,
99-
#in PbPb let's not force it in case it is needed in Angantyr
10097
if args.process == 'inel':
10198
fout.write('SoftQCD:inelastic = on \n')
99+
if args.process != 'inel' and args.process != 'heavy_ion':
100+
fout.write('SoftQCD:inelastic = off \n') ### we switch this off because it might be on by default, but only for pp or pPb,
101+
#in PbPb let's not force it in case it is needed in Angantyr
102102
if args.process == 'ccbar' or args.process == 'heavy_q':
103103
fout.write('HardQCD:hardccbar = on \n')
104104
if args.process == 'bbbar' or args.process == 'heavy_q':

0 commit comments

Comments
 (0)