当前位置: 首页>>代码示例>>Python>>正文


Python object_library.Particle类代码示例

本文整理汇总了Python中object_library.Particle的典型用法代码示例。如果您正苦于以下问题:Python Particle类的具体用法?Python Particle怎么用?Python Particle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Particle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: Particle

             mass = Param.MZ,
             width = Param.WZ,
             texname = 'Z',
             antitexname = 'Z',
             charge = 0,
             GhostNumber = 0,
             LeptonNumber = 0,
             Y = 0)

W__plus__ = Particle(pdg_code = 24,
                     name = 'W+',
                     antiname = 'W-',
                     spin = 3,
                     color = 1,
                     mass = Param.MW,
                     width = Param.WW,
                     texname = 'W+',
                     antitexname = 'W-',
                     charge = 1,
                     GhostNumber = 0,
                     LeptonNumber = 0,
                     Y = 0)

W__minus__ = W__plus__.anti()

g = Particle(pdg_code = 21,
             name = 'g',
             antiname = 'g',
             spin = 3,
             color = 8,
             mass = Param.ZERO,
开发者ID:abrennan87,项目名称:SiMs_project,代码行数:31,代码来源:particles.py

示例2: Particle

from __future__ import division
from object_library import all_particles, Particle
import parameters as Param
import CT_parameters as CTParam

# ======================================================================
# QCD particles
# ======================================================================

d = Particle(pdg_code = 1,
             name = 'd',
             antiname = 'd~',
             spin = 2,
             color = 3,
             mass = Param.ZERO,
             width = Param.ZERO,
             texname = 'd',
             antitexname = 'd',
             charge = -1/3,
             LeptonNumber = 0,
             GhostNumber = 0)

d__tilde__ = d.anti()

u = Particle(pdg_code = 2,
             name = 'u',
             antiname = 'u~',
             spin = 2,
             color = 3,
             mass = Param.ZERO,
             width = Param.ZERO,
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:31,代码来源:particles.py

示例3: x86

# This file was automatically created by FeynRules $Revision: 302 $
# Mathematica version: 7.0 for Mac OS X x86 (64-bit) (November 11, 2008)
# Date: Tue 31 Aug 2010 16:54:46


from __future__ import division
from object_library import all_particles, Particle

ve = Particle(pdg_code = 12,
              name = 've',
              antiname = 've~',
              spin = 2,
              color = 1,
              mass = 'ZERO',
              width = 'ZERO',
              texname = 've',
              antitexname = 've',
              line = 'straight',
              charge = 0,
              LeptonNumber = 1,
              GhostNumber = 0)

ve__tilde__ = ve.anti()

vm = Particle(pdg_code = 14,
              name = 'vm',
              antiname = 'vm~',
              spin = 2,
              color = 1,
              mass = 'ZERO',
              width = 'ZERO',
开发者ID:useakat,项目名称:cfqcd,代码行数:31,代码来源:particles.py

示例4: x86

# Mathematica version: 9.0 for Mac OS X x86 (64-bit) (January 28, 2013)
# Date: Sat 4 Jan 2014 00:16:06


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

import propagators as Prop

ve = Particle(pdg_code = 12,
              name = 've',
              antiname = 've~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
              texname = 've',
              antitexname = 've~',
              charge = 0,
              GhostNumber = 0,
              LeptonNumber = 1)

ve__tilde__ = ve.anti()

vm = Particle(pdg_code = 14,
              name = 'vm',
              antiname = 'vm~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
开发者ID:jbhyun,项目名称:MC_Configs,代码行数:32,代码来源:particles.py

示例5: x86

# This file was automatically created by FeynRules $Revision: 535 $
# Mathematica version: 8.0 for Mac OS X x86 (64-bit) (November 6, 2010)
# Date: Wed 23 Mar 2011 22:58:09


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

ve = Particle(pdg_code = 12,
              name = 've',
              antiname = 've~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
              texname = 've',
              antitexname = 've',
              charge = 0,
              LeptonNumber = 1,
              GhostNumber = 0)

ve__tilde__ = ve.anti()

vm = Particle(pdg_code = 14,
              name = 'vm',
              antiname = 'vm~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
开发者ID:cesarotti,项目名称:MMAPS,代码行数:31,代码来源:particles.py

示例6: Particle

# ----------------------------------------------------------------------  
# File created at 15:20 on 30.8.2016   
# ----------------------------------------------------------------------  
 
 
from __future__ import division 
from object_library import all_particles,Particle 
import parameters as Param 


nu1 = Particle(pdg_code =12, 
	 name = 'nu1' ,
	 antiname = 'nu1bar' ,
	 spin = 2 ,
	 color = 1 ,
	 mass = Param.ZERO ,
	 width = Param.ZERO ,
	 GhostNumber = 0, 
	 line = 'straight' ,
	 charge = 0 ,
	 texname = 'nu1' ,
	 antitexname = 'nu1bar' ) 
 
nu1bar = nu1.anti() 
 
 
nu2 = Particle(pdg_code =14, 
	 name = 'nu2' ,
	 antiname = 'nu2bar' ,
	 spin = 2 ,
	 color = 1 ,
	 mass = Param.ZERO ,
开发者ID:restrepo,项目名称:SimplifiedDM-SDFDM-Toolbox,代码行数:32,代码来源:particles.py

示例7: Particle

             spin = 3,
             color = 1,
             mass = Param.MZ,
             width = Param.WZ,
             texname = 'Z',
             antitexname = 'Z',
             charge = 0,
             GhostNumber = 0,
             LeptonNumber = 0)

W__plus__ = Particle(pdg_code = 24,
                     name = 'W+',
                     antiname = 'W-',
                     spin = 3,
                     color = 1,
                     mass = Param.MW,
                     width = Param.WW,
                     texname = 'W+',
                     antitexname = 'W+',
                     charge = 1,
                     GhostNumber = 0,
                     LeptonNumber = 0)

W__minus__ = W__plus__.anti()

G = Particle(pdg_code = 21,
             name = 'G',
             antiname = 'G',
             spin = 3,
             color = 8,
             mass = Param.ZERO,
             width = Param.ZERO,
开发者ID:pahlen,项目名称:SimplifiedDM-IDM-Toolbox,代码行数:32,代码来源:particles.py

示例8: Particle

             spin = 3,
             color = 1,
             mass = Param.MZ,
             width = Param.WZ,
             texname = 'Z',
             antitexname = 'Z',
             charge = 0,
             GhostNumber = 0,
             Y = 0)

W__plus__ = Particle(pdg_code = 24,
                     name = 'W+',
                     antiname = 'W-',
                     spin = 3,
                     color = 1,
                     mass = Param.MW,
                     width = Param.WW,
                     texname = 'W+',
                     antitexname = 'W-',
                     charge = 1,
                     GhostNumber = 0,
                     Y = 0)

W__minus__ = W__plus__.anti()

g = Particle(pdg_code = 21,
             name = 'g',
             antiname = 'g',
             spin = 3,
             color = 8,
             mass = Param.ZERO,
             width = Param.ZERO,
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:32,代码来源:particles.py

示例9: x86

# This file was automatically created by FeynRules 1.7.51
# Mathematica version: 8.0 for Linux x86 (64-bit) (February 23, 2011)
# Date: Thu 2 Aug 2012 10:15:23


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

FA = Particle(pdg_code = 9000001,
              name = 'FA',
              antiname = 'FA~',
              spin = 2,
              color = 1,
              mass = Param.MA,
              width = Param.ZERO,
              texname = 'FA',
              antitexname = 'FA~',
              charge = 0)

FA__tilde__ = FA.anti()

FB = Particle(pdg_code = 9000002,
              name = 'FB',
              antiname = 'FB~',
              spin = 2,
              color = 1,
              mass = Param.MB,
              width = Param.ZERO,
              texname = 'FB',
              antitexname = 'FB~',
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:31,代码来源:particles.py

示例10: x86

# Mathematica version: 7.0 for Mac OS X x86 (64-bit) (November 11, 2008)
# Date: Fri 18 Mar 2011 18:40:51


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param
import CT_parameters as CTParam

d = Particle(
    pdg_code=1,
    name="d",
    antiname="d~",
    spin=2,
    color=3,
    mass=Param.ZERO,
    width=Param.ZERO,
    texname="d",
    antitexname="d",
    charge=-1 / 3,
    LeptonNumber=0,
    GhostNumber=0,
)

d__tilde__ = d.anti()

u = Particle(
    pdg_code=2,
    name="u",
    antiname="u~",
    spin=2,
    color=3,
开发者ID:cesarotti,项目名称:MMAPS,代码行数:32,代码来源:particles.py

示例11: Particle

# Date: Thu 8 May 2014 12:30:33


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

import propagators as Prop

ve = Particle(
    pdg_code=12,
    name="ve",
    antiname="ve~",
    spin=2,
    color=1,
    mass=Param.ZERO,
    width=Param.ZERO,
    texname="ve",
    antitexname="ve~",
    charge=0,
    LeptonNumber=1,
)

ve__tilde__ = ve.anti()

vm = Particle(
    pdg_code=14,
    name="vm",
    antiname="vm~",
    spin=2,
    color=1,
开发者ID:cesarotti,项目名称:MMAPS,代码行数:31,代码来源:particles.py

示例12: Windows

# This file was automatically created by FeynRules $Revision: 634 $
# Mathematica version: 7.0 for Microsoft Windows (32-bit) (April 23, 2009)
# Date: Fri 20 May 2011 23:27:21


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

ve = Particle(pdg_code = 12,
              name = 've',
              antiname = 've~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
              texname = 've',
              antitexname = 've',
              charge = 0,
              LeptonNumber = 1,
              GhostNumber = 0)

ve__tilde__ = ve.anti()

vm = Particle(pdg_code = 14,
              name = 'vm',
              antiname = 'vm~',
              spin = 2,
              color = 1,
              mass = Param.ZERO,
              width = Param.ZERO,
开发者ID:misho104,项目名称:FeynRulesModels,代码行数:31,代码来源:particles.py

示例13: Particle

from __future__ import division
from object_library import all_particles, Particle
import parameters as Param
import CT_parameters as CTParam

# ======================================================================
# QCD particles
# ======================================================================

d = Particle(
    pdg_code=1,
    name="d",
    antiname="d~",
    spin=2,
    color=3,
    mass=Param.ZERO,
    width=Param.ZERO,
    texname="d",
    antitexname="d",
    charge=-1 / 3,
    LeptonNumber=0,
    GhostNumber=0,
)

d__tilde__ = d.anti()

u = Particle(
    pdg_code=2,
    name="u",
    antiname="u~",
    spin=2,
    color=3,
开发者ID:cesarotti,项目名称:MMAPS,代码行数:32,代码来源:particles.py

示例14: x86

# This file was automatically created by FeynRules $Revision: 535 $
# Mathematica version: 7.0 for Mac OS X x86 (64-bit) (November 11, 2008)
# Date: Fri 18 Mar 2011 18:40:51


from __future__ import division
from object_library import all_particles, Particle
import parameters as Param

u = Particle(pdg_code = 2,
             name = 'u',
             antiname = 'u~',
             spin = 2,
             color = 3,
             mass = Param.MU,
             width = Param.ZERO,
             texname = 'u',
             antitexname = 'u',
             charge = 2/3,
             perturbation = ['QCD',],
             LeptonNumber = 0,
             GhostNumber = 0)

u__tilde__ = u.anti()

d = Particle(pdg_code = 1,
             name = 'd',
             antiname = 'd~',
             spin = 2,
             color = 3,
             mass = Param.MD,
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:31,代码来源:particles.py

示例15: Particle

             antiname = 'g',
             spin = 3,
             color = 8,
             mass = Param.ZERO,
             width = Param.ZERO,
             texname = 'g',
             antitexname = 'g',
             charge = 0,
             GhostNumber = 0)

ghZp = Particle(pdg_code = 9000002,
                name = 'ghZp',
                antiname = 'ghZp~',
                spin = -1,
                color = 1,
                mass = Param.mZp,
                width = Param.ZERO,
                texname = 'ghZp',
                antitexname = 'ghZp~',
                charge = 0,
                GhostNumber = 1)

ghZp__tilde__ = ghZp.anti()

ghG = Particle(pdg_code = 9000003,
               name = 'ghG',
               antiname = 'ghG~',
               spin = -1,
               color = 8,
               mass = Param.ZERO,
               width = Param.ZERO,
开发者ID:misho104,项目名称:FeynRulesModels,代码行数:31,代码来源:particles.py


注:本文中的object_library.Particle类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。