Particle names

#
# SM particle names
# ------------------
#  o LEPTONS
#     - "e-"       , e1, electron   , me
#     - "e+"       , E1, positron   , me
#     - "mu-"      , e2, muon       , mmu
#     - "mu+"      , E2             , mmu
#     - "tau-"     , e3, tauon      , mtau
#     - "tau+"     , E3             , mtau
#
#  o NEUTRINOS
#     - "nue"      , n1
#     - "nuebar"   , N1
#     - "numu"     , n2
#     - "numubar"  , N2
#     - "nutau"    , n3
#     - "nutaubar" , N3
#
#  o QUARKS
#     - "u"        , up
#     - "ubar"     , U
#     - "d"        , down
#     - "dbar"     , D
#     - "s"        , strange        , ms
#     - "sbar"     , S              , ms
#     - "c"        , charm          , mc
#     - "cbar"     , C              , mc
#     - "b"        , bottom         , mb
#     - "bbar"     , B              , mb
#     - "t"        , top            , mtop
#     - "tbar"     , T              , mtop
#
# Note that u,d quark masses are zero
#
#  o BOSONS
#     - "g"        , g, G, gluon
#     - "A"        , gamma, photon
#     - "Z"                         , mZ
#     - "W+"       , Wp             , mW
#     - "W-"       , Wm             , mW
#     - "H"        , h, Higgs       , mH

Variables

  • The language supports the classic numeric types (int, real and complex) and standard types (logical, string)
    • int (integer)
    • real (double precision)
    • complex (consisting of real and imaginary part equivalent to a real each)
    • logical (i.e, boolean)
    • string (arbitrary length. They should start with a dollar sign)

  • Variables can have global or local scope. The user is free to introduce his own variables, taking into account that :
    • the first character must not be a digit
    • variables are case insensitive
    • logical variables start with a ? (question mark)
    • string variables start with a $ (dollar sign)

   int i = 3
   real my_cut_value = 10 GeV
   complex c = 3 - 4 * I
   logical ?top_decay_allowed = mH > 2 * mtop
   string $hello = "Hello world!"
   alias q = d:u:s:c
   

-- SergioGonzalez - 04-Oct-2011

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2016-08-29 - SergioGonzalez
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback