本文整理汇总了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)
示例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()
示例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,
示例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)
示例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' )
示例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()
示例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,
)
示例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()
示例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,
示例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,
)
示例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)
示例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)