How to use ptllmin and ptllmax parameters in run_card.dat

Asked by Prachi Arvind Atmasiddha

Hello,

I am trying to generate the following process:
define l+ = e+ mu+ ta+
define l- = e- mu- ta-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define wpm = w+ w-
generate p p > w+{0} z{0}, w+ > l+ vl, z > l+ l- @0
add process p p > w+{0} z{0} j, w+ > l+ vl, z > l+ l- @1

But with a ptllmin and ptllmax cuts. I am using madgraph version 2.7.2.

One question is what ptllmin and ptllmax exactly mean? I just wanted to make sure my understanding is correct.

Second, when I run the program with ptllmin = 10.0, I get the following error msg. (I have also attached the debug report after this error msg). I wanted to understand how to use this parameter.

Generating 10000 events with run name run_01_0
survey run_01_0
INFO: compile directory
INFO: Using LHAPDF v6.2.3 interface for PDFs
Running without a11y support!
compile Source Directory
Using random number seed offset = 24
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_gq_wpzq_wp_lvl_z_ll
INFO: P1_gq_wpzq_wp_lvl_z_taptam
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
INFO: P1_gq_wpzq_wp_tapvl_z_ll
/usr/lib64/firefox/firefox: symbol lookup error: /lib64/libgtk-3.so.0: undefined symbol: g_log_structured_standard
INFO: P1_gq_wpzq_wp_tapvl_z_taptam
INFO: P1_qq_wpzg_wp_lvl_z_ll
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
INFO: P1_qq_wpzg_wp_lvl_z_taptam
INFO: P1_qq_wpzg_wp_tapvl_z_ll
INFO: P1_qq_wpzg_wp_tapvl_z_taptam
INFO: P0_qq_wpz_wp_lvl_z_ll
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
INFO: P0_qq_wpz_wp_lvl_z_taptam
INFO: P0_qq_wpz_wp_tapvl_z_ll
INFO: P0_qq_wpz_wp_tapvl_z_taptam
 P1_gq_wpzq_wp_lvl_z_taptam,P1_qq_wpzg_wp_lvl_z_ll,P0_qq_wpz_wp_lvl_z_ll SubProcesses doesn't have available phase-space.
            Please check mass spectrum.
INFO: Idle: 0, Running: 3, Completed: 48 [ current time: 18h57 ]
STOP 1
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
STOP 1
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
STOP 1
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
INFO: Idle: 0, Running: 1, Completed: 50 [ 1.2s ]
rm: cannot remove ‘results.dat’: No such file or directory
ERROR DETECTED
INFO: Idle: 0, Running: 0, Completed: 51 [ 1.3s ]
INFO: End survey
refine 10000
Creating Jobs
INFO: Refine results to 10000
INFO: Generating 10000.0 unweighted events.
Error when reading ...
 /MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/SubProcesses/P1_gq_wpzq_wp_lvl_z_ll/G1.22/results.dat
Command "import command ../run_madgraph_pol_scripts/run_WZframe_0jet_1jet_wpmz_final_LL_test.cmd" interrupted in sub-command:
"multi_run 1" with error:
Exception : Reported error: End code 1.0
  Full associated log:
 ==== LHAPDF6 USING DEFAULT-TYPE LHAGLUE INTERFACE ====
 LHAPDF 6.2.3 loading ... /MG5_aMC_v2_7_2/HEPTools/lhapdf6/share/LHAPDF/NNPDF30_nlo_as_0118_mc/NNPDF30_nlo_as_0118_mc_0000.dat
 NNPDF30_nlo_as_0118_mc PDF set, member #0, version 2; LHAPDF ID = 260800
 STOP 1
 Thanks for using LHAPDF 6.2.3. Please make sure to cite the paper:
   Eur.Phys.J. C75 (2015) 3, 132 (http://arxiv.org/abs/1412.7420)
  Process in group number 1
  A PDF is used, so alpha_s(MZ) is going to be modified
  Old value of alpha_s from param_card: 0.11799999999999999
  New value of alpha_s from PDF lhapdf : 0.11800222660863767
  using LHAPDF
  Define smin to 500.00000000000000
  Define smin to 500.00000000000000
  Grouping of subprocesses not consistent with setcuts.f. Either change your cuts and/or turn grouping of subprocesses off:ptll_min

 ls status:
 input_app.txt
 log.txt
 run1_app.log

THE BUG REPORT IS AS FOLLOWS:

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.7.2 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#************************************************************
multi_run 1
Traceback (most recent call last):
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1515, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1155, in do_import
    self.import_command_file(args[1])
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1661, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1544, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/madevent_interface.py", line 2963, in do_multi_run
    self.exec_cmd('generate_events %s_%s -f' % (main_name, i), postcmd=False)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1544, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/madevent_interface.py", line 2469, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/common_run_interface.py", line 6963, in new_fct
    original_fct(obj, *args, **opts)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/madevent_interface.py", line 2511, in run_generate_events
    self.exec_cmd('refine %s' % nb_event, postcmd=False)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1544, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/extended_cmd.py", line 1464, in onecmd_orig
    return func(arg, **opt)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/madevent_interface.py", line 3469, in do_refine
    x_improve.launch() # create the ajob for the refinment.
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/gen_ximprove.py", line 860, in launch
    main_dir=pjoin(self.cmd.me_dir,'SubProcesses')) #main_dir is for gridpack readonly mode
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/sum_html.py", line 747, in collect_result
    P_comb.add_results(os.path.basename(G), path, mfactors[G])
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/sum_html.py", line 425, in add_results
    oneresult.read_results(filepath)
  File "/MG5_aMC_v2_7_2/test_wpmz_Incl_0jet_1jet_WZframe_ptll/bin/internal/sum_html.py", line 315, in read_results
    % (error_code, open(log).read())
Exception: Reported error: End code 1.0
 Full associated log:
==== LHAPDF6 USING DEFAULT-TYPE LHAGLUE INTERFACE ====
LHAPDF 6.2.3 loading /MG5_aMC_v2_7_2/HEPTools/lhapdf6/share/LHAPDF/NNPDF30_nlo_as_0118_mc/NNPDF30_nlo_as_0118_mc_0000.dat
NNPDF30_nlo_as_0118_mc PDF set, member #0, version 2; LHAPDF ID = 260800
STOP 1
Thanks for using LHAPDF 6.2.3. Please make sure to cite the paper:
  Eur.Phys.J. C75 (2015) 3, 132 (http://arxiv.org/abs/1412.7420)
 Process in group number 1
 A PDF is used, so alpha_s(MZ) is going to be modified
 Old value of alpha_s from param_card: 0.11799999999999999
 New value of alpha_s from PDF lhapdf : 0.11800222660863767
 using LHAPDF
 Define smin to 500.00000000000000
 Define smin to 500.00000000000000
 Grouping of subprocesses not consistent with setcuts.f. Either change your cuts and/or turn grouping of subprocesses off:ptll_min

ls status:
input_app.txt
log.txt
run1_app.log

                              Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : None
                    nb_core : 8 (user set)
               cluster_time : None
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : None (user set)
                    td_path : None (user set)
               delphes_path : /MG5_aMC_v2_7_2/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : None (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /MG5_aMC_v2_7_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : /MG5_aMC_v2_7_2/ExRootAnalysis (user set)
                    timeout : 60
               cpp_compiler : None
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.7.2 2020-03-17 *
#* *
#* 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
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 l+ = e+ mu+ ta+
define l- = e- mu- ta-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define wpm = w+ w-
generate p p > wpm z, w+ > l+ vl, w- > l- vl~, z > l+ l- @0
add process p p > wpm z j, w+ > l+ vl, w- > l- vl~, z > l+ l- @1
output test_wpmz_Incl_0jet_1jet_WZframe_ptll
######################################################################
## 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 MASS
###################################
Block mass
    5 4.700000e+00 # MB
    6 1.730000e+02 # MT
   15 1.777000e+00 # MTA
   23 9.118800e+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
  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.041900e+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.325070e+02 # aEWM1
    2 1.166390e-05 # Gf
    3 1.180000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    5 4.700000e+00 # ymb
    6 1.730000e+02 # ymt
   15 1.777000e+00 # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.491500e+00 # WT
DECAY 23 2.441404e+00 # WZ
DECAY 24 2.047600e+00 # WW
DECAY 25 6.382339e-03 # WH
## 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.
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 # b : 0.0
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 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#*********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a '# ' are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# To display more options, you can type the command: *
# update full_run_card *
#*********************************************************************
#
#*********************************************************************
# Tag name for the run (one word) *
#*********************************************************************
  tag_1 = run_tag ! name of the run
#*********************************************************************
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#*********************************************************************
  10000 = nevents ! Number of unweighted events requested
  0 = iseed ! rnd seed (0=assigned automatically=default))
#*********************************************************************
# Collider type and energy *
# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, *
# 3=photon from electron *
#*********************************************************************
  1 = lpp1 ! beam 1 type
  1 = lpp2 ! beam 2 type
  6500.0 = ebeam1 ! beam 1 total energy in GeV
  6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"

#*********************************************************************
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#*********************************************************************
  lhapdf = pdlabel ! PDF set
  260800 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
# To see heavy ion options: type "update ion_pdf"
#*********************************************************************
# Renormalization and factorization scales *
#*********************************************************************
  False = fixed_ren_scale ! if .true. use fixed ren scale
  False = fixed_fac_scale ! if .true. use fixed fac scale
  91.188 = scale ! fixed ren scale
  91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1
  91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2
  3 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
  1.0 = scalefact ! scale factor for event-by-event scales
#*********************************************************************
# Type and output format
#*********************************************************************
  False = gridpack !True = setting up the grid pack
  -1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
  sum = event_norm ! average/sum. Normalization of the weight in the LHEF
#*********************************************************************
# Matching parameter (MLM only)
#*********************************************************************
  0 = ickkw ! 0 no matching, 1 MLM
  1.0 = alpsfact ! scale factor for QCD emission vx
  False = chcluster ! cluster only according to channel diag
  4 = asrwgtflavor ! highest quark flavor for a_s reweight
  False = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
                                   ! (turn off for VBF and single top processes)
  0.0 = xqcut ! minimum kt jet measure between partons

#***********************************************************************
# Turn on either the ktdurham or ptlund cut to activate *
# CKKW(L) merging with Pythia8 [arXiv:1410.3012, arXiv:1109.4829] *
#***********************************************************************
  25.0 = ktdurham
  0.4 = dparameter
  -1.0 = ptlund
  1, 2, 3, 4, 5, 6, 21 = pdgs_for_merging_cut ! PDGs for two cuts above

#*********************************************************************
#
#*********************************************************************
# handling of the helicities:
# 0: sum over all helicities
# 1: importance sampling over helicities
#*********************************************************************
  0 = nhel ! using helicities importance sampling or not.
#*********************************************************************
# Generation bias, check the wiki page below for more information: *
# 'cp3.irmp.ucl.ac.be/projects/madgraph/wiki/LOEventGenerationBias' *
#*********************************************************************
  None = bias_module ! Bias type of bias, [None, ptj_bias, -custom_folder-]
  {} = bias_parameters ! Specifies the parameters of the module.
#
#*******************************
# Parton level cuts definition *
#*******************************
#
#
#*********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma) ! Define on/off-shell for "$" and decay
#*********************************************************************
  15.0 = bwcutoff ! (M+/-bwcutoff*Gamma)
 #*********************************************************************
 # Apply pt/E/eta/dr/mij/kt_durham cuts on decay products or not
 # (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply)
 #*********************************************************************
  False = cut_decays ! Cut decay products
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
  20.0 = ptj ! minimum pt for the jets
  10.0 = ptl ! minimum pt for the charged leptons
  0.0 = misset ! minimum missing Et (sum of neutrino's momenta)
  -1.0 = ptjmax ! maximum pt for the jets
  -1.0 = ptlmax ! maximum pt for the charged leptons
  -1.0 = missetmax ! maximum missing Et (sum of neutrino's momenta)
  {} = pt_min_pdg ! pt cut for other particles (use pdg code). Applied on particle and anti-particle
  {} = pt_max_pdg ! pt cut for other particles (syntax e.g. {6: 100, 25: 50})
#
# For display option for energy cut in the partonic center of mass frame type 'update ecut'
#
#*********************************************************************
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#*********************************************************************
  6.0 = etaj ! max rap for the jets
  2.5 = etal ! max rap for the charged leptons
  0.0 = etalmin ! main rap for the charged leptons
  {} = eta_min_pdg ! rap cut for other particles (use pdg code). Applied on particle and anti-particle
  {} = eta_max_pdg ! rap cut for other particles (syntax e.g. {6: 2.5, 23: 5})
#*********************************************************************
# Minimum and maximum DeltaR distance *
#*********************************************************************
  0.4 = drll ! min distance between leptons
  0.4 = drjl ! min distance between jet and lepton
  -1.0 = drllmax ! max distance between leptons
  -1.0 = drjlmax ! max distance between jet and lepton
#*********************************************************************
# Minimum and maximum invariant mass for pairs *
#*********************************************************************
  0.0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair
  -1.0 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair
  {} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
  {'default': False} = mxx_only_part_antipart ! if True the invariant mass is applied only
                       ! to pairs of particle/antiparticle and not to pairs of the same pdg codes.
 #*********************************************************************
 # Minimum and maximum invariant mass for all letpons *
 #*********************************************************************
  0.0 = mmnl ! min invariant mass for all letpons (l+- and vl)
  -1.0 = mmnlmax ! max invariant mass for all letpons (l+- and vl)
 #*********************************************************************
 # Minimum and maximum pt for 4-momenta sum of leptons *
 #*********************************************************************
  10.0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl)
  -1.0 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl)
#*********************************************************************
# Inclusive cuts *
#*********************************************************************
  0.0 = xptl ! minimum pt for at least one charged lepton
 #*********************************************************************
 # Control the pt's of leptons sorted by pt *
 #*********************************************************************
  0.0 = ptl1min ! minimum pt for the leading lepton in pt
  0.0 = ptl2min ! minimum pt for the second lepton in pt
  0.0 = ptl3min ! minimum pt for the third lepton in pt
  -1.0 = ptl1max ! maximum pt for the leading lepton in pt
  -1.0 = ptl2max ! maximum pt for the second lepton in pt
  -1.0 = ptl3max ! maximum pt for the third lepton in pt
#*********************************************************************
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#*********************************************************************
  4 = maxjetflavor ! Maximum jet pdg code
#*********************************************************************
#
#*********************************************************************
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#*********************************************************************
  True = use_syst ! Enable systematics studies
#
  systematics = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset', '--alps=0.5,1,2'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
#**************************************
# Parameter below of the systematics study
# will be used by SysCalc (if installed)
#**************************************
#
1 0.5 2 = sys_scalefact # factorization/renormalization scale factor
1 0.5 2 = sys_alpsfact # lpha_s emission scale factors
25.0 = sys_matchscale # variation of merging scale
# PDF sets and number of members (0 or none for all members).
errorset = sys_pdf # list of pdf sets. (errorset not valid for syscalc)
# MSTW2008nlo68cl.LHgrid 1 = sys_pdf
#
#*********************************************************************
# Additional hidden parameters
#*********************************************************************
  True = clusinfo # hidden_parameter
  ['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset,NNPDF30_nlo_as_0119@0,NNPDF30_nlo_as_0117@0,CT14nlo,MMHT2014nlo68clas118,PDF4LHC15_nlo_30_pdfas'] = systematics_arguments # Choose the argment to pass to the systematics command. like --mur=0.25,1,4. Look at the help of the systematics function for more details.
  3.0 = lhe_version # hidden_parameter
  [3, 4, 5, 6] = me_frame # choose lorentz frame where to evaluate matrix-element [for non lorentz invariant matrix-element/polarization]:
# - 0: partonic center of mass
# - 1: Multi boson frame
# - 2 : (multi) scalar frame
# - 3 : user custom

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

Looks like this is not a frequently used cuts.
(I personally never used it)

By looking at the code (see below)
you can see that this cut is applied on any pair of
 - two neutrino
 - one lepton and one neutrino

for the pair of two lepton, this cut is only applied for same flavor lepton with different charge.

The issue is that starting with MG5, the code optimization is not compatible with such type of flavor cut.
You either have to remove MG5 optimization (using set group_subprocesses False before generating the diagram)
or setup a mass for all flavor lepton (which blocks the optimization creating issues).

I'm not sure what to do about this cuts actually.
I guess this was requested (and implemented) by CMS directly.
But the comment in the run_card is everything but clear so I will change the comment for the next version.

I will also consider if I can add ptcut for "onshell" decay. (like in your case pt cut on the "onshell" Z and the "onshell" W)

Cheers,

Olivier

Revision history for this message
Prachi Arvind Atmasiddha (patmasid) said :
#2

Hi Olivier,

Thank you very much for the reply.

So, according to you this cut is applied only for 2 leptons in the event? In case of the events I am generating with 4 leptons, which leptons will be used for this cut? So, according to my understanding this cut will be applied on all the combinations (containing 2 leptons out of 4) of leptons, am I correct?

Also, I should set group_subprocesses False or setup mass of leptons in the proc card, am I right?

Are there any other consequences of removing MG5 optimization?

Thank you,

Regards
Prachi

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

> So, according to my understanding
> this cut will be applied on all the combinations (containing 2 leptons
> out of 4) of leptons, am I correct?

No if you have e+ e- mu+ vm
then the cut is applied on
e+ e-
e+ vm
e- vm
mu+ vm
but not
e+ mu+
e- mu+
for
 e+[1] e- e+[2] ve
you have it on
e+[1] e-
e+[1] ve
e- e+[2]
e- ve
e+[2] ve
but not
on
e+[1] e+[2]

This is why madgraph complains since he want to handle both process together but the cut does not allow him to do that safely.

> Also, I should set group_subprocesses False or setup mass of leptons in
> the proc card, am I right?

yes

> Are there any other consequences of removing MG5 optimization?

Much slower code, and much more disk space used.

Cheers,

Olivier

> On 27 May 2020, at 13:06, Prachi Arvind Atmasiddha <email address hidden> wrote:
>
> Question #690989 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/690989
>
> Status: Answered => Open
>
> Prachi Arvind Atmasiddha is still having a problem:
> Hi Olivier,
>
> Thank you very much for the reply.
>
> So, according to you this cut is applied only for 2 leptons in the
> event? In case of the events I am generating with 4 leptons, which
> leptons will be used for this cut? So, according to my understanding
> this cut will be applied on all the combinations (containing 2 leptons
> out of 4) of leptons, am I correct?
>
> Also, I should set group_subprocesses False or setup mass of leptons in
> the proc card, am I right?
>
> Are there any other consequences of removing MG5 optimization?
>
> Thank you,
>
> Regards
> Prachi
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Prachi Arvind Atmasiddha for more information if necessary.

To post a message you must log in.