testorder

changeset 191
96c2b50d42b5
child 192
453a523cba25
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testorder	Fri Apr 26 01:25:11 2013 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +#! /usr/bin/env python
     1.5 +
     1.6 +import pyslha
     1.7 +
     1.8 +blocks, decays = pyslha.readSLHA("""\
     1.9 +BLOCK DCINFO  # Decay Program information
    1.10 +     1   SDECAY      # decay calculator
    1.11 +     2   1.1a        # version number
    1.12 +#
    1.13 +BLOCK SPINFO  # Spectrum calculator information
    1.14 +     1   SOFTSUSY    # spectrum calculator
    1.15 +     2   2.0.5         # version number
    1.16 +#
    1.17 +BLOCK MODSEL  # Model selection
    1.18 +     1     1   sugra
    1.19 +
    1.20 +BLOCK NMIX  # Neutralino Mixing Matrix
    1.21 +  1  1     9.86364430E-01   # N_11
    1.22 +  1  2    -5.31103553E-02   # N_12
    1.23 +  1  4    -5.31186117E-02   # N_14
    1.24 +  1  3     1.46433995E-01   # N_13
    1.25 +  2  1     9.93505358E-02   # N_21
    1.26 +  2  2     9.44949299E-01   # N_22
    1.27 +  2  3    -2.69846720E-01   # N_23
    1.28 +  2  4     1.56150698E-01   # N_24
    1.29 +
    1.30 +BLOCK MASS  # Mass Spectrum
    1.31 +# PDG code           mass       particle
    1.32 +         5     4.88991651E+00   # b-quark pole mass calculated from mb(mb)_Msbar
    1.33 +         6     1.75000000E+02   # mt pole mass (not read by ME)
    1.34 +        24     7.98290131E+01   # W+
    1.35 +        25     1.10899057E+02   # h
    1.36 +        35     3.99960116E+02   # H
    1.37 +        36     3.99583917E+02   # A
    1.38 +        37     4.07879012E+02   # H+
    1.39 +   1000001     5.68441109E+02   # ~d_L
    1.40 +""")
    1.41 +
    1.42 +print pyslha.writeSLHA(blocks, decays)

mercurial