Setting Higgs BRs when using MadSpin

Asked by Zachary Marshall on 2020-04-09

Hello,

In 2.6.7, we run a process like this:

import model loop_sm-no_b_mass
define p = g u c d s b u~ c~ d~ s~ b~
define j = g u c d s b u~ c~ d~ s~ b~
define w = w+ w-
define ttbar = t t~
generate p p > ttbar w Z [QCD]
output -f

If I explicitly write into the param card the decays of the Higgs according to the yellow report:

DECAY 25 6.382339e-03
5.767E-01 2 5 -5 # H->bb
6.319E-02 2 15 -15 # H->tautau
2.192E-04 2 13 -13 # H->mumu
2.462E-04 2 3 -3 # H->ss
2.911E-02 2 4 -4 # H->cc
8.569E-02 2 21 21 # H->gg
2.277E-03 2 22 22 # H->gammagamma
1.539E-03 2 22 23 # H->Zgamma
2.146E-01 2 24 -24 # H->WW
2.641E-02 2 23 23 # H->ZZ

then we get an error:

InvalidParamCard : yukawa (2, 22) is already define to 22 22 impossible to assign 22 23

If we don't set the decays, the job runs without a problem. My suspicion was that this is coming from the branching fraction of H->gamma gamma and H->Z gamma being set somehow, but I don't understand how this is an issue. Could you help me understand the error?

Thanks,
Zach

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Zachary Marshall
Solved:
2020-04-14
Last query:
2020-04-14
Last reply:
2020-04-14

I would need the full param_card in order to be able to comment/test

Cheers,

Olivier

Just to add, that i have tried to add such lines for that model and I did not face any issue.
Could you also put the debug file, such that I know which part of the codes complains.

Cheers,

Olivier

Hannes (hannes3) said : #3

Hi Olivier,

this should be the debug file in question, param card will come in a separate message.

Cheers,
Hannes

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 2019-10-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch --name=run_01
Traceback (most recent call last):
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1514, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/lustre/bylund/TopMC/tWZ_nunu/switchoffmadspin/PROCNLO_loop_sm-no_b_mass_0/bin/internal/amcatnlo_run_interface.py", line 1701, in do_launch
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/common_run_interface.py", line 3701, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1660, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/interface_madspin.py", line 617, in do_launch
    self.options)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 2046, in __init__
    self.generate_all_matrix_element()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/various/misc.py", line 100, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/various/misc.py", line 1932, in deco_f_set
    out = f(*args, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 2663, in generate_all_matrix_element
    self.get_branching_ratio()
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 2914, in get_branching_ratio
    width.extract_br(self.list_branches, self.mgcmd)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 1351, in extract_br
    self.launch_width_evaluation(to_decay, mgcmd)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 1618, in launch_width_evaluation
    self.compute_widths(model, argument)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/MadSpin/decay.py", line 1656, in compute_widths
    cmd.exec_cmd(line)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1543, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/extended_cmd.py", line 1463, in onecmd_orig
    return func(arg, **opt)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/master_interface.py", line 343, in do_compute_widths
    return self.cmd.do_compute_widths(self, *args, **opts)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/madgraph/interface/madgraph_interface.py", line 8222, in do_compute_widths
    param = check_param_card.ParamCard(pjoin(decay_dir, 'Events', 'decay','param_card.dat'))
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/models/check_param_card.py", line 324, in __init__
    self.read(input_path)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/models/check_param_card.py", line 388, in read
    cur_block.append(param)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators/madgraph5amc/2.6.7p3.atlas5/x86_64-slc6-gcc62-opt/models/check_param_card.py", line 231, in append
    (self.name, obj.lhacode, self.param_dict[tuple(obj.lhacode)].value, obj.value)
InvalidParamCard: yukawa (2, 22) is already define to 22 22 impossible to assign 22 23
Value of current Options:
              text_editor : None
              web_browser : None
        cluster_temp_path : None
                  timeout : 60
       cluster_local_path : None
            cluster_queue : None
         madanalysis_path : None
                   lhapdf : /lustre/bylund/TopMC/tWZ_nunu/switchoffmadspin/lhapdf-config
      output_dependencies : internal
             cluster_size : 100
           cluster_memory : None
    cluster_status_update : (600, 30)
             cluster_time : None
            f2py_compiler : None
                    ninja : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators//gosam_contrib/2.0-779ba/x86_64-slc6-gcc62-opt/lib
               hepmc_path : None
             pythia8_path : None
                hwpp_path : None
   automatic_html_opening : False
       cluster_retry_wait : 300
             stdout_level : None
          pythia-pgs_path : None
                 mg5_path : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/MCGenerators/madgraph5amc/2.6.7p3.atlas5-4bfe1/x86_64-slc6-gcc62-opt
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : condor
        madanalysis5_path : None
      exrootanalysis_path : None
         fortran_compiler : None
                  nb_core : 32
                  collier : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/MCGenerators//collier/1.1-92381/x86_64-slc6-gcc62-opt
              auto_update : 7
         cluster_nb_retry : 1
               eps_viewer : None
             syscalc_path : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/MCGenerators/syscalc/1.1.4p3-61111/x86_64-slc6-gcc62-opt
                  fastjet : /cvmfs/atlas-nightlies.cern.ch/repo/sw/21.6_AthGeneration_x86_64-slc6-gcc62-opt/sw/lcg/releases/LCG_88/fastjet/3.2.0/x86_64-slc6-gcc62-opt/bin/fastjet-config
             cpp_compiler : None
      notification_center : True
                 run_mode : 2
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.7 2019-10-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set default_unset_couplings 99
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model loop_sm-no_b_mass
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
define p = g u c d s b u~ c~ d~ s~ b~
define j = g u c d s b u~ c~ d~ s~ b~
define w = w+ w-
define ttbar = t t~
generate p p > ttbar w Z [QCD]
output -f -nojpeg
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR LOOP
###################################
Block loop
   1 9.118760e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
   6 172.5 # MT
   15 1.777000e+00 # MTA
   23 9.118760e+01 # MZ
   25 1.250000e+02 # MH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
   5 0.000000 # b : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
   24 8.039900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.323489e+02 # aEWM1
    2 1.166370e-05 # Gf
    3 1.184000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
   6 1.725000e+02 # ymt # ymt
   15 1.777000e+00 # ymtau # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.31971862037
    1.000000e+00 2 5 24 # 1.32
DECAY 23 2.495200e+00
DECAY 24 2.085000e+00
    3.377000e-01 2 -1 2
    3.377000e-01 2 -3 4
    1.082000e-01 2 -11 12
    1.082000e-01 2 -13 14
    1.082000e-01 2 -15 16
DECAY 25 6.382339e-03
5.767E-01 2 5 -5 # H->bb
6.319E-02 2 15 -15 # H->tautau
2.192E-04 2 13 -13 # H->mumu
2.462E-04 2 3 -3 # H->ss
2.911E-02 2 4 -4 # H->cc
8.569E-02 2 21 21 # H->gg
2.277E-03 2 22 22 # H->gammagamma
1.539E-03 2 22 23 # H->Zgamma
2.146E-01 2 24 -24 # H->WW
2.641E-02 2 23 23 # H->ZZ
DECAY 1 0.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 82 # gh
        1 0 # 3 times electric charge
        2 1 # number of spin states (2S+1)
        3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 1 # Particle/Antiparticle distinction (0=own anti)
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
# *
# To display additional parameter, you can use the command: *
# update to_full *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
10000 = nevents ! Number of unweighted events requested
0.001 = req_acc ! Required accuracy (-1=auto determined from nevents)
-1 = nevt_job! Max number of events per job in event generation.
! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
0.01 = req_acc_FO ! Required accuracy (-1=ignored, and use the
! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
5000 = npoints_FO_grid ! number of points to setup grids
4 = niters_FO_grid ! number of iter. to setup grids
10000 = npoints_FO ! number of points to compute Xsec
6 = niters_FO ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
1656 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
1 = lpp1 ! beam 1 type (0 = no PDF)
1 = lpp2 ! beam 2 type (0 = no PDF)
6500.0 = ebeam1 ! beam 1 energy in GeV
6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
'lhapdf' = pdlabel ! PDF set
260000 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
! numbers for central PDF sets are allowed. Can be a list;
! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
PYTHIA8 = parton_shower
1.0 = shower_scale_factor ! multiply default shower starting
! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
False = fixed_ren_scale ! if .true. use fixed ren scale
False = fixed_fac_scale ! if .true. use fixed fac scale
172.5 = muR_ref_fixed ! fixed ren reference scale
91.118 = muF_ref_fixed ! fixed fact reference scale
-1 = dynamical_scale_choice ! Choose one (or more) of the predefined
! dynamical choices. Can be a list; scale choices beyond the
! first are included via reweighting
1.0 = muR_over_ref ! ratio of current muR over reference muR
1.0 = muF_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
.true. = reweight_scale ! Reweight to get scale variation using the
! rw_rscale and rw_fscale factors. Should be a list of
! booleans of equal length to dynamical_scale_choice to
! specify for which choice to include scale dependence.
.true. = reweight_PDF ! Reweight to get PDF uncertainty. Should be a
! list booleans of equal length to lhaid to specify for
! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
0 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
0.7 = jetradius ! The radius parameter for the jet algorithm
10.0 = ptj ! Min jet transverse momentum
-1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
0.0 = ptl ! Min lepton transverse momentum
-1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
0.0 = drll ! Min distance between opposite sign lepton pairs
0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
-1 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
20.0 = ptgmin ! Min photon transverse momentum
-1.0 = etagamma ! Max photon abs(pseudo-rap)
0.4 = R0gamma ! Radius of isolation code
1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
True = isoEM ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# Cuts associated to MASSIVE particles identified by their PDG codes. *
# All cuts are applied to both particles and anti-particles, so use *
# POSITIVE PDG CODES only. Example of the syntax is {6 : 100} or *
# {6:100, 25:200} for multiple particles *
#***********************************************************************
{} = pt_min_pdg ! Min pT for a massive particle
{} = pt_max_pdg ! Max pT for a massive particle
{} = mxx_min_pdg ! inv. mass for any pair of (anti)particles
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************
 172.5 = qes_ref_fixed
 True = fixed_qes_scale
 0.5 = rw_rscale_down
 172.5 = muf1_ref_fixed
 260001 = pdf_set_min
 5 = maxjetflavor
 260100 = pdf_set_max
 2.0 = rw_fscale_up
 0.5 = rw_fscale_down
 172.5 = muf2_ref_fixed
 2.0 = rw_rscale_up
 3.0 = lhe_version

Hannes (hannes3) said : #4

######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR LOOP
###################################
Block loop
   1 9.118760e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
   6 172.5 # MT
   15 1.777000e+00 # MTA
   23 9.118760e+01 # MZ
   25 1.250000e+02 # MH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
   5 0.000000 # b : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
   24 8.039900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.323489e+02 # aEWM1
    2 1.166370e-05 # Gf
    3 1.184000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
   6 1.725000e+02 # ymt # ymt
   15 1.777000e+00 # ymtau # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.31971862037
    1.000000e+00 2 5 24 # 1.32
DECAY 23 2.495200e+00
DECAY 24 2.085000e+00
    3.377000e-01 2 -1 2
    3.377000e-01 2 -3 4
    1.082000e-01 2 -11 12
    1.082000e-01 2 -13 14
    1.082000e-01 2 -15 16
DECAY 25 6.382339e-03
5.767E-01 2 5 -5 # H->bb
6.319E-02 2 15 -15 # H->tautau
2.192E-04 2 13 -13 # H->mumu
2.462E-04 2 3 -3 # H->ss
2.911E-02 2 4 -4 # H->cc
8.569E-02 2 21 21 # H->gg
2.277E-03 2 22 22 # H->gammagamma
1.539E-03 2 22 23 # H->Zgamma
2.146E-01 2 24 -24 # H->WW
2.641E-02 2 23 23 # H->ZZ
DECAY 1 0.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 82 # gh
        1 0 # 3 times electric charge
        2 1 # number of spin states (2S+1)
        3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 1 # Particle/Antiparticle distinction (0=own anti)

Hi,

I just wanted to nudge this thread in case there's been any progress.

Thanks again,
Zach

Hi,

Ah I did not realize from the first message that the issue was not on the event generation but within MadSpin (actually in the automatic computation of the width since it seems that it is requested since the Z has not branching ratio information.

The issue seems related to a missing space for the branching ratio information.
I will look for a patch but they are two easy work-around:
1) add a space in front of those lines
2) add the BR information for the Z

Cheers,

Olivier

Hi,

Here is the patch
=== modified file 'madgraph/interface/madevent_interface.py'
--- madgraph/interface/madevent_interface.py 2020-04-12 20:45:22 +0000
+++ madgraph/interface/madevent_interface.py 2020-04-14 19:58:44 +0000
@@ -2883,7 +2883,7 @@
                         particle = 0
                 # Read BRs for this decay
                 line = param_card[line_number]
- while line.startswith('#') or line.startswith(' '):
+ while re.search('^(#|\s|\d)', line):
                     line = param_card.pop(line_number)
                     if not particle or line.startswith('#'):
                         line=param_card[line_number]

But I would strongly suggest to add the white space since when reading the convention a white space is present.

Cheers,

OIivier

Thanks, that does seem to do it!

Best,
Zach