z boson transverse momentum

Asked by amir

Hi

I want to generate p p > z c [QCD] process and I have problem with add transverse momentum of z boson into cuts. however there is a place for jets and leptons and gamma but I cant do the same with z boson.
what can I do with this issue?

Cheers

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

Hi,

This is not part of the default cut.
You can edit the file SubProcesses/cuts.f to add this cut.
The file contains multiple example of cut so it should be pretty easy to implement your own cut.

Cheers,

Olivier

> On Nov 8, 2016, at 08:27, amir <email address hidden> wrote:
>
> New question #403871 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/403871
>
> Hi
>
> I want to generate p p > z c [QCD] process and I have problem with add transverse momentum of z boson into cuts. however there is a place for jets and leptons and gamma but I cant do the same with z boson.
> what can I do with this issue?
>
> Cheers
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
amir (amir-shabanpoor92) said :
#2

Hi,

I've wrote a part of the code but its not functional and I've got error.

      zptmin = 100d0
      do i=1,nexternal
         if (ipdg(i).eq.23) then
            if (pt_04(p(0,i)).lt.zptmin) then
                passcuts_user=.false.
                return
            endif
         endif
      enddo

so can you help me with this problem?

Cheers,

Amir

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

Hi,

What the error is?

Cheers,

Olivier

> On Nov 16, 2016, at 10:52, amir <email address hidden> wrote:
>
> Question #403871 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403871
>
> amir posted a new comment:
> Hi,
>
> I've wrote a part of the code but its not functional and I've got error.
>
> zptmin = 100d0
> do i=1,nexternal
> if (ipdg(i).eq.23) then
> if (pt_04(p(0,i)).lt.zptmin) then
> passcuts_user=.false.
> return
> endif
> endif
> enddo
>
> so can you help me with this problem?
>
> Cheers,
>
> Amir
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
amir (amir-shabanpoor92) said :
#4

Hi

the log file contained

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.3.2.2 2015-09-06 *
#* *
#* 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 auto
Traceback (most recent call last):
  File "/home/joachim/Desktop/MG5/madgraph/interface/extended_cmd.py", line 889, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/joachim/Desktop/MG5/madgraph/interface/extended_cmd.py", line 882, in onecmd_orig
    return func(arg, **opt)
  File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 1202, in do_launch
    self.compile(mode, options)
  File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3933, in compile
    self.check_tests(test, this_dir)
  File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3944, in check_tests
    return self.parse_test_mx_log(pjoin(dir, '%s.log' % test))
  File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3951, in parse_test_mx_log
    content = open(log).read()
IOError: [Errno 2] No such file or directory: '/home/joachim/Desktop/MG5/bin/zctest/SubProcesses/P0_gc_zc/test_ME.log'
Value of current Options:
              text_editor : None
                    pjfry : None
       cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
       group_subprocesses : Auto
ignore_six_quark_processes : False
    loop_optimized_output : True
    cluster_status_update : (600, 30)
             pythia8_path : None
                hwpp_path : None
                    golem : /home/joachim/Desktop/MG5/golem95/lib
          pythia-pgs_path : /home/joachim/Desktop/MG5/pythia-pgs
                  td_path : /home/joachim/Desktop/MG5/td
             delphes_path : /home/joachim/Desktop/MG5/Delphes
              thepeg_path : None
             cluster_type : condor
      exrootanalysis_path : /home/joachim/Desktop/MG5/ExRootAnalysis
                      OLP : MadLoop
                 applgrid : /home/joachim/Desktop/deps/applgrid/bin/applgrid-config
               eps_viewer : None
                  fastjet : fastjet-config
                 run_mode : 2
              web_browser : None
   automatic_html_opening : False
        cluster_temp_path : None
             cluster_size : 100
            cluster_queue : None
             syscalc_path : /home/joachim/Desktop/MG5/SysCalc
         madanalysis_path : /home/joachim/Desktop/MG5/MadAnalysis
                   lhapdf : /home/joachim/Desktop/deps/lhapdf/bin/lhapdf-config
             stdout_level : 20
            f2py_compiler : None
               hepmc_path : None
                  amcfast : /home/joachim/Desktop/deps/amcfast/bin/amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
         fortran_compiler : None
                  nb_core : 4
         loop_color_flows : False
              auto_update : 7
         cluster_nb_retry : 1
                 mg5_path : /home/joachim/Desktop/MG5
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
   max_npoint_for_channel : 0
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.3.2.2 2015-09-06 *
#* *
#* 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 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 sm
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~
import model loop_sm
generate p p > z c [QCD]
output zctest
######################################################################
## 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.118800e+01 # MU_R

###################################
## 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.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  11 0.000000 # e- : 0.0
  12 0.000000 # ve : 0.0
  13 0.000000 # mu- : 0.0
  14 0.000000 # vm : 0.0
  16 0.000000 # vt : 0.0
  21 0.000000 # g : 0.0
  22 0.000000 # a : 0.0
  24 80.419002 # 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.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
#***********************************************************************
# 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 *
#***********************************************************************
#
#*******************
# 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
 -1.0 = 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 ! average or sum
#***********************************************************************
# 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 *
#***********************************************************************
 0 = 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 = ebeam1 ! beam 1 energy in GeV
 6500 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
 nn23nlo = pdlabel ! PDF set
 244600 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
#***********************************************************************
# 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!!!! *
#***********************************************************************
  HERWIG6 = parton_shower
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses of all final state particles and partons. This *
# can be changed in SubProcesses/set_scales.f) *
#***********************************************************************
 False = fixed_ren_scale ! if .true. use fixed ren scale
 False = fixed_fac_scale ! if .true. use fixed fac scale
 91.118 = muR_ref_fixed ! fixed ren reference scale
 91.118 = muF1_ref_fixed ! fixed fact reference scale for pdf1
 91.118 = muF2_ref_fixed ! fixed fact reference scale for pdf2
 -1 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
#***********************************************************************
# Renormalization and factorization scales (advanced and NLO options) *
#***********************************************************************
 False = fixed_QES_scale ! if .true. use fixed Ellis-Sexton scale
 91.118 = QES_ref_fixed ! fixed Ellis-Sexton reference scale
 1.0 = muR_over_ref ! ratio of current muR over reference muR
 1.0 = muF1_over_ref ! ratio of current muF1 over reference muF1
 1.0 = muF2_over_ref ! ratio of current muF2 over reference muF2
 1.0 = QES_over_ref ! ratio of current QES over reference QES
#***********************************************************************
# Reweight flags to get scale dependence and PDF uncertainty *
# For scale dependence: factor rw_scale_up/down around central scale *
# For PDF uncertainty: use LHAPDF with supported set *
#***********************************************************************
 True = reweight_scale ! reweight to get scale dependence
 0.5 = rw_Rscale_down ! lower bound for ren scale variations
 2.0 = rw_Rscale_up ! upper bound for ren scale variations
 0.5 = rw_Fscale_down ! lower bound for fact scale variations
 2.0 = rw_Fscale_up ! upper bound for fact scale variations
 False = reweight_PDF ! reweight to get PDF uncertainty
 244601 = PDF_set_min ! First of the error PDF sets
 244700 = PDF_set_max ! Last of the error PDF sets
#***********************************************************************
# 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) *
#***********************************************************************
 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 gen 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
  30.0 = 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 *
#***********************************************************************
  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)
#***********************************************************************
# Maximal PDG code for quark to be considered a jet when applying cuts.*
# At least all massless quarks of the model should be included here. *
#***********************************************************************
 4 = maxjetflavor
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
 0 = iappl ! aMCfast switch (0=OFF, 1=prepare APPLgrids, 2=fill grids)
#***********************************************************************

Thanks

Amir

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

But did your change compile correctly?

Cheers,

Olivier

> On Nov 16, 2016, at 16:52, amir <email address hidden> wrote:
>
> Question #403871 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403871
>
> amir posted a new comment:
> Hi
>
> the log file contained
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.3.2.2 2015-09-06 *
> #* *
> #* 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 auto
> Traceback (most recent call last):
> File "/home/joachim/Desktop/MG5/madgraph/interface/extended_cmd.py", line 889, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/joachim/Desktop/MG5/madgraph/interface/extended_cmd.py", line 882, in onecmd_orig
> return func(arg, **opt)
> File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 1202, in do_launch
> self.compile(mode, options)
> File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3933, in compile
> self.check_tests(test, this_dir)
> File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3944, in check_tests
> return self.parse_test_mx_log(pjoin(dir, '%s.log' % test))
> File "/home/joachim/Desktop/MG5/madgraph/interface/amcatnlo_run_interface.py", line 3951, in parse_test_mx_log
> content = open(log).read()
> IOError: [Errno 2] No such file or directory: '/home/joachim/Desktop/MG5/bin/zctest/SubProcesses/P0_gc_zc/test_ME.log'
> Value of current Options:
> text_editor : None
> pjfry : None
> cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_optimized_output : True
> cluster_status_update : (600, 30)
> pythia8_path : None
> hwpp_path : None
> golem : /home/joachim/Desktop/MG5/golem95/lib
> pythia-pgs_path : /home/joachim/Desktop/MG5/pythia-pgs
> td_path : /home/joachim/Desktop/MG5/td
> delphes_path : /home/joachim/Desktop/MG5/Delphes
> thepeg_path : None
> cluster_type : condor
> exrootanalysis_path : /home/joachim/Desktop/MG5/ExRootAnalysis
> OLP : MadLoop
> applgrid : /home/joachim/Desktop/deps/applgrid/bin/applgrid-config
> eps_viewer : None
> fastjet : fastjet-config
> run_mode : 2
> web_browser : None
> automatic_html_opening : False
> cluster_temp_path : None
> cluster_size : 100
> cluster_queue : None
> syscalc_path : /home/joachim/Desktop/MG5/SysCalc
> madanalysis_path : /home/joachim/Desktop/MG5/MadAnalysis
> lhapdf : /home/joachim/Desktop/deps/lhapdf/bin/lhapdf-config
> stdout_level : 20
> f2py_compiler : None
> hepmc_path : None
> amcfast : /home/joachim/Desktop/deps/amcfast/bin/amcfast-config
> cluster_retry_wait : 300
> output_dependencies : external
> fortran_compiler : None
> nb_core : 4
> loop_color_flows : False
> auto_update : 7
> cluster_nb_retry : 1
> mg5_path : /home/joachim/Desktop/MG5
> timeout : 60
> gauge : unitary
> complex_mass_scheme : False
> cpp_compiler : None
> max_npoint_for_channel : 0
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.3.2.2 2015-09-06 *
> #* *
> #* 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 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 sm
> 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~
> import model loop_sm
> generate p p > z c [QCD]
> output zctest
> ######################################################################
> ## 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.118800e+01 # MU_R
>
> ###################################
> ## 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.000000 # d : 0.0
> 2 0.000000 # u : 0.0
> 3 0.000000 # s : 0.0
> 4 0.000000 # c : 0.0
> 11 0.000000 # e- : 0.0
> 12 0.000000 # ve : 0.0
> 13 0.000000 # mu- : 0.0
> 14 0.000000 # vm : 0.0
> 16 0.000000 # vt : 0.0
> 21 0.000000 # g : 0.0
> 22 0.000000 # a : 0.0
> 24 80.419002 # 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.000000 # d : 0.0
> DECAY 2 0.000000 # u : 0.0
> DECAY 3 0.000000 # s : 0.0
> DECAY 4 0.000000 # c : 0.0
> DECAY 5 0.000000 # b : 0.0
> DECAY 11 0.000000 # e- : 0.0
> DECAY 12 0.000000 # ve : 0.0
> DECAY 13 0.000000 # mu- : 0.0
> DECAY 14 0.000000 # vm : 0.0
> DECAY 15 0.000000 # ta- : 0.0
> DECAY 16 0.000000 # vt : 0.0
> DECAY 21 0.000000 # g : 0.0
> DECAY 22 0.000000 # a : 0.0
> #***********************************************************************
> # 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 *
> #***********************************************************************
> #
> #*******************
> # 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
> -1.0 = 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 ! average or sum
> #***********************************************************************
> # 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 *
> #***********************************************************************
> 0 = 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 = ebeam1 ! beam 1 energy in GeV
> 6500 = ebeam2 ! beam 2 energy in GeV
> #***********************************************************************
> # PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
> #***********************************************************************
> nn23nlo = pdlabel ! PDF set
> 244600 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
> #***********************************************************************
> # 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!!!! *
> #***********************************************************************
> HERWIG6 = parton_shower
> #***********************************************************************
> # Renormalization and factorization scales *
> # (Default functional form for the non-fixed scales is the sum of *
> # the transverse masses of all final state particles and partons. This *
> # can be changed in SubProcesses/set_scales.f) *
> #***********************************************************************
> False = fixed_ren_scale ! if .true. use fixed ren scale
> False = fixed_fac_scale ! if .true. use fixed fac scale
> 91.118 = muR_ref_fixed ! fixed ren reference scale
> 91.118 = muF1_ref_fixed ! fixed fact reference scale for pdf1
> 91.118 = muF2_ref_fixed ! fixed fact reference scale for pdf2
> -1 = dynamical_scale_choice ! Choose one of the preselected dynamical choices
> #***********************************************************************
> # Renormalization and factorization scales (advanced and NLO options) *
> #***********************************************************************
> False = fixed_QES_scale ! if .true. use fixed Ellis-Sexton scale
> 91.118 = QES_ref_fixed ! fixed Ellis-Sexton reference scale
> 1.0 = muR_over_ref ! ratio of current muR over reference muR
> 1.0 = muF1_over_ref ! ratio of current muF1 over reference muF1
> 1.0 = muF2_over_ref ! ratio of current muF2 over reference muF2
> 1.0 = QES_over_ref ! ratio of current QES over reference QES
> #***********************************************************************
> # Reweight flags to get scale dependence and PDF uncertainty *
> # For scale dependence: factor rw_scale_up/down around central scale *
> # For PDF uncertainty: use LHAPDF with supported set *
> #***********************************************************************
> True = reweight_scale ! reweight to get scale dependence
> 0.5 = rw_Rscale_down ! lower bound for ren scale variations
> 2.0 = rw_Rscale_up ! upper bound for ren scale variations
> 0.5 = rw_Fscale_down ! lower bound for fact scale variations
> 2.0 = rw_Fscale_up ! upper bound for fact scale variations
> False = reweight_PDF ! reweight to get PDF uncertainty
> 244601 = PDF_set_min ! First of the error PDF sets
> 244700 = PDF_set_max ! Last of the error PDF sets
> #***********************************************************************
> # 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) *
> #***********************************************************************
> 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 gen 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
> 30.0 = 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 *
> #***********************************************************************
> 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)
> #***********************************************************************
> # Maximal PDG code for quark to be considered a jet when applying cuts.*
> # At least all massless quarks of the model should be included here. *
> #***********************************************************************
> 4 = maxjetflavor
> #***********************************************************************
> # For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
> #***********************************************************************
> 0 = iappl ! aMCfast switch (0=OFF, 1=prepare APPLgrids, 2=fill grids)
> #***********************************************************************
>
> Thanks
>
> Amir
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
amir (amir-shabanpoor92) said :
#6

yes I did the compilation on both directories in subprocesses folder but I've got these errors.

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

Hi,

I have implemented your cuts and it works nicely. Did not face any problem in that direction.
But this make me look in detail to your process. And this process is actually badly defined in your case.

Indeed your process specify a c quark in the final state which is a dangerous options at NLO (as clearly stated by some warning).
In this case, some of the real contribution will be badly generated leading to some unphysical result.

More in details, your process definition means that the following real is generated:
c cx > z c cx
however this real also cancels some divergency related to
c cx > z g
which are missing with your definition
This is actually unfortunate that your process definition does not fails the pole cancelation.

So you have two options:
1) Run in 3 flavor scheme (with a c c~ in the final state)
2) Run p p > Z j [QCD] in four flavor scheme and then select the events which contains a c quark.

Cheers,

Olivier

> On Nov 17, 2016, at 13:07, amir <email address hidden> wrote:
>
> Question #403871 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403871
>
> amir posted a new comment:
> yes I did the compilation on both directories in subprocesses folder but
> I've got these errors.
>
> --
> 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 amir for more information if necessary.

To post a message you must log in.