pyslha.py

changeset 160
8acc44158b3f
parent 158
5cb1da0bddac
child 161
9306d1ad087f
     1.1 --- a/pyslha.py	Wed Oct 12 11:15:48 2011 +0200
     1.2 +++ b/pyslha.py	Thu Oct 13 01:11:47 2011 +0200
     1.3 @@ -885,19 +885,24 @@
     1.4      out += (fmte + " " + fmte + " " + fmte + " " + fmte + "\n") % (vmix[1][1], vmix[1][2], vmix[2][1], vmix[2][2])
     1.5      umix = blocks["UMIX"].entries
     1.6      out += (fmte + " " + fmte + " " + fmte + " " + fmte + "\n") % (umix[1][1], umix[1][2], umix[2][1], umix[2][2])
     1.7 -    # THETAT,THETAB,THETAL
     1.8 +    ## THETAT,THETAB,THETAL
     1.9      import math
    1.10      out += (fmte + " " + fmte + " " + fmte + " " + "\n") % (math.acos(blocks["STOPMIX"].entries[1][1]),
    1.11                                                              math.acos(blocks["SBOTMIX"].entries[1][1]),
    1.12                                                              math.acos(blocks["STAUMIX"].entries[1][1]))
    1.13 -    # ATSS,ABSS,ALSS
    1.14 +    ## ATSS,ABSS,ALSS
    1.15      out += (fmte + " " + fmte + " " + fmte + " " + "\n") % (blocks["AU"].entries[3][3],
    1.16                                                              blocks["AD"].entries[3][3],
    1.17                                                              blocks["AE"].entries[3][3])
    1.18 -    # MUSS == sign(mu)
    1.19 +    ## MUSS == sign(mu)
    1.20      out += "%f\n" % blocks["MINPAR"].entries[4]
    1.21  
    1.22 -    ## TODO: Handle RPV SUSY
    1.23 +    ## RPV SUSY
    1.24 +    isRPV = False
    1.25 +    out += "%d\n" % isRPV
    1.26 +    # TODO: Write RPV couplings if RPV is True (lambda1,2,3; 27 params in each, sci format.
    1.27 +    # TODO: Get the index orderings right
    1.28 +    # if isRPV: ...
    1.29  
    1.30      return out
    1.31  

mercurial