How to use ptllmin and ptllmax parameters in run_card.dat
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_
INFO: P1_gq_wpzq_
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_
/usr/lib64/
INFO: P1_gq_wpzq_
INFO: P1_qq_wpzg_
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_
INFO: P1_qq_wpzg_
INFO: P1_qq_wpzg_
INFO: P0_qq_wpz_
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_
INFO: P0_qq_wpz_
INFO: P0_qq_wpz_
P1_gq_
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_
Command "import command ../run_
"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_
NNPDF30_
STOP 1
Thanks for using LHAPDF 6.2.3. Please make sure to cite the paper:
Eur.Phys.J. C75 (2015) 3, 132 (http://
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_
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.7.2 20xx-xx-xx *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#******
multi_run 1
Traceback (most recent call last):
File "/MG5_aMC_
return self.onecmd_
File "/MG5_aMC_
return func(arg, **opt)
File "/MG5_aMC_
self.
File "/MG5_aMC_
self.
File "/MG5_aMC_
stop = Cmd.onecmd_
File "/MG5_aMC_
return func(arg, **opt)
File "/MG5_aMC_
self.
File "/MG5_aMC_
stop = Cmd.onecmd_
File "/MG5_aMC_
return func(arg, **opt)
File "/MG5_aMC_
self.
File "/MG5_aMC_
original_
File "/MG5_aMC_
self.
File "/MG5_aMC_
stop = Cmd.onecmd_
File "/MG5_aMC_
return func(arg, **opt)
File "/MG5_aMC_
x_improve.
File "/MG5_aMC_
main_
File "/MG5_aMC_
P_comb.
File "/MG5_aMC_
oneresult.
File "/MG5_aMC_
% (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_
NNPDF30_
STOP 1
Thanks for using LHAPDF 6.2.3. Please make sure to cite the paper:
Eur.Phys.J. C75 (2015) 3, 132 (http://
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
automatic_
cluster_
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.7.2 2020-03-17 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#******
set default_
set group_subprocesses Auto
set ignore_
set loop_optimized_
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_
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_
#######
## 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(
#######
## 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/
# *
# 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=
#******
# 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_
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
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_
#******
#
#******
# 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.
#******
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*
#******
15.0 = bwcutoff ! (M+/-bwcutoff*
#*****
# Apply pt/E/eta/
# (note that etmiss/
#*****
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_
#*****
# 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_
#******
# Parameter below of the systematics study
# will be used by SysCalc (if installed)
#******
#
1 0.5 2 = sys_scalefact # factorization/
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
#
#******
# Additional hidden parameters
#******
True = clusinfo # hidden_parameter
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=
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-
# - 0: partonic center of mass
# - 1: Multi boson frame
# - 2 : (multi) scalar frame
# - 3 : user custom
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Prachi Arvind Atmasiddha for more information if necessary.