41 """! Report whether the VBFNLO process should be scheduled.
43 @param process PowhegBox process.
47 logger.fatal(
"Decay mode {} not recognised!".format(self.
decay_mode))
48 raise ValueError(
"VBF NLO cannot be correctly configured.")
52 if __vector_boson_type
in [
"w+",
"w-",
"z"]
and __vector_boson_decay ==
"tau":
53 logger.warning(
"Powheg/VBFNLO does support directly tau decays for VBF W, Z production")
54 logger.warning(
"Ask to generate muon decays and hack the LHE files - make sure to validate!")
55 __vector_boson_decay =
"mu"
56 process.add_algorithm(
"mu2tau")
58 VBF_runcard_entries = [(
"PROC_ID", {
"z": 120,
"w+": 130,
"w-": 140}[__vector_boson_type],
"{} boson".format(__vector_boson_type)),
59 (
"DECAYMODE", {
"e": 11,
"mu": 13}[__vector_boson_decay], self.
decay_mode),
62 (
"EWSCHEME", 4,
"Explicitly specify all EW parameters"),
63 (
"ANOM_CPL", 0,
"Disable anomalous couplings as these are not supported by the authors"),
69 (
"INVALFA", self.alphaem_inv, list(self.
parameters_by_name(
"alphaem_inv"))[0].description),
74 with open(
"vbfnlo.input",
"w")
as f:
75 for runcard_entry
in VBF_runcard_entries:
76 f.write(
"{:<15} {:<15} ! {}\n".format(*runcard_entry))