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