File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
MC/config/common/pythia8/utils Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2929parser .add_argument ('--ptHatMax' , type = float ,
3030 help = 'The maximum invariant pT' )
3131
32+ parser .add_argument ('--weightPower' , type = float ,
33+ help = 'Weight power to pT hard spectrum' )
34+
3235parser .add_argument ('--output' , default = 'pythia8.cfg' ,
3336 help = 'Where to write the configuration' )
3437
103106 fout .write ('PhaseSpace:pTHatMin = %f \n ' % (args .ptHatMin ))
104107if args .ptHatMax is not None :
105108 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+
106113fout .write ('\n ' )
107114
108115fout .write ('### <-- generated by mkpy8cfg.py \n ' )
You can’t perform that action at this time.
0 commit comments