Non-standard options in pythia8_card.dat

Asked by Mark Goodsell

For a model I am using I need to pass a command of the form

1000024:all ~chi_1- ~chi_1+ 2 -3 0 100.0 0.00000 100.0 100.0 0.00000e+00

to pythia because my charginos are defined in the UFO with an opposite charge to the one that pythia expects.

If I put this in pythia8_card_default.dat (or pythia8_card.dat) then MG tells me that it cannot be read, because in banner.py the read and write functions only recognise inputs of the form

'somestring = somevalue'

For now I have hacked my local version by telling it to treat these lines as a comment:

if line.strip().startswith('!') or line.strip()[0].isdigit() or \

in the read and write functions of banner.py and this seems to work fine.

My question is: could this be fixed?/is there a reason you don't allow these commands?/is there a better way to avoid this problem?

Best,
MDG

Question information

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

This sounds fine to me.
My only potential worries is in presence of subruns but Valentin should be able to comment on that.

Cheers,

Olivier

> On 13 Mar 2020, at 13:07, Mark Goodsell <email address hidden> wrote:
>
> New question #689297 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/689297
>
> For a model I am using I need to pass a command of the form
>
> 1000024:all ~chi_1- ~chi_1+ 2 -3 0 100.0 0.00000 100.0 100.0 0.00000e+00
>
> to pythia because my charginos are defined in the UFO with an opposite charge to the one that pythia expects.
>
> If I put this in pythia8_card_default.dat (or pythia8_card.dat) then MG tells me that it cannot be read, because in banner.py the read and write functions only recognise inputs of the form
>
> 'somestring = somevalue'
>
> For now I have hacked my local version by telling it to treat these lines as a comment:
>
> if line.strip().startswith('!') or line.strip()[0].isdigit() or \
>
> in the read and write functions of banner.py and this seems to work fine.
>
> My question is: could this be fixed?/is there a reason you don't allow these commands?/is there a better way to avoid this problem?
>
> Best,
> MDG
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Mark Goodsell for more information if necessary.

To post a message you must log in.