Selecting random diagrams

Asked by Aurelijus Rinkevicius

From time to time I run into a study where I want to specifically select diagrams one by one. Is this possible in MadGraph_aMC@NLO using a UI or a config?

Some other diagram generators, like CalcHEP, offer this feature. On the other hand, MadGraph_aMC@NLO is usually superior in other respects, so I prefer it.

As of now, I was commenting out (setting to 0) amplitudes/diagrams [AMP2(N)] by hand in matrix1.f to do the job. However, I am interested in a simplification if it exists. Let me know, thanks.

Cheers,
Aurelijus

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Dear Aurelijus,

No we do not have any nice graphical way to do it.
In the past, I have create a patch which adds a function where you can remove some diagram.
But this function was never put public because
1) it was never fully tested
2) I do not like the way the function works (it is very easy to mess up with it since you do not have a GUI and this is therefore very tedious) and you need to be careful with optimization performs since some might
be incompatible with your diagram selection.
3) It is very dangerous to use it (for lorentz/gauge point of view).

I still have the patch of that function. But I have no idea if it works or not with the latest version.
If you are interested I can send you that patch file but this is without any guarantee and without any support (please send me your email address for that).
On the other hand if you find bug, please let me know such that I will never send that file anymore.
If you succeed to fix the problem, let me know such that I can keep a working version if someone else wants it.

Cheers,

Olivier

On 12 May 2015, at 16:26, Aurelijus Rinkevicius <email address hidden> wrote:

> New question #266822 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/266822
>
>> From time to time I run into a study where I want to specifically select diagrams one by one. Is this possible in MadGraph_aMC@NLO using a UI or a config?
>
> Some other diagram generators, like CalcHEP, offer this feature. On the other hand, MadGraph_aMC@NLO is usually superior in other respects, so I prefer it.
>
> As of now, I was commenting out (setting to 0) amplitudes/diagrams [AMP2(N)] by hand in matrix1.f to do the job. However, I am interested in a simplification if it exists. Let me know, thanks.
>
>
> Cheers,
> Aurelijus
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Aurelijus Rinkevicius (odysei) said :
#2

Dear Olivier,

Thanks for explaining the situation: good to know.

I will email you my address as I will give it a shot at some point.

Best,
Aurelijus

Revision history for this message
Aurelijus Rinkevicius (odysei) said :
#3

Thanks Olivier Mattelaer, that solved my question.