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


Python Particle.anti方法代码示例

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


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

示例1: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
             width = Param.ZERO,
             texname = 'g',
             antitexname = 'g',
             charge = 0,
             GhostNumber = 0,
             LeptonNumber = 0,
             Y = 0)
开发者ID:rappoccio,项目名称:Vp_to_VLQ,代码行数:31,代码来源:particles.py

示例2: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
              texname = 'vm',
              antitexname = 'vm',
              charge = 0,
              LeptonNumber = 1,
              GhostNumber = 0)

vm__tilde__ = vm.anti()
开发者ID:misho104,项目名称:FeynRulesModels,代码行数:33,代码来源:particles.py

示例3: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
             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,
             texname = 'g',
             antitexname = 'g',
             charge = 0,
             GhostNumber = 0,
             Y = 0)

n1 = Particle(pdg_code = 1000022,
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:33,代码来源:particles.py

示例4: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
             width = Param.ZERO,
             texname = 'd',
             antitexname = 'd',
             charge = -1/3,
             perturbation = ['QCD',],
             LeptonNumber = 0,
             GhostNumber = 0)
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:31,代码来源:particles.py

示例5: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]

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 ,
	 width = Param.ZERO ,
	 GhostNumber = 0, 
	 line = 'straight' ,
	 charge = 0 ,
	 texname = 'nu2' ,
	 antitexname = 'nu2bar' ) 
 
开发者ID:restrepo,项目名称:SimplifiedDM-SDFDM-Toolbox,代码行数:31,代码来源:particles.py

示例6: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
              texname = 'vm',
              antitexname = 'vm~',
              charge = 0,
              GhostNumber = 0,
              LeptonNumber = 1)

vm__tilde__ = vm.anti()
开发者ID:jbhyun,项目名称:MC_Configs,代码行数:33,代码来源:particles.py

示例7: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
    texname="u",
    antitexname="u",
    charge=2 / 3,
    LeptonNumber=0,
    GhostNumber=0,
)
开发者ID:cesarotti,项目名称:MMAPS,代码行数:33,代码来源:particles.py

示例8: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
             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,
               texname = 'ghG',
               antitexname = 'ghG~',
               charge = 0,
               GhostNumber = 1)

ghG__tilde__ = ghG.anti()
开发者ID:misho104,项目名称:FeynRulesModels,代码行数:32,代码来源:particles.py

示例9: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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~',
              charge = 0)

FB__tilde__ = FB.anti()

FC = Particle(pdg_code = 9000003,
开发者ID:bendavid,项目名称:MadGraph5_aMC-NLO,代码行数:33,代码来源:particles.py

示例10: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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,
    mass=Param.ZERO,
    width=Param.ZERO,
    texname="vm",
    antitexname="vm~",
    charge=0,
    LeptonNumber=1,
)
开发者ID:cesarotti,项目名称:MMAPS,代码行数:31,代码来源:particles.py

示例11: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
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',
              texname = 'vm',
              antitexname = 'vm',
              line = 'straight',
              charge = 0,
              LeptonNumber = 1,
              GhostNumber = 0)
开发者ID:useakat,项目名称:cfqcd,代码行数:31,代码来源:particles.py

示例12: Particle

# 需要导入模块: from object_library import Particle [as 别名]
# 或者: from object_library.Particle import anti [as 别名]
P__tilde__n1 = Particle(pdg_code = 9100012,
                        name = '~n1',
                        antiname = 'Xn1',
                        spin = 2,
                        color = 1,
                        mass = Param.MnH1,
                        width = Param.WnH1,
                        texname = '~n1',
                        antitexname = 'Xn1',
                        charge = 0,
                        BarionLepton = 0,
                        GhostNumber = 0,
                        LeptonNumber = 0)

P__n1 = P__tilde__n1.anti()

P__tilde__n2 = Particle(pdg_code = 9100014,
                        name = '~n2',
                        antiname = 'Xn2',
                        spin = 2,
                        color = 1,
                        mass = Param.MnH2,
                        width = Param.WnH2,
                        texname = '~n2',
                        antitexname = 'Xn2',
                        charge = 0,
                        BarionLepton = 0,
                        GhostNumber = 0,
                        LeptonNumber = 0)
开发者ID:violatingcp,项目名称:MadGraph5_aMCatNLO,代码行数:31,代码来源:particles.py


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