proc_card import model options

Asked by Daniele Barducci

Hi,
I'm defining a new model in the new version of madgraph with ufo format.
Everything looks well define but I am encountering the following problem.

I have defined the up quark for example to be u1 and u~ to be U1.
In the file particles.py all the particles are correctely defined (see end message), but when i try to create a process I obtain

Command ".../proc_card_mg5.dat" interrupted in sub-command:
"generate u1 U1 > u1 U1 @1" with error:
InvalidCmd : No particle u1 in model

I remember there was an options to set in the proc card like

import model my model --name

in order to allow different particles name, but I can't remember it... is it this true?

Thanks in advance

Regards

Daniele

u1 = Particle( pdg_code = 2,
              name = 'u1',
              antiname = 'U1',
              spin = 2,
              color = 3,
              mass = 'Mu',
              width = 'ZERO',
              texname = 'u1',
              antitexname = 'U1',
              charge = 0,
              LeptonNumber = 0,
              GhostNumber = 0)

U1 = u1.anti()

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,

The option is --modelname
Otherwise all the sm/mssms particles name are switched to some default value.

Cheers,

Olivier

On Jun 13, 2013, at 6:26 AM, Daniele Barducci <email address hidden> wrote:

> New question #230693 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/230693
>
> Hi,
> I'm defining a new model in the new version of madgraph with ufo format.
> Everything looks well define but I am encountering the following problem.
>
> I have defined the up quark for example to be u1 and u~ to be U1.
> In the file particles.py all the particles are correctely defined (see end message), but when i try to create a process I obtain
>
> Command ".../proc_card_mg5.dat" interrupted in sub-command:
> "generate u1 U1 > u1 U1 @1" with error:
> InvalidCmd : No particle u1 in model
>
> I remember there was an options to set in the proc card like
>
> import model my model --name
>
> in order to allow different particles name, but I can't remember it... is it this true?
>
>
>
> Thanks in advance
>
> Regards
>
> Daniele
>
>
> u1 = Particle( pdg_code = 2,
> name = 'u1',
> antiname = 'U1',
> spin = 2,
> color = 3,
> mass = 'Mu',
> width = 'ZERO',
> texname = 'u1',
> antitexname = 'U1',
> charge = 0,
> LeptonNumber = 0,
> GhostNumber = 0)
>
> U1 = u1.anti()
>
>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Daniele Barducci (db3e11) said :
#2

thanks for the quick answer.

I was wondering if the following error is a problem of my model or if it is something missing...

my proc card is

set group_subprocesses Auto
set ignore_six_quark_processes False
set gauge unitary
set complex_mass_scheme False
import model mymodel --modelname
# Specify process(es) to run
generate u1 U1 > u1 U1 @1
# Output processes to MadEvent directory
output -f

but i get in output

impossible to set default multiparticles p because No particle g in model
impossible to set default multiparticles j because No particle g in model
impossible to set default multiparticles l+ because No particle e+ in model
impossible to set default multiparticles l- because No particle e- in model
impossible to set default multiparticles vl because No particle ve in model
impossible to set default multiparticles vl~ because No particle ve~ in model
Command "import /home/dani/Lavoro/tools/MadGraph5_v1_5_9/lenhep_ufo_4DCHM/Cards/proc_card_mg5.dat" interrupted in sub-command:
"output -f" with error:
AttributeError : 'UFOExpressionParserFortran' object has no attribute 'f'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

even if I haven't define any p,j etc etc, and then the proc_card has been re writed like

set group_subprocesses Auto
set ignore_six_quark_processes False
set gauge unitary
set complex_mass_scheme False
import model lanhep_ufo_4DCHM_test --modelname
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~
# Specify process(es) to run
generate u1 U1 > u1 U1 @1
# Output processes to MadEvent directory
output -f

So I was just wondering if this is a problem with my model implementation or there are some other options to set

Thanks

D.

Revision history for this message
Daniele Barducci (db3e11) said :
#3

I have also to add that some diagrams are generated, but obviously there are problems with event generation...

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

Hi Daniele,

The error indicates that some of the python expression are not correctly formatted since the python parser fails
on some model's expression.
If you send me the model by email, I might be able to look at this more in details and tell you what the model error is.

Cheers,

Olivier

On Jun 13, 2013, at 6:51 AM, Daniele Barducci <email address hidden> wrote:

> Question #230693 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/230693
>
> Daniele Barducci posted a new comment:
> thanks for the quick answer.
>
> I was wondering if the following error is a problem of my model or if it
> is something missing...
>
> my proc card is
>
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set gauge unitary
> set complex_mass_scheme False
> import model mymodel --modelname
> # Specify process(es) to run
> generate u1 U1 > u1 U1 @1
> # Output processes to MadEvent directory
> output -f
>
> but i get in output
>
> impossible to set default multiparticles p because No particle g in model
> impossible to set default multiparticles j because No particle g in model
> impossible to set default multiparticles l+ because No particle e+ in model
> impossible to set default multiparticles l- because No particle e- in model
> impossible to set default multiparticles vl because No particle ve in model
> impossible to set default multiparticles vl~ because No particle ve~ in model
> Command "import /home/dani/Lavoro/tools/MadGraph5_v1_5_9/lenhep_ufo_4DCHM/Cards/proc_card_mg5.dat" interrupted in sub-command:
> "output -f" with error:
> AttributeError : 'UFOExpressionParserFortran' object has no attribute 'f'
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> even if I haven't define any p,j etc etc, and then the proc_card has
> been re writed like
>
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set gauge unitary
> set complex_mass_scheme False
> import model lanhep_ufo_4DCHM_test --modelname
> 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~
> # Specify process(es) to run
> generate u1 U1 > u1 U1 @1
> # Output processes to MadEvent directory
> output -f
>
>
> So I was just wondering if this is a problem with my model implementation or there are some other options to set
>
> Thanks
>
> D.
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Daniele Barducci (db3e11) said :
#5

Thanks a lot. I have send the .py files to your e mail

Cheers

D

Can you help with this problem?

Provide an answer of your own, or ask Daniele Barducci for more information if necessary.

To post a message you must log in.