SMEFTNLO reweighting problem. KeyError: (((-3, 4), (-6, 6, 24)), 'V')

Asked by Reza Goldouzian

Dear Experts,

I am trying to generate ttW process with EFT vertices at NLO. I am going to include weights for various combination of EFT coupling in my sample. My process card is like

import model SMEFTatNLO_U2_2_U3_3_cG_4F_LO_UFO-NLO
define j = p
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5
define WW = w+ w-
generate p p > t t~ WW QCD=2 QED=1 NP=2 [QCD]
output ttW_SMEFTNLOQED1_v1 -nojpeg

everything works when I do reweighting at LO. But for NLO reweighting, I see the following error
KeyError : (((-3, 4), (-6, 6, 24)), 'V')

I do not know what is wrong in my NLO reweighting procedure.

Best regards,

Reza

************************************************
reweight /afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/ttW_SMEFTNLOQED1_v1/Events/run_05/events.lhe.gz_0.lhe -from_cards --multicore=create
Traceback (most recent call last):
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/ttW_SMEFTNLOQED1_v1/bin/internal/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/ttW_SMEFTNLOQED1_v1/bin/internal/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/ttW_SMEFTNLOQED1_v1/bin/internal/common_run_interface.py", line 2142, in do_reweight
    reweight_cmd.import_command_file(path)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 546, in do_launch
    weight = self.calculate_weight(event)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 954, in calculate_weight
    return self.calculate_nlo_weight(event)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 1028, in calculate_nlo_weight
    w_origV = self.calculate_matrix_element(cevent, 'V0', scale2=scale2)
  File "/afs/crc.nd.edu/user/r/rgoldouz/gridpacks/MadGraph5/MG5_aMC_v2_6_5/madgraph/interface/reweight_interface.py", line 1155, in calculate_matrix_element
    orig_order, Pdir, hel_dict = self.id_to_path[tag]
KeyError: (((-3, 4), (-6, 6, 24)), 'V')

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Can you create a bug report and attach to it
1) Your UFO model
2) the lhe file that you try to reweight
3) the reweight_card

Thanks,

Olivier

Revision history for this message
Reza Goldouzian (rgoldouz) said :
#2

Hi Olivier,
I just made a bug report with all attachements you asked for
https://bugs.launchpad.net/mg5amcnlo/+bug/1877161

Thanks,
Reza

Can you help with this problem?

Provide an answer of your own, or ask Reza Goldouzian for more information if necessary.

To post a message you must log in.