![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|


Public Member Functions | |
| __init__ (self, name, isvc) | |
| retrieveInterface (self) | |
| find (self, what) | |
| Find the Particle Property by particle name or particle ID. | |
| get (self, cut, asList=False) | |
| get the Particle Properties by particle name or particle ID | |
| begin (self) | |
| begin-iterator | |
| end (self) | |
| end-iterator | |
| all (self, asList=False) | |
| get all | |
| dump (self) | |
| dump the particle property table | |
| cc (self, decay) | |
| CC-conjugation. | |
| svc (self) | |
| get the C++ service itself | |
| service (self) | |
| get the C++ service itself | |
| validate (self, obj) | |
| validate the node/decay/tree | |
| __iter__ (self) | |
| make iteration over all known particle properties | |
| size (self) | |
| get the size (number of known particle proeprties) | |
| __len__ (self) | |
| get the size (number of known particle proeprties) | |
Public Attributes | |
| bool | Dump = True |
Static Public Attributes | |
| ParticleIDs | |
| Decay | |
| Decays | |
| Item | |
| Items | |
Protected Attributes | |
| _name | |
| _isvc | |
| _ipps | |
Class iParticlePropertySvc: 'python'-twin for C++ class Gaudi::Interfaces::IParticlePropertySvc
Definition at line 47 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.__init__ | ( | self, | |
| name, | |||
| isvc ) |
Constructor from the name and the service
Definition at line 55 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.__iter__ | ( | self | ) |
make iteration over all known particle properties
Make an iteration over all known particle properties: >>> svc = ... # get the service >>> for pp i svc : # make an iteration ... print pp
Definition at line 192 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.__len__ | ( | self | ) |
get the size (number of known particle proeprties)
Get the length(size) of known particle properties
Definition at line 220 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.all | ( | self, | |
| asList = False ) |
get all
Get all particle properties form the service >>> svc = ... # get the service >>> all = svc.all () # get all properties
Definition at line 124 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.begin | ( | self | ) |
begin-iterator
Get the begin-iterator for the sequence of particle proeprties >>> svc = ... # get the service >>> begin = svc.begin()
Definition at line 98 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.cc | ( | self, | |
| decay ) |
CC-conjugation.
Get CC-conjugationfor decay -descriptor >>> svc = ... # get the service >>> cc = svc.cc ( 'B0 -> K- pi+' ) # get CC-conjugation
Definition at line 144 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.dump | ( | self | ) |
dump the particle property table
Dump the particle property table
Definition at line 137 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.end | ( | self | ) |
end-iterator
Get the end-iterator for the sequence of particle proeprties >>> svc = ... # get the service >>> end = svc.end()
Definition at line 111 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.find | ( | self, | |
| what ) |
Find the Particle Property by particle name or particle ID.
Find the Particle Property by particle name or particle ID >>> svc = ... # get the service >>> pp1 = svc.find ( 'pi0' ) # find by name >>> pp2 = svc.find ( Gaudi.ParticleID( 511 ) ) # find by Particle ID
Definition at line 69 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.get | ( | self, | |
| cut, | |||
| asList = False ) |
get the Particle Properties by particle name or particle ID
Simple 'get' method for Gaudi::Interfaces::IParticlePropertySvc service to extract the properties which satisfy some criteria >>> svc = ... # get service (Gaudi::Interfaces::IParticlePropertySvc) or vector >>> leptons = svc.get ( lambda s : s.pid().isLepton() ) # get all leptons >>> longlived = svc.get ( lambda s : s.ctau() > 0.001 ) # get longlived
Definition at line 83 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.retrieveInterface | ( | self | ) |
Definition at line 64 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.service | ( | self | ) |
get the C++ service itself
Get C++ service >>> svc = ... # >>> svccpp = svc.service ()
Definition at line 170 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.size | ( | self | ) |
get the size (number of known particle proeprties)
Get the length(size) of known particle properties
Definition at line 211 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.svc | ( | self | ) |
get the C++ service itself
Get C++ service >>> svc = ... # >>> svccpp = svc.svc ()
Definition at line 157 of file Service.py.
| GaudiPartProp.Service.iParticlePropertySvc.validate | ( | self, | |
| obj ) |
validate the node/decay/tree
Validate the node/decay/tree >>> svc = ... # get the service >>> node = ... # get the node >>> sc = svc.validate ( node )
Definition at line 181 of file Service.py.
|
protected |
Definition at line 78 of file Service.py.
|
protected |
Definition at line 66 of file Service.py.
|
protected |
Definition at line 66 of file Service.py.
|
static |
Definition at line 229 of file Service.py.
|
static |
Definition at line 230 of file Service.py.
| bool GaudiPartProp.Service.iParticlePropertySvc.Dump = True |
Definition at line 141 of file Service.py.
|
static |
Definition at line 231 of file Service.py.
|
static |
Definition at line 232 of file Service.py.
|
static |
Definition at line 228 of file Service.py.