The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
GaudiPartProp.tests Namespace Reference

Functions

 checkPID (pid)
 

Variables

str __author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
 
str __version__ = ""
 
 pp1 = Gaudi.ParticleProperty("NAME1", Gaudi.ParticleID(121), 1.0, 501.0, 0.1, 0.001)
 
 pp2 = Gaudi.ParticleProperty("NAME2", Gaudi.ParticleID(122), -1, 502.0, 0.1, 0.001)
 
 pp3 = Gaudi.ParticleProperty("NAME3", Gaudi.ParticleID(123), 0, 503.0, 0.1, 0.001)
 
list lst = [pp3, pp2, pp1]
 
 v1 = Gaudi.Interfaces.IParticlePropertySvc.ParticleProperties()
 
 pid1 = Gaudi.ParticleID(121)
 
 pid2 = Gaudi.ParticleID(122)
 
 pid3 = Gaudi.ParticleID(123)
 
list lst2 = [pid3, pid2, pid1]
 
 v2 = Gaudi.ParticleIDs()
 
 lb = Gaudi.ParticleID(5122)
 
 c = Gaudi.ParticleID(Gaudi.ParticleID.charm)
 
list nuc = [2212, 1000020040, 1000822080, 450000000]
 
 id = Gaudi.ParticleID(i)
 

Function Documentation

◆ checkPID()

GaudiPartProp.tests.checkPID ( pid)

Definition at line 73 of file tests.py.

73def checkPID(pid):
74 print(pid)
75 print(" isValid ", pid.isValid())
76 print(" isMeson ", pid.isMeson())
77 print(" isBaryon ", pid.isBaryon())
78 print(" isDiQuark ", pid.isDiQuark())
79 print(" isHadron ", pid.isHadron())
80 print(" isLepton ", pid.isLepton())
81 print(" isNucleus ", pid.isNucleus())
82 print(" hasUp ", pid.hasUp())
83 print(" hasDown ", pid.hasDown())
84 print(" hasStrange ", pid.hasStrange())
85 print(" hasCharm ", pid.hasCharm())
86 print(" hasBottom ", pid.hasBottom())
87 print(" hasTop ", pid.hasTop())
88 print(" hasQuarks ", pid.hasQuarks())
89 print(" isQuark ", pid.isQuark())
90 print(" threeCharge ", pid.threeCharge())
91 print(" jSpin ", pid.jSpin())
92 print(" sSpin ", pid.sSpin())
93 print(" lSpin ", pid.lSpin())
94 print(" fundamental ", pid.fundamentalID())
95 print(" extra ", pid.extraBits())
96 print(" A ", pid.A())
97 print(" Z ", pid.Z())
98 print(" nLambda ", pid.nLambda())
99
100

Variable Documentation

◆ __author__

str GaudiPartProp.tests.__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
private

Definition at line 24 of file tests.py.

◆ __version__

str GaudiPartProp.tests.__version__ = ""
private

Definition at line 25 of file tests.py.

◆ c

GaudiPartProp.tests.c = Gaudi.ParticleID(Gaudi.ParticleID.charm)

Definition at line 105 of file tests.py.

◆ id

GaudiPartProp.tests.id = Gaudi.ParticleID(i)

Definition at line 111 of file tests.py.

◆ lb

GaudiPartProp.tests.lb = Gaudi.ParticleID(5122)

Definition at line 101 of file tests.py.

◆ lst

list GaudiPartProp.tests.lst = [pp3, pp2, pp1]

Definition at line 37 of file tests.py.

◆ lst2

list GaudiPartProp.tests.lst2 = [pid3, pid2, pid1]

Definition at line 57 of file tests.py.

◆ nuc

list GaudiPartProp.tests.nuc = [2212, 1000020040, 1000822080, 450000000]

Definition at line 109 of file tests.py.

◆ pid1

GaudiPartProp.tests.pid1 = Gaudi.ParticleID(121)

Definition at line 53 of file tests.py.

◆ pid2

GaudiPartProp.tests.pid2 = Gaudi.ParticleID(122)

Definition at line 54 of file tests.py.

◆ pid3

GaudiPartProp.tests.pid3 = Gaudi.ParticleID(123)

Definition at line 55 of file tests.py.

◆ pp1

GaudiPartProp.tests.pp1 = Gaudi.ParticleProperty("NAME1", Gaudi.ParticleID(121), 1.0, 501.0, 0.1, 0.001)

Definition at line 30 of file tests.py.

◆ pp2

GaudiPartProp.tests.pp2 = Gaudi.ParticleProperty("NAME2", Gaudi.ParticleID(122), -1, 502.0, 0.1, 0.001)

Definition at line 31 of file tests.py.

◆ pp3

GaudiPartProp.tests.pp3 = Gaudi.ParticleProperty("NAME3", Gaudi.ParticleID(123), 0, 503.0, 0.1, 0.001)

Definition at line 32 of file tests.py.

◆ v1

Definition at line 39 of file tests.py.

◆ v2

GaudiPartProp.tests.v2 = Gaudi.ParticleIDs()

Definition at line 59 of file tests.py.