19 def __init__(self, genSeq, runArgs, run_name="Herwig", beams="pp"):
22 if beams
not in [
"EE",
"EP" ,
"PP"]:
23 raise RuntimeError(hw7Utils.ansi_format_error(
"Parameter 'beams' must be one of the following: ['EE', 'EP' , 'PP']"))
26 super(Hw7ConfigBuiltinME, self).
__init__(genSeq, runArgs, run_name)
57 def run(self, shower_var=True):
61 self.default_commands += self.beam_commands()
62 self.default_commands += self.energy_commands()
63 self.default_commands += self.random_seed_commands()
66 self.default_commands += self.printout_commands()
68 self.default_commands += self.physics_parameter_commands()
70 self.default_commands += self.technical_parameter_commands()
73 self.enable_angularShowerScaleVariations(shower_var)