bug when reading in antiparticles from UFO files

Asked by Tania Robens

Hi

as suggested in the manual, I import additional new physics particles via using

import _path_to_UFO_file

however, in the said ufo file the antiparticles are defined via

L.=l.anti()

etc (in particles.py)

ie as such a priori they then are not read in in madanalysis...

(e.g. if I then do

display L

i get

** ERROR: no object called 'L' found.)

of course this can easily be rectified by hand in the .py file, but i wanted to let you know....

Once you have a fast solution let me know !!

Best Tania

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Tania Robens
Solved:
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Tania,

Both particles and antiparticles should be read by our UFO reader. I however cannot reproduce the issue with any of the UFO models I have. Could you please share your UFO so that I could have a closer look?

Cheers,

Benjamin

On 24 Jun 2016, at 17:47 , Tania Robens <email address hidden> wrote:

> New question #295634 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/295634
>
> Hi
>
> as suggested in the manual, I import additional new physics particles via using
>
> import _path_to_UFO_file
>
> however, in the said ufo file the antiparticles are defined via
>
> L.=l.anti()
>
> etc (in particles.py)
>
> ie as such a priori they then are not read in in madanalysis...
>
> (e.g. if I then do
>
> display L
>
> i get
>
> ** ERROR: no object called 'L' found.)
>
> of course this can easily be rectified by hand in the .py file, but i wanted to let you know....
>
> Once you have a fast solution let me know !!
>
> Best Tania
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Tania Robens (tania-robens) said :
#2

hi

it was a matter of big vs small letters in the file, which are read as same by madanalysis; is if you have sth like

e = Particle(pdg_code = 11,
             name = 'e',
             antiname = 'E',
             spin = 2,
             color = 1,
             mass = Param.ZERO,
             width = Param.ZERO,
             texname = 'e',
             antitexname = 'E',
             charge = -1,
             GhostNumber = 0)

there is a problem, which can be solved by putting E -> e~ e.g. ......

cheers tania