|
def | __init__ (self, pdgid=None, charge=None, plist=None) |
|
def | add (self, *plist) |
|
def | __len__ (self) |
|
def | __getitem__ (self, key) |
|
def | __iter__ (self) |
|
def | __contains__ (self, item) |
|
def | append (self, x) |
|
def | extend (self, x) |
|
def | count (self, x) |
|
def | index (self, x, i=0, j=999999999) |
|
Definition at line 166 of file PyAlgorithmExample.py.
◆ __init__()
def PyAlgorithmExample.PyCompositeParticle.__init__ |
( |
|
self, |
|
|
|
pdgid = None , |
|
|
|
charge = None , |
|
|
|
plist = None |
|
) |
| |
Reimplemented in PyAlgorithmExample.Z.
Definition at line 167 of file PyAlgorithmExample.py.
167 def __init__ (self, pdgid=None, charge=None, plist=None):
168 g.CompositeParticle.__init__ (self)
170 if pdgid !=
None: self.set_pdgId (pdgid)
171 if charge !=
None: self.set_charge (charge)
172 if plist !=
None: self.extend (plist)
◆ __contains__()
def PyAlgorithmExample.PyCompositeParticle.__contains__ |
( |
|
self, |
|
|
|
item |
|
) |
| |
◆ __getitem__()
def PyAlgorithmExample.PyCompositeParticle.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
◆ __iter__()
def PyAlgorithmExample.PyCompositeParticle.__iter__ |
( |
|
self | ) |
|
◆ __len__()
def PyAlgorithmExample.PyCompositeParticle.__len__ |
( |
|
self | ) |
|
◆ add()
def PyAlgorithmExample.PyCompositeParticle.add |
( |
|
self, |
|
|
* |
plist |
|
) |
| |
◆ append()
def PyAlgorithmExample.PyCompositeParticle.append |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ count()
def PyAlgorithmExample.PyCompositeParticle.count |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ extend()
def PyAlgorithmExample.PyCompositeParticle.extend |
( |
|
self, |
|
|
|
x |
|
) |
| |
◆ index()
def PyAlgorithmExample.PyCompositeParticle.index |
( |
|
self, |
|
|
|
x, |
|
|
|
i = 0 , |
|
|
|
j = 999999999 |
|
) |
| |
◆ __l
PyAlgorithmExample.PyCompositeParticle.__l |
|
private |
The documentation for this class was generated from the following file: