MadSpin and e_ijk color coupling

Asked by Simon Berlendis

 Hi all,

 I'm trying to run MadSpin on a RPV signal. However, it seems that MadSpin can't handle a e_ijf color coupling:
  Exception : color combination not treated by MadSpin (yet). (-3,-3,3)

  Am I wrong ?
 If not, do you know if this feature will be updated on MadSpin soon as it is in MadGraph and Pythia ?

 Cheers, Simon.

Question information

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

Dear Simon,

I have discussed with Pierre and we can propose a patch to add the support of the epsilon_ijk.
This is however not tested/validated so please use it care. If it works do not hesitate to inform us and we will then include this patch in the next version.

Cheers,

Olivier

PS The patch:

=== modified file 'MadSpin/decay.py'
--- MadSpin/decay.py 2016-01-14 13:28:22 +0000
+++ MadSpin/decay.py 2016-01-26 09:56:14 +0000
@@ -3687,6 +3687,45 @@
                             d1colup1=maxcol
                             d2colup2=maxcol
                             d2colup1=0
+ elif colord1==-3 and colord2==-3 and colormother == 3:
+ maxcol+=2
+ d1colup1=0
+ d1colup2=maxcol
+ d2colup1=0
+ d2colup2=maxcol-1
+ elif (colord1==-3 and colord2==3 and colormother == 3) or\
+ (colord1==-3 and colord2==3 and colormother == -3):
+ maxcol+=2
+ d1colup1 = 0
+ d1colup2 = maxcol
+ d2colup1 = maxcol-1
+ d2colup2 = 0
+ elif (colord1==3 and colord2==-3 and colormother == 3) or\
+ (colord1==3 and colord2==-3 and colormother == -3):
+ maxcol+=2
+ d1colup1=maxcol
+ d1colup2=0
+ d2colup1=0
+ d2colup2=maxcol-1
+ elif colord1==3 and colord2==3 and colormother == -3:
+ maxcol+=2
+ d1colup1=maxcol
+ d1colup2=0
+ d2colup1=maxcol-1
+ d2colup2=0
+ elif colord2==8 and colord1==8 and colormother ==8:
+ maxcol+=1
+ ran = random.random()
+ if ran> 0.5:
+ d1colup2=colup2
+ d1colup1=maxcol
+ d2colup2=maxcol
+ d2colup1=colup1
+ else:
+ d1colup2=maxcol
+ d1colup1=colup1
+ d2colup2=colup2
+ d2colup1=maxcol
                         else:
                             raise Exception, 'color combination not treated by MadSpin (yet). (%s,%s,%s)' \
                                 % (colord1,colord2,colormother)

Revision history for this message
Simon Berlendis (simon-berlendis) said :
#2

 Hi,

 Thx for the patch and the fast answer.
 I will try this patch and will give you a feedback.

 Cheers, Simon.

Can you help with this problem?

Provide an answer of your own, or ask Simon Berlendis for more information if necessary.

To post a message you must log in.