KeyError ZERO when generating events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello dear experts!
I am having a problem generating events in MadGraph.
In the LanHEP package, I created a new model. In this model, a doubly charged particle X decays into two positrons and a gamma.
This is what I have in LanHEP:
model DMsimplescalar/1.
scalar x/X : ('X', mass MX1=1000, pdg 9000008).
spinor 'e-'/'e+' : ('Electron', pdg 11 ).
vector A/A : ('Photon',gauge).
parameter a1=1,b1=1,EE = 0.31333 : 'Electromagnetic coupling constant (<->1/128)'.
lterm X*anti(
lterm -EE*A*x*deriv*X+ AddHermConj.
lterm -EE*'e-
Next, I got the file in UFO format.
In MadGraph, I import my model and generated events.
MG5_aMC>import model
MG5_aMC> generate x > e+ e+ a
MG5_aMC> output
MG5_aMC> launch
Further after the launch command, I get the following message
Command "generate_events run_01" interrupted with error:
KeyError : 'ZERO'
More information is found in 'ME5_debug'.
Ca i send you the ME5_debug file?
What could be the mistake here?
Hi,
So the issue is that some width are set to the parameter "ZERO"
but such parameter is not defined.
you/they need to add the following in the parameters.py file
# This is a default parameter object representing 0.
nature = 'internal',
type = 'real',
value = '0.0',
texname = '0')
ZERO = Parameter(name = 'ZERO',
Cheers,
Olivier
> On 13 Oct 2019, at 10:42, Ekaterina <email address hidden> wrote: /eur03. safelinks. protection. outlook. com/?url= https%3A% 2F%2Fbugs. launchpad. net%2Fmg5amcnlo %2F%2Bbug% 2F1847897% 2F%2Battachment %2F5296791% 2F%2Bfiles% 2FME5_debug& amp;data= 02%7C01% 7C%7C237c7d7a25 9a43573b3908d74 fba6ac2% 7C7ab090d4fa2e4 ecfbc7c4127b4d5 82ec%7C0% 7C0%7C637065534 984113590& amp;sdata= etJ%2BT7IBBXT6C On97HXXeTg6UjaO n3O5bootnFtzRsI %3D& reserved= 0 /eur03. safelinks. protection. outlook. com/?url= https%3A% 2F%2Fbugs. launchpad. net%2Fbugs% 2F1847897& amp;data= 02%7C01% 7C%7C237c7d7a25 9a43573b3908d74 fba6ac2% 7C7ab090d4fa2e4 ecfbc7c4127b4d5 82ec%7C0% 7C0%7C637065534 984113590& amp;sdata= MqpSIZc4OXCgJ8K UZ5%2FJ% 2BiHwlXgTnNavOD makyA0eUM% 3D& reserved= 0 cc('e-' ))*(a1+ b1*gamma5) *'e+' + AddHermConj. '*gamma* 'e+'*A. /eur03. safelinks. protection. outlook. com/?url= https%3A% 2F%2Fbugs. launchpad. net%2Fmg5amcnlo %2F%2Bbug% 2F1847897% 2F%2Bsubscripti ons& data=02% 7C01%7C% 7C237c7d7a259a4 3573b3908d74fba 6ac2%7C7ab090d4 fa2e4ecfbc7c412 7b4d582ec% 7C0%7C0% 7C6370655349841 13590& sdata=ExWYxdQEC zhpbZlqZSeNBhri HLLp2BvXsWj21IK cKfY%3D& amp;reserved= 0
>
> ** Attachment added: "ME5_debug"
> https:/
>
> ** Summary changed:
>
> - KeyError ZERO when geb=nerating events
> + KeyError ZERO when generating events
>
> --
> You received this bug notification because you are subscribed to
> MadGraph5_aMC@NLO.
> https:/
>
> Title:
> KeyError ZERO when generating events
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hello dear experts!
>
> I am having a problem generating events in MadGraph.
> In the LanHEP package, I created a new model. In this model, a doubly charged particle X decays into two positrons and a gamma.
>
> This is what I have in LanHEP:
>
> model DMsimplescalar/1.
> scalar x/X : ('X', mass MX1=1000, pdg 9000008).
> spinor 'e-'/'e+' : ('Electron', pdg 11 ).
> vector A/A : ('Photon',gauge).
> parameter a1=1,b1=1,EE = 0.31333 : 'Electromagnetic coupling constant (<->1/128)'.
>
> lterm X*anti(
> lterm -EE*A*x*deriv*X+ AddHermConj.
> lterm -EE*'e-
>
> Next, I got the file in UFO format.
> In MadGraph, I import my model and generated events.
>
> MG5_aMC>import model
> MG5_aMC> generate x > e+ e+ a
> MG5_aMC> output
> MG5_aMC> launch
>
> Further after the launch command, I get the following message
>
> Command "generate_events run_01" interrupted with error:
> KeyError : 'ZERO'
> More information is found in 'ME5_debug'.
>
> Ca i send you the ME5_debug file?
> What could be the mistake here?
>
> To manage notifications about this bug go to:
> https:/