We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e541cc4 commit b74cca3Copy full SHA for b74cca3
1 file changed
MC/config/common/pythia8/utils/mkpy8cfg.py
@@ -29,6 +29,9 @@
29
parser.add_argument('--ptHatMax', type=float,
30
help='The maximum invariant pT')
31
32
+parser.add_argument('--weightPower', type=float,
33
+ help='Weight power to pT hard spectrum')
34
+
35
parser.add_argument('--output', default='pythia8.cfg',
36
help='Where to write the configuration')
37
@@ -103,6 +106,10 @@
103
106
fout.write('PhaseSpace:pTHatMin = %f \n' % (args.ptHatMin))
104
107
if args.ptHatMax is not None :
105
108
fout.write('PhaseSpace:pTHatMax = %f \n' % (args.ptHatMax))
109
+if args.weightPower is not None :
110
+ fout.write('PhaseSpace:bias2Selection = on \n')
111
+ fout.write('PhaseSpace:bias2SelectionPow = %f" \n' % (args.weightPower))
112
113
fout.write('\n')
114
115
fout.write('### <-- generated by mkpy8cfg.py \n')
0 commit comments