Dim6top : from the (aEWM1,Gf,MZ) electroweak inputs to the (Gf,MZ,MW)

Asked by Abdellah Tnourji

Dear Expert,

I am generation my ttbar event using Dim6top model (MadGraph version: MG5_aMC_v2_8_2).

I want to use the (Gf,MZ,MW) electroweak inputs instead of the default one (aEWM1,Gf,MZ) .

Form their website: https://feynrules.irmp.ucl.ac.be/wiki/dim6top, I should use "configuration.py" for the hack.

I have tried this approach but I got the following error :

----------------
Error detected in sub-command import model dim6top_LO_UFO-5fs_0_5_test
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : sminputs (1,) not define
----------------

I know that I can fix the error by adding to the param_card.dat :
    1 1.279000e+02 # aEWM1

But I do not know if this is the correct solution since the idea is to use the (Gf,MZ,MW) instead of (aEWM1,Gf,MZ) ?

Actually, I don't know the difference between aEWM1 and Mw?

Thanks in advance.

A.Tnourji

Question information

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

I would suggest to contact the author of the model,
We have method within MG5aMC for doing that for simple model, but what the authors of the model did would prevent us to use such method within MG5aMC.

Cheers,

Olivier

> On 6 Feb 2021, at 13:30, Abdellah Tnourji <email address hidden> wrote:
>
> dim6top_LO_UFO-5fs_0_5_test

Revision history for this message
Abdellah Tnourji (atnourji) said :
#2

Dear Olivier

I resolved my problem by using changing MG5aMC version. Previously I am using MG5_aMC_v2_8_2 but using MG5_aMC_v2_9_1_2 solved the error message.

Now, I have another error message :

After the generation of ttbar events and specifying the decay of top and anti-top quarks using MadSpin card :

decay t > w+ b, w+ > l+ vl NP=0
decay t~ > w- b~, w- > l- vl~ NP=0
decay w+ > l+ vl
decay w- > l- vl~

In the run card, I set the number of events to 100000 and I used PDFs set 260000.

I then run ./bin/generate_events and ask Madspin to handle the decays. In the end, I see this error :

-------------------------
Command "generate_events " interrupted with error:
OSError : [Errno 39] Directory not empty: '/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me/SubProcesses/P1_gg_ttx_t_bwp_wp_epve_tx_bxwm_wm_emvex'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/run_01_tag_1_debug.log'.
Please attach this file to your report.
-------------------------

I will send the content of run_01_tag_1_debug.log in a separate message.

Some Comments :

1. When I reduce the number of events to 100, the generation of the event proceeds without error !!
2. When I generate events without using mad-spin, the generation of the event proceeds without error !!

Thanks in advance,
A.Tnourji

Revision history for this message
Abdellah Tnourji (atnourji) said :
#3

run_01_tag_1_debug.log File .

#************************************************************
#* MadGraph5_aMC@NLO/MadEvent *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.9.1.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 *
#* *
#************************************************************
generate_events
Traceback (most recent call last):
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/madevent_interface.py", line 2471, in do_generate_events
    self.run_generate_events(switch_mode, args)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/common_run_interface.py", line 7098, in new_fct
    original_fct(obj, *args, **opts)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/madevent_interface.py", line 2570, in run_generate_events
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/common_run_interface.py", line 3748, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1687, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/various/misc.py", line 109, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/interface_madspin.py", line 654, in do_launch
    generate_all.run()
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/decay.py", line 2131, in run
    self.ending_run()
  File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/decay.py", line 2157, in ending_run
    shutil.rmtree(pjoin(self.path_me,'full_me'))
  File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib64/python2.7/shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib64/python2.7/shutil.py", line 254, in rmtree
    os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me/SubProcesses/P1_gg_ttx_t_bwp_wp_epve_tx_bxwm_wm_emvex'
Related File: /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me/SubProcesses/P1_gg_ttx_t_bwp_wp_epve_tx_bxwm_wm_emvex
                              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 : 10 (user set)
               cluster_time : None
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : None
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
          madanalysis5_path : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/madanalysis5/madanalysis5 (user set)
           cluster_nb_retry : 1
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
         cluster_local_path : None
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
                 lhapdf_py3 : None
                 lhapdf_py2 : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
           fortran_compiler : None
                auto_update : 7 (user set)
        exrootanalysis_path : None (user set)
                    timeout : 60
               cpp_compiler : None
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.9.1.2 2021-02-02 *
#* *
#* 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 max_t_for_channel 99
set loop_optimized_output True
set low_mem_multicore_nlo_generation False
set default_unset_couplings 99
set zerowidth_tchannel True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model dim6top_LO_UFO-0_5
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 = p b b~
generate p p > t t~ FCNC=0 QED=0 QCD=2
output large_dim6top_0_5
######################################################################
## 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 DIM6
###################################
Block dim6
    1 1.000000e+03 # Lambda
   16 5.000000e-01 # ctG

###################################
## INFORMATION FOR MASS
###################################
Block mass
    6 1.720000e+02 # MT
   23 9.118760e+01 # MZ
   24 7.982440e+01 # MW
   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.000000e+00 # 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
  15 0.000000e+00 # ta- : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    2 1.166370e-05 # Gf
    3 1.184000e-01 # aS (Note that Parameter not used if you use a PDF set)

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    6 1.720000e+02 # ymt

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.470800e+00 # WT
DECAY 23 2.416039e+00 # WZ
DECAY 24 2.002950e+00 # WW
DECAY 25 5.753088e-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 *
#*********************************************************************
  100000 = 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, 4=photon from muon *
#*********************************************************************
  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
  260000 = 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
  -1 = 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)
  average = event_norm ! average/sum. Normalization of the weight in the LHEF
# To see MLM/CKKW merging options: type "update MLM" or "update CKKW"

#*********************************************************************
#
#*********************************************************************
# Phase-Space Optimization strategy (basic options)
#*********************************************************************
  0 = nhel ! using helicities importance sampling or not.
                             ! 0: sum over helicity, 1: importance sampling
  1 = sde_strategy ! default integration strategy (hep-ph/2021.xxxxx)
                             ! 1 is old strategy (using amp square)
        ! 2 is new strategy (using only the denominator)
# To see advanced option for Phase-Space optimization: type "update psoptim"
#*********************************************************************
# 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)
#*********************************************************************
# Standard Cuts *
#*********************************************************************
# Minimum and maximum pt's (for max, -1 means no cut) *
#*********************************************************************
  {} = 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) *
#*********************************************************************
  {} = 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 *
#*********************************************************************
#*********************************************************************
# Minimum and maximum invariant mass for pairs *
#*********************************************************************
  {} = 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.
#*********************************************************************
# Inclusive cuts *
#*********************************************************************
  0.0 = ptheavy ! minimum pt for at least one heavy final state
#*********************************************************************
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#*********************************************************************
  5 = 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'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
# Syscalc is deprecated but to see the associate options type'update syscalc'#*********************************************************************
# Additional hidden parameters
#*********************************************************************
  ['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = 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.

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

This might be an afs issue.
Make sure to remove the directory
/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me <http://cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me>
before starting to run and if possible do not use afs filesystem.

> On 10 Feb 2021, at 00:25, Abdellah Tnourji <email address hidden> wrote:
>
> Question #695403 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/695403
>
> Abdellah Tnourji gave more information on the question:
> run_01_tag_1_debug.log File .
>
>
> #************************************************************
> #* MadGraph5_aMC@NLO/MadEvent *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.9.1.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 *
> #* *
> #************************************************************
> generate_events
> Traceback (most recent call last):
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1541, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1490, in onecmd_orig
> return func(arg, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/madevent_interface.py", line 2471, in do_generate_events
> self.run_generate_events(switch_mode, args)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/common_run_interface.py", line 7098, in new_fct
> original_fct(obj, *args, **opts)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/madevent_interface.py", line 2570, in run_generate_events
> self.exec_cmd('decay_events -from_cards', postcmd=False)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1570, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/extended_cmd.py", line 1490, in onecmd_orig
> return func(arg, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/bin/internal/common_run_interface.py", line 3748, in do_decay_events
> madspin_cmd.import_command_file(path)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1687, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
> return func(arg, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/madgraph/various/misc.py", line 109, in f_with_no_logger
> out = f(self, *args, **opt)
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/interface_madspin.py", line 654, in do_launch
> generate_all.run()
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/decay.py", line 2131, in run
> self.ending_run()
> File "/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/MadSpin/decay.py", line 2157, in ending_run
> shutil.rmtree(pjoin(self.path_me,'full_me'))
> File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
> rmtree(fullname, ignore_errors, onerror)
> File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
> rmtree(fullname, ignore_errors, onerror)
> File "/usr/lib64/python2.7/shutil.py", line 256, in rmtree
> onerror(os.rmdir, path, sys.exc_info())
> File "/usr/lib64/python2.7/shutil.py", line 254, in rmtree
> os.rmdir(path)
> OSError: [Errno 39] Directory not empty: '/afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me/SubProcesses/P1_gg_ttx_t_bwp_wp_epve_tx_bxwm_wm_emvex'
> Related File: /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/dim6/0_5_Ctg/large_dim6top_0_5/full_me/SubProcesses/P1_gg_ttx_t_bwp_wp_epve_tx_bxwm_wm_emvex
> 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 : 10 (user set)
> cluster_time : None
> run_mode : 2
>
> Configuration Options
> ---------------------
> text_editor : None
> f2py_compiler_py2 : None
> f2py_compiler_py3 : None
> cluster_status_update : (600, 30)
> pythia8_path : None (user set)
> hwpp_path : None (user set)
> pythia-pgs_path : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/pythia-pgs (user set)
> td_path : None (user set)
> delphes_path : None (user set)
> thepeg_path : None (user set)
> cluster_type : condor
> madanalysis5_path : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/madanalysis5/madanalysis5 (user set)
> cluster_nb_retry : 1
> eps_viewer : None
> web_browser : None
> syscalc_path : None (user set)
> madanalysis_path : None (user set)
> lhapdf : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> cluster_local_path : None
> f2py_compiler : None
> hepmc_path : None (user set)
> cluster_retry_wait : 300
> lhapdf_py3 : None
> lhapdf_py2 : /afs/cern.ch/work/a/atnourji/ttbar_mg/Abdellah/MG5_aMC_v2_9_1_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> fortran_compiler : None
> auto_update : 7 (user set)
> exrootanalysis_path : None (user set)
> timeout : 60
> cpp_compiler : None
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.9.1.2 2021-02-02 *
> #* *
> #* 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 max_t_for_channel 99
> set loop_optimized_output True
> set low_mem_multicore_nlo_generation False
> set default_unset_couplings 99
> set zerowidth_tchannel True
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_for_channel 0
> import model dim6top_LO_UFO-0_5
> 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 = p b b~
> generate p p > t t~ FCNC=0 QED=0 QCD=2
> output large_dim6top_0_5
> ######################################################################
> ## 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 DIM6
> ###################################
> Block dim6
> 1 1.000000e+03 # Lambda
> 16 5.000000e-01 # ctG
>
> ###################################
> ## INFORMATION FOR MASS
> ###################################
> Block mass
> 6 1.720000e+02 # MT
> 23 9.118760e+01 # MZ
> 24 7.982440e+01 # MW
> 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.000000e+00 # 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
> 15 0.000000e+00 # ta- : 0.0
> 16 0.000000e+00 # vt : 0.0
> 21 0.000000e+00 # g : 0.0
> 22 0.000000e+00 # a : 0.0
>
> ###################################
> ## INFORMATION FOR SMINPUTS
> ###################################
> Block sminputs
> 2 1.166370e-05 # Gf
> 3 1.184000e-01 # aS (Note that Parameter not used if you use a PDF set)
>
> ###################################
> ## INFORMATION FOR YUKAWA
> ###################################
> Block yukawa
> 6 1.720000e+02 # ymt
>
> ###################################
> ## INFORMATION FOR DECAY
> ###################################
> DECAY 6 1.470800e+00 # WT
> DECAY 23 2.416039e+00 # WZ
> DECAY 24 2.002950e+00 # WW
> DECAY 25 5.753088e-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 *
> #*********************************************************************
> 100000 = 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, 4=photon from muon *
> #*********************************************************************
> 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
> 260000 = 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
> -1 = 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)
> average = event_norm ! average/sum. Normalization of the weight in the LHEF
> # To see MLM/CKKW merging options: type "update MLM" or "update CKKW"
>
> #*********************************************************************
> #
> #*********************************************************************
> # Phase-Space Optimization strategy (basic options)
> #*********************************************************************
> 0 = nhel ! using helicities importance sampling or not.
> ! 0: sum over helicity, 1: importance sampling
> 1 = sde_strategy ! default integration strategy (hep-ph/2021.xxxxx)
> ! 1 is old strategy (using amp square)
> ! 2 is new strategy (using only the denominator)
> # To see advanced option for Phase-Space optimization: type "update psoptim"
> #*********************************************************************
> # 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)
> #*********************************************************************
> # Standard Cuts *
> #*********************************************************************
> # Minimum and maximum pt's (for max, -1 means no cut) *
> #*********************************************************************
> {} = 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) *
> #*********************************************************************
> {} = 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 *
> #*********************************************************************
> #*********************************************************************
> # Minimum and maximum invariant mass for pairs *
> #*********************************************************************
> {} = 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.
> #*********************************************************************
> # Inclusive cuts *
> #*********************************************************************
> 0.0 = ptheavy ! minimum pt for at least one heavy final state
> #*********************************************************************
> # maximal pdg code for quark to be considered as a light jet *
> # (otherwise b cuts are applied) *
> #*********************************************************************
> 5 = 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'] = systematics_arguments ! see: https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/Systematics#Systematicspythonmodule
> # Syscalc is deprecated but to see the associate options type'update syscalc'#*********************************************************************
> # Additional hidden parameters
> #*********************************************************************
> ['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = 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.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Abdellah Tnourji (atnourji) said :
#5

Thanks Olivier Mattelaer, that solved my question.