ERROR: Illegal character '['

Asked by Charlie

Hi Mg5 Expert,

I am trying to generate process but it gives me an error

ERROR: Illegal character '['
Error detected in sub-command launch
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
ModelError : Syntax error at '(' (LexToken((,'(',1,20)).

here is the debug file

###########################################################################

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.1 2017-12-12 *
#* *
#* 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 low_mem_multicore_nlo_generation False
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 /home/xianhui/hep_softs/MG5_aMC_v2_6_0/models/MLRSMc_UFO
generate w2+ > l+ vl
launch
Traceback (most recent call last):
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1467, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
    return func(arg, **opt)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 488, in do_launch
    return self.cmd.do_launch(self, line, *argss, **opts)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 6761, in do_launch
    self.check_launch(args, options)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 367, in check_launch
    return self.cmd.check_launch(self, *args, **opts)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 1209, in check_launch
    self.do_output('')
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 290, in do_output
    self.cmd.do_output(self, line, *args, **opts)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7570, in do_output
    self.finalize(nojpeg, flaglist=flaglist)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7858, in finalize
    wanted_couplings)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 3495, in convert_model
    wanted_lorentz, wanted_couplings)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 868, in convert_model
    model_builder.build(wanted_couplings)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5509, in build
    self.write_all()
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5538, in write_all
    self.create_intparam_def(dp=True,mp=False)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5911, in create_intparam_def
    self.p_to_f.parse(param.expr)))
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 62, in parse
    self.y.parse(buf)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 270, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 1052, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 269, in p_error
    raise ModelError("Syntax error at '%s' (%s)." %(p.value,p))
ModelError: Syntax error at '(' (LexToken((,'(',1,20)).
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
               stdout_level : 20 (user set)

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
                    fastjet : fastjet-config
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : None (user set)
                  hwpp_path : None (user set)
                     lhapdf : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config (user set)
          madanalysis5_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5 (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
        output_dependencies : external
                      pjfry : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/PJFry/lib (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/pythia8 (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None

############################################################

and here is the two places that I changed in feynrules model file

MW2 = Parameter(name = 'MW2',
                nature = 'external',
                type = 'real',
                value = 2000 ,
                texname = '\\text{MW2}',
                lhablock = 'MASS',
                lhacode = [ 25 ])

vR = Parameter(name = 'vR',
                  nature = 'internal',
                  type = 'real',
                  value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
                  texname = '\\text{vR}')

Sorry I don't know how to attach file here, thanks for your help!

Question information

Language:
English Edit question
Status:
Expired
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 Charlie,

UFO model followed python convention and not Feynrules convention.
Therefore you have to replace
> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
by
> value = 'MW2/MW*cmath.sqrt((k1**2+k2**2)/2)',

(you can also use "math." instead of "cmath." in principle)

Of course this assume that MW2, MW, k1 and k2 are already define above in the file.

Cheers,

Olivier

> On 28 Dec 2017, at 04:08, Charlie <email address hidden> wrote:
>
> New question #662301 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> Hi Mg5 Expert,
>
> I am trying to generate process but it gives me an error
>
> ERROR: Illegal character '['
> Error detected in sub-command launch
> write debug file MG5_debug
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> ModelError : Syntax error at '(' (LexToken((,'(',1,20)).
>
> here is the debug file
>
> ###########################################################################
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.1 2017-12-12 *
> #* *
> #* 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 low_mem_multicore_nlo_generation False
> 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 /home/xianhui/hep_softs/MG5_aMC_v2_6_0/models/MLRSMc_UFO
> generate w2+ > l+ vl
> launch
> Traceback (most recent call last):
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1467, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
> return func(arg, **opt)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 488, in do_launch
> return self.cmd.do_launch(self, line, *argss, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 6761, in do_launch
> self.check_launch(args, options)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 367, in check_launch
> return self.cmd.check_launch(self, *args, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 1209, in check_launch
> self.do_output('')
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 290, in do_output
> self.cmd.do_output(self, line, *args, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7570, in do_output
> self.finalize(nojpeg, flaglist=flaglist)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7858, in finalize
> wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 3495, in convert_model
> wanted_lorentz, wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 868, in convert_model
> model_builder.build(wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5509, in build
> self.write_all()
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5538, in write_all
> self.create_intparam_def(dp=True,mp=False)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5911, in create_intparam_def
> self.p_to_f.parse(param.expr)))
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 62, in parse
> self.y.parse(buf)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 270, in parse
> return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 1052, in parseopt_notrack
> tok = self.errorfunc(errtoken)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 269, in p_error
> raise ModelError("Syntax error at '%s' (%s)." %(p.value,p))
> ModelError: Syntax error at '(' (LexToken((,'(',1,20)).
> MadGraph5_aMC@NLO Options
> ----------------
> complex_mass_scheme : False
> gauge : unitary
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_color_flows : False
> loop_optimized_output : True
> low_mem_multicore_nlo_generation : False
> max_npoint_for_channel : 0
> stdout_level : 20 (user set)
>
> MadEvent Options
> ----------------
> automatic_html_opening : True
> nb_core : None
> notification_center : True
> run_mode : 2
>
> Configuration Options
> ---------------------
> OLP : MadLoop
> amcfast : amcfast-config
> applgrid : applgrid-config
> auto_update : 7
> cluster_local_path : None
> cluster_nb_retry : 1
> cluster_queue : None (user set)
> cluster_retry_wait : 300
> cluster_size : 100
> cluster_status_update : (600, 30)
> cluster_temp_path : None
> cluster_type : condor
> collier : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
> cpp_compiler : None
> crash_on_error : False
> delphes_path : ./Delphes
> eps_viewer : None
> exrootanalysis_path : ./ExRootAnalysis
> f2py_compiler : None
> fastjet : fastjet-config
> fortran_compiler : None
> golem : None (user set)
> hepmc_path : None (user set)
> hwpp_path : None (user set)
> lhapdf : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> madanalysis5_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5 (user set)
> madanalysis_path : ./MadAnalysis
> mg5amc_py8_interface_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface (user set)
> ninja : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
> output_dependencies : external
> pjfry : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/PJFry/lib (user set)
> pythia-pgs_path : ./pythia-pgs
> pythia8_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/pythia8 (user set)
> samurai : None
> syscalc_path : ./SysCalc
> td_path : ./td
> text_editor : None
> thepeg_path : None (user set)
> timeout : 60
> web_browser : None
>
> ############################################################
>
> and here is the two places that I changed in feynrules model file
>
>
> MW2 = Parameter(name = 'MW2',
> nature = 'external',
> type = 'real',
> value = 2000 ,
> texname = '\\text{MW2}',
> lhablock = 'MASS',
> lhacode = [ 25 ])
>
>
>
>
>
> vR = Parameter(name = 'vR',
> nature = 'internal',
> type = 'real',
> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
> texname = '\\text{vR}')
>
> Sorry I don't know how to attach file here, thanks for your help!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Charlie (xianhui) said :
#2

Hi Olivier,

Thanks for your kindly reply.

I also want to know if I do a parameter scan , How can I put the results in one file so that I could plot it, say the cross section to the mass of the particle.

Best!
Charlie

发自网易邮箱大师
On 12/28/2017 16:34,Olivier Mattelaer<email address hidden> wrote:
Your question #662301 on MadGraph5_aMC@NLO changed:
https://answers.launchpad.net/mg5amcnlo/+question/662301

    Status: Open => Answered

Olivier Mattelaer proposed the following answer:
Hi Charlie,

UFO model followed python convention and not Feynrules convention.
Therefore you have to replace
> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
by
> value = 'MW2/MW*cmath.sqrt((k1**2+k2**2)/2)',

(you can also use "math." instead of "cmath." in principle)

Of course this assume that MW2, MW, k1 and k2 are already define above
in the file.

Cheers,

Olivier

> On 28 Dec 2017, at 04:08, Charlie <email address hidden> wrote:
>
> New question #662301 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> Hi Mg5 Expert,
>
> I am trying to generate process but it gives me an error
>
> ERROR: Illegal character '['
> Error detected in sub-command launch
> write debug file MG5_debug
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> ModelError : Syntax error at '(' (LexToken((,'(',1,20)).
>
> here is the debug file
>
> ###########################################################################
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.1 2017-12-12 *
> #* *
> #* 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 low_mem_multicore_nlo_generation False
> 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 /home/xianhui/hep_softs/MG5_aMC_v2_6_0/models/MLRSMc_UFO
> generate w2+ > l+ vl
> launch
> Traceback (most recent call last):
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1467, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
> return func(arg, **opt)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 488, in do_launch
> return self.cmd.do_launch(self, line, *argss, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 6761, in do_launch
> self.check_launch(args, options)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 367, in check_launch
> return self.cmd.check_launch(self, *args, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 1209, in check_launch
> self.do_output('')
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 290, in do_output
> self.cmd.do_output(self, line, *args, **opts)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7570, in do_output
> self.finalize(nojpeg, flaglist=flaglist)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7858, in finalize
> wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 3495, in convert_model
> wanted_lorentz, wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 868, in convert_model
> model_builder.build(wanted_couplings)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5509, in build
> self.write_all()
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5538, in write_all
> self.create_intparam_def(dp=True,mp=False)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5911, in create_intparam_def
> self.p_to_f.parse(param.expr)))
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 62, in parse
> self.y.parse(buf)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 270, in parse
> return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 1052, in parseopt_notrack
> tok = self.errorfunc(errtoken)
> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 269, in p_error
> raise ModelError("Syntax error at '%s' (%s)." %(p.value,p))
> ModelError: Syntax error at '(' (LexToken((,'(',1,20)).
> MadGraph5_aMC@NLO Options
> ----------------
> complex_mass_scheme : False
> gauge : unitary
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_color_flows : False
> loop_optimized_output : True
> low_mem_multicore_nlo_generation : False
> max_npoint_for_channel : 0
> stdout_level : 20 (user set)
>
> MadEvent Options
> ----------------
> automatic_html_opening : True
> nb_core : None
> notification_center : True
> run_mode : 2
>
> Configuration Options
> ---------------------
> OLP : MadLoop
> amcfast : amcfast-config
> applgrid : applgrid-config
> auto_update : 7
> cluster_local_path : None
> cluster_nb_retry : 1
> cluster_queue : None (user set)
> cluster_retry_wait : 300
> cluster_size : 100
> cluster_status_update : (600, 30)
> cluster_temp_path : None
> cluster_type : condor
> collier : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
> cpp_compiler : None
> crash_on_error : False
> delphes_path : ./Delphes
> eps_viewer : None
> exrootanalysis_path : ./ExRootAnalysis
> f2py_compiler : None
> fastjet : fastjet-config
> fortran_compiler : None
> golem : None (user set)
> hepmc_path : None (user set)
> hwpp_path : None (user set)
> lhapdf : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config (user set)
> madanalysis5_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5 (user set)
> madanalysis_path : ./MadAnalysis
> mg5amc_py8_interface_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface (user set)
> ninja : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
> output_dependencies : external
> pjfry : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/PJFry/lib (user set)
> pythia-pgs_path : ./pythia-pgs
> pythia8_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/pythia8 (user set)
> samurai : None
> syscalc_path : ./SysCalc
> td_path : ./td
> text_editor : None
> thepeg_path : None (user set)
> timeout : 60
> web_browser : None
>
> ############################################################
>
> and here is the two places that I changed in feynrules model file
>
>
> MW2 = Parameter(name = 'MW2',
> nature = 'external',
> type = 'real',
> value = 2000 ,
> texname = '\\text{MW2}',
> lhablock = 'MASS',
> lhacode = [ 25 ])
>
>
>
>
>
> vR = Parameter(name = 'vR',
> nature = 'internal',
> type = 'real',
> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
> texname = '\\text{vR}')
>
> Sorry I don't know how to attach file here, thanks for your help!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/mg5amcnlo/+question/662301/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/mg5amcnlo/+question/662301

You received this question notification because you asked the question.

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

If you use the scan functionalities then you would automatically have such file.
The path to such file is indicated at the end of the scan run.

Cheers,

Olivier

PS: For example for the following script:
generate p p > t t~
output
launch
set mt scan:[100,120]

terminates with:
> write all cross-section results in /Users/omattelaer/Documents/workspace/maddm_dev2/PROC_sm_0/Events/scan_run_0[1-2].txt
> quit
> INFO:
>
> INFO:
>
> more information in /Users/omattelaer/Documents/workspace/maddm_dev2/PROC_sm_0/index.html

> On 30 Dec 2017, at 08:28, Charlie <email address hidden> wrote:
>
> Question #662301 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> Status: Answered => Open
>
> Charlie is still having a problem:
> Hi Olivier,
>
>
> Thanks for your kindly reply.
>
>
> I also want to know if I do a parameter scan , How can I put the results in one file so that I could plot it, say the cross section to the mass of the particle.
>
>
> Best!
> Charlie
>
>
>
> 发自网易邮箱大师
> On 12/28/2017 16:34,Olivier Mattelaer<email address hidden> wrote:
> Your question #662301 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi Charlie,
>
> UFO model followed python convention and not Feynrules convention.
> Therefore you have to replace
>> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
> by
>> value = 'MW2/MW*cmath.sqrt((k1**2+k2**2)/2)',
>
> (you can also use "math." instead of "cmath." in principle)
>
> Of course this assume that MW2, MW, k1 and k2 are already define above
> in the file.
>
> Cheers,
>
> Olivier
>
>> On 28 Dec 2017, at 04:08, Charlie <email address hidden> wrote:
>>
>> New question #662301 on MadGraph5_aMC@NLO:
>> https://answers.launchpad.net/mg5amcnlo/+question/662301
>>
>> Hi Mg5 Expert,
>>
>> I am trying to generate process but it gives me an error
>>
>> ERROR: Illegal character '['
>> Error detected in sub-command launch
>> write debug file MG5_debug
>> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
>> ModelError : Syntax error at '(' (LexToken((,'(',1,20)).
>>
>> here is the debug file
>>
>> ###########################################################################
>>
>> #************************************************************
>> #* MadGraph5_aMC@NLO *
>> #* *
>> #* * * *
>> #* * * * * *
>> #* * * * * 5 * * * * *
>> #* * * * * *
>> #* * * *
>> #* *
>> #* *
>> #* VERSION 2.6.1 2017-12-12 *
>> #* *
>> #* 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 low_mem_multicore_nlo_generation False
>> 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 /home/xianhui/hep_softs/MG5_aMC_v2_6_0/models/MLRSMc_UFO
>> generate w2+ > l+ vl
>> launch
>> Traceback (most recent call last):
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1467, in onecmd
>> return self.onecmd_orig(line, **opt)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
>> return func(arg, **opt)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 488, in do_launch
>> return self.cmd.do_launch(self, line, *argss, **opts)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 6761, in do_launch
>> self.check_launch(args, options)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 367, in check_launch
>> return self.cmd.check_launch(self, *args, **opts)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 1209, in check_launch
>> self.do_output('')
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 290, in do_output
>> self.cmd.do_output(self, line, *args, **opts)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7570, in do_output
>> self.finalize(nojpeg, flaglist=flaglist)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7858, in finalize
>> wanted_couplings)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 3495, in convert_model
>> wanted_lorentz, wanted_couplings)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 868, in convert_model
>> model_builder.build(wanted_couplings)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5509, in build
>> self.write_all()
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5538, in write_all
>> self.create_intparam_def(dp=True,mp=False)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5911, in create_intparam_def
>> self.p_to_f.parse(param.expr)))
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 62, in parse
>> self.y.parse(buf)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 270, in parse
>> return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 1052, in parseopt_notrack
>> tok = self.errorfunc(errtoken)
>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 269, in p_error
>> raise ModelError("Syntax error at '%s' (%s)." %(p.value,p))
>> ModelError: Syntax error at '(' (LexToken((,'(',1,20)).
>> MadGraph5_aMC@NLO Options
>> ----------------
>> complex_mass_scheme : False
>> gauge : unitary
>> group_subprocesses : Auto
>> ignore_six_quark_processes : False
>> loop_color_flows : False
>> loop_optimized_output : True
>> low_mem_multicore_nlo_generation : False
>> max_npoint_for_channel : 0
>> stdout_level : 20 (user set)
>>
>> MadEvent Options
>> ----------------
>> automatic_html_opening : True
>> nb_core : None
>> notification_center : True
>> run_mode : 2
>>
>> Configuration Options
>> ---------------------
>> OLP : MadLoop
>> amcfast : amcfast-config
>> applgrid : applgrid-config
>> auto_update : 7
>> cluster_local_path : None
>> cluster_nb_retry : 1
>> cluster_queue : None (user set)
>> cluster_retry_wait : 300
>> cluster_size : 100
>> cluster_status_update : (600, 30)
>> cluster_temp_path : None
>> cluster_type : condor
>> collier : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
>> cpp_compiler : None
>> crash_on_error : False
>> delphes_path : ./Delphes
>> eps_viewer : None
>> exrootanalysis_path : ./ExRootAnalysis
>> f2py_compiler : None
>> fastjet : fastjet-config
>> fortran_compiler : None
>> golem : None (user set)
>> hepmc_path : None (user set)
>> hwpp_path : None (user set)
>> lhapdf : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config (user set)
>> madanalysis5_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5 (user set)
>> madanalysis_path : ./MadAnalysis
>> mg5amc_py8_interface_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface (user set)
>> ninja : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
>> output_dependencies : external
>> pjfry : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/PJFry/lib (user set)
>> pythia-pgs_path : ./pythia-pgs
>> pythia8_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/pythia8 (user set)
>> samurai : None
>> syscalc_path : ./SysCalc
>> td_path : ./td
>> text_editor : None
>> thepeg_path : None (user set)
>> timeout : 60
>> web_browser : None
>>
>> ############################################################
>>
>> and here is the two places that I changed in feynrules model file
>>
>>
>> MW2 = Parameter(name = 'MW2',
>> nature = 'external',
>> type = 'real',
>> value = 2000 ,
>> texname = '\\text{MW2}',
>> lhablock = 'MASS',
>> lhacode = [ 25 ])
>>
>>
>>
>>
>>
>> vR = Parameter(name = 'vR',
>> nature = 'internal',
>> type = 'real',
>> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
>> texname = '\\text{vR}')
>>
>> Sorry I don't know how to attach file here, thanks for your help!
>>
>> --
>> You received this question notification because you are an answer
>> contact for MadGraph5_aMC@NLO.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/mg5amcnlo/+question/662301/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> You received this question notification because you asked the question.
>
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Charlie (xianhui) said :
#4

Dear Olivier

Thanks a lot, That solves my question!
Best!

Charlie

At 2017-12-30 15:57:55, "Olivier Mattelaer" <email address hidden> wrote:
>Your question #662301 on MadGraph5_aMC@NLO changed:
>https://answers.launchpad.net/mg5amcnlo/+question/662301
>
> Status: Open => Answered
>
>Olivier Mattelaer proposed the following answer:
>If you use the scan functionalities then you would automatically have such file.
>The path to such file is indicated at the end of the scan run.
>
>Cheers,
>
>Olivier
>
>PS: For example for the following script:
>generate p p > t t~
>output
>launch
>set mt scan:[100,120]
>
>terminates with:
>> write all cross-section results in /Users/omattelaer/Documents/workspace/maddm_dev2/PROC_sm_0/Events/scan_run_0[1-2].txt
>> quit
>> INFO:
>>
>> INFO:
>>
>> more information in /Users/omattelaer/Documents/workspace/maddm_dev2/PROC_sm_0/index.html
>
>
>> On 30 Dec 2017, at 08:28, Charlie <email address hidden> wrote:
>>
>> Question #662301 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/662301
>>
>> Status: Answered => Open
>>
>> Charlie is still having a problem:
>> Hi Olivier,
>>
>>
>> Thanks for your kindly reply.
>>
>>
>> I also want to know if I do a parameter scan , How can I put the results in one file so that I could plot it, say the cross section to the mass of the particle.
>>
>>
>> Best!
>> Charlie
>>
>>
>>
>> 发自网易邮箱大师
>> On 12/28/2017 16:34,Olivier Mattelaer<email address hidden> wrote:
>> Your question #662301 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/662301
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> Hi Charlie,
>>
>> UFO model followed python convention and not Feynrules convention.
>> Therefore you have to replace
>>> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
>> by
>>> value = 'MW2/MW*cmath.sqrt((k1**2+k2**2)/2)',
>>
>> (you can also use "math." instead of "cmath." in principle)
>>
>> Of course this assume that MW2, MW, k1 and k2 are already define above
>> in the file.
>>
>> Cheers,
>>
>> Olivier
>>
>>> On 28 Dec 2017, at 04:08, Charlie <email address hidden> wrote:
>>>
>>> New question #662301 on MadGraph5_aMC@NLO:
>>> https://answers.launchpad.net/mg5amcnlo/+question/662301
>>>
>>> Hi Mg5 Expert,
>>>
>>> I am trying to generate process but it gives me an error
>>>
>>> ERROR: Illegal character '['
>>> Error detected in sub-command launch
>>> write debug file MG5_debug
>>> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
>>> ModelError : Syntax error at '(' (LexToken((,'(',1,20)).
>>>
>>> here is the debug file
>>>
>>> ###########################################################################
>>>
>>> #************************************************************
>>> #* MadGraph5_aMC@NLO *
>>> #* *
>>> #* * * *
>>> #* * * * * *
>>> #* * * * * 5 * * * * *
>>> #* * * * * *
>>> #* * * *
>>> #* *
>>> #* *
>>> #* VERSION 2.6.1 2017-12-12 *
>>> #* *
>>> #* 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 low_mem_multicore_nlo_generation False
>>> 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 /home/xianhui/hep_softs/MG5_aMC_v2_6_0/models/MLRSMc_UFO
>>> generate w2+ > l+ vl
>>> launch
>>> Traceback (most recent call last):
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1467, in onecmd
>>> return self.onecmd_orig(line, **opt)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1421, in onecmd_orig
>>> return func(arg, **opt)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 488, in do_launch
>>> return self.cmd.do_launch(self, line, *argss, **opts)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 6761, in do_launch
>>> self.check_launch(args, options)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 367, in check_launch
>>> return self.cmd.check_launch(self, *args, **opts)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 1209, in check_launch
>>> self.do_output('')
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py", line 290, in do_output
>>> self.cmd.do_output(self, line, *args, **opts)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7570, in do_output
>>> self.finalize(nojpeg, flaglist=flaglist)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py", line 7858, in finalize
>>> wanted_couplings)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 3495, in convert_model
>>> wanted_lorentz, wanted_couplings)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 868, in convert_model
>>> model_builder.build(wanted_couplings)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5509, in build
>>> self.write_all()
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5538, in write_all
>>> self.create_intparam_def(dp=True,mp=False)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/export_v4.py", line 5911, in create_intparam_def
>>> self.p_to_f.parse(param.expr)))
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 62, in parse
>>> self.y.parse(buf)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 270, in parse
>>> return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/vendor/ply/yacc.py", line 1052, in parseopt_notrack
>>> tok = self.errorfunc(errtoken)
>>> File "/home/xianhui/hep_softs/MG5_aMC_v2_6_0/madgraph/iolibs/ufo_expression_parsers.py", line 269, in p_error
>>> raise ModelError("Syntax error at '%s' (%s)." %(p.value,p))
>>> ModelError: Syntax error at '(' (LexToken((,'(',1,20)).
>>> MadGraph5_aMC@NLO Options
>>> ----------------
>>> complex_mass_scheme : False
>>> gauge : unitary
>>> group_subprocesses : Auto
>>> ignore_six_quark_processes : False
>>> loop_color_flows : False
>>> loop_optimized_output : True
>>> low_mem_multicore_nlo_generation : False
>>> max_npoint_for_channel : 0
>>> stdout_level : 20 (user set)
>>>
>>> MadEvent Options
>>> ----------------
>>> automatic_html_opening : True
>>> nb_core : None
>>> notification_center : True
>>> run_mode : 2
>>>
>>> Configuration Options
>>> ---------------------
>>> OLP : MadLoop
>>> amcfast : amcfast-config
>>> applgrid : applgrid-config
>>> auto_update : 7
>>> cluster_local_path : None
>>> cluster_nb_retry : 1
>>> cluster_queue : None (user set)
>>> cluster_retry_wait : 300
>>> cluster_size : 100
>>> cluster_status_update : (600, 30)
>>> cluster_temp_path : None
>>> cluster_type : condor
>>> collier : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
>>> cpp_compiler : None
>>> crash_on_error : False
>>> delphes_path : ./Delphes
>>> eps_viewer : None
>>> exrootanalysis_path : ./ExRootAnalysis
>>> f2py_compiler : None
>>> fastjet : fastjet-config
>>> fortran_compiler : None
>>> golem : None (user set)
>>> hepmc_path : None (user set)
>>> hwpp_path : None (user set)
>>> lhapdf : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config (user set)
>>> madanalysis5_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5 (user set)
>>> madanalysis_path : ./MadAnalysis
>>> mg5amc_py8_interface_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface (user set)
>>> ninja : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/lib (user set)
>>> output_dependencies : external
>>> pjfry : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/PJFry/lib (user set)
>>> pythia-pgs_path : ./pythia-pgs
>>> pythia8_path : /home/xianhui/hep_softs/MG5_aMC_v2_6_0/HEPTools/pythia8 (user set)
>>> samurai : None
>>> syscalc_path : ./SysCalc
>>> td_path : ./td
>>> text_editor : None
>>> thepeg_path : None (user set)
>>> timeout : 60
>>> web_browser : None
>>>
>>> ############################################################
>>>
>>> and here is the two places that I changed in feynrules model file
>>>
>>>
>>> MW2 = Parameter(name = 'MW2',
>>> nature = 'external',
>>> type = 'real',
>>> value = 2000 ,
>>> texname = '\\text{MW2}',
>>> lhablock = 'MASS',
>>> lhacode = [ 25 ])
>>>
>>>
>>>
>>>
>>>
>>> vR = Parameter(name = 'vR',
>>> nature = 'internal',
>>> type = 'real',
>>> value = 'MW2/MW*Sqrt[(k1**2+k2**2)/2]',
>>> texname = '\\text{vR}')
>>>
>>> Sorry I don't know how to attach file here, thanks for your help!
>>>
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadGraph5_aMC@NLO.
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/mg5amcnlo/+question/662301/+confirm?answer_id=0
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/mg5amcnlo/+question/662301
>>
>> You received this question notification because you asked the question.
>>
>> You received this question notification because you are an answer
>> contact for MadGraph5_aMC@NLO.
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/mg5amcnlo/+question/662301/+confirm?answer_id=2
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/mg5amcnlo/+question/662301
>
>You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.