![]() |
The Gaudi Framework
master (d98a2936)
|
Functions | |
def | _get_all_ (self, asList=False) |
get all particle properties form the service More... | |
def | _get_pp_ (self, cut, asList=False) |
simple "get" method for the service More... | |
def | _get_ppv_ (self, cut, asList=False) |
simple "get" method for the service More... | |
def | _ppv_2_list_ (self) |
Convert Gaudi::Interfaces::IParticlePropertySvc::ParticleProperties into python list. More... | |
def | _ppv_from_lst_ (self, lst) |
convert python list into Gaudi.IParticlePropertisvc.ParticleProperties More... | |
def | _prnt_as_table_ (self, *args) |
Print vector of particle properties in a form of table. More... | |
def | _get_attr_from_PID_ (self, attr) |
def | _pp_cmp_ (pp1, pp2) |
def | _pp_lt_ (pp1, pp2) |
def | _abs_1_ (self) |
abs for ParticleID More... | |
def | _abs_2_ (self) |
abs for ParticleProperty More... | |
def | _get_pid_ (self, cut) |
get particleID objects whcih satisfy some criteria More... | |
def | _validate_ (self, svc) |
def | _symbols_ (self) |
def | _sym_iter_ (self) |
Variables | |
__author__ | |
__version__ | |
cpp | |
std | |
Decays | |
Gaudi | |
all | |
decorate service More... | |
toList | |
decorate the vector of properties More... | |
toLst | |
fromList | |
decorate the vector of properties More... | |
fromLst | |
__repr__ | |
decorate the vector of properties More... | |
__str__ | |
decorate the printout for Gaudi::ParticleProperty More... | |
__len__ | |
__getattr__ | |
decorate the attribute access for Gaudi.ParticleProperty More... | |
ParticleIDs | |
define the type for std::vector<Gaudi::ParticleID> More... | |
get | |
decorate the vector of properties More... | |
_items | |
_decays | |
Items | |
Decay | |
Item | |
_old_symbols_ | |
_old_particles_ | |
Symbols | |
instance: More... | |
|
private |
abs for ParticleID
Absolute value for the PID >>> p = ... >>> pa = abs ( p )
Definition at line 211 of file decorators.py.
|
private |
abs for ParticleProperty
Absolute value for the ParticleProperty >>> p = ... >>> pa = abs ( p )
Definition at line 225 of file decorators.py.
|
private |
get all particle properties form the service
Get all particle properties from the service >>> svc = ... # get the service >>> all = svc.all () # get all properties
Definition at line 38 of file decorators.py.
|
private |
Delegate the evaluation of unknown atrributes to Gaudi.ParticleID class >>> pp = ... >>> print pp.jSpin()
Definition at line 152 of file decorators.py.
|
private |
get particleID objects whcih satisfy some criteria
Get particleID objects which satisfy some criteria >>> pids = ... # vector of LCHb::ParticleID objects >>> good = pids.get( lambda s : s.isLepton() ) # get leptons >>> scalar = pids.get( lambda s : 1 == s.jSpin() ) # get scalars
Definition at line 253 of file decorators.py.
|
private |
simple "get" method for the service
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 57 of file decorators.py.
|
private |
simple "get" method for the service
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 72 of file decorators.py.
|
private |
|
private |
Comparison `<` for ParticleProperty objects.
Definition at line 201 of file decorators.py.
|
private |
Convert Gaudi::Interfaces::IParticlePropertySvc::ParticleProperties into python list.
Convert Gaudi::Interfaces::IParticlePropertySvc::ParticleProperties into python list >>> ppv = ... # get the vector >>> lst = ppv.toList () # convert it to the list
Definition at line 103 of file decorators.py.
|
private |
convert python list into Gaudi.IParticlePropertisvc.ParticleProperties
Append the iterable sequence 'lst' to the vector of particle properties: >>> Vct = std.vector('const Gaudi::ParticleProperty*') >>> lst = [ pp1 , pp2 , pp3 ] >>> vct = Vct() >>> vct.fromList ( lst )
Definition at line 123 of file decorators.py.
|
private |
Print vector of particle properties in a form of table.
Print vector of particle properties in a form of table >>> print vct.asTable()
Definition at line 140 of file decorators.py.
|
private |
Iteration over all known symbols >>> syms = ... # get the table of symbols >>> for s in syms : ... print ' help for %s :' % s , syms.symbol ( s )
Definition at line 347 of file decorators.py.
|
private |
Get all known predefined symbols: >>> syms = ... # get the table of symbols >>> s = syms.symbols() # get the list of symbols
Definition at line 331 of file decorators.py.
|
private |
Validate the vector of items/decays >>> vct = ... # get the vector of items/decays >>> svc = ... # get the service >>> vcs.vaildate ( svc ) # validate
Definition at line 309 of file decorators.py.
|
private |
Definition at line 24 of file decorators.py.
|
private |
decorate the attribute access for Gaudi.ParticleProperty
Definition at line 186 of file decorators.py.
|
private |
Definition at line 177 of file decorators.py.
|
private |
decorate the vector of properties
Definition at line 173 of file decorators.py.
|
private |
decorate the printout for Gaudi::ParticleProperty
decorate the printout for Gaudi::ParticleID
Definition at line 176 of file decorators.py.
|
private |
Definition at line 25 of file decorators.py.
|
private |
Definition at line 296 of file decorators.py.
|
private |
Definition at line 291 of file decorators.py.
|
private |
Definition at line 328 of file decorators.py.
|
private |
Definition at line 327 of file decorators.py.
GaudiPartProp.decorators.all |
decorate service
Definition at line 53 of file decorators.py.
GaudiPartProp.decorators.cpp |
Definition at line 31 of file decorators.py.
GaudiPartProp.decorators.Decay |
Definition at line 305 of file decorators.py.
GaudiPartProp.decorators.Decays |
Definition at line 33 of file decorators.py.
GaudiPartProp.decorators.fromList |
decorate the vector of properties
Definition at line 170 of file decorators.py.
GaudiPartProp.decorators.fromLst |
Definition at line 171 of file decorators.py.
GaudiPartProp.decorators.Gaudi |
Definition at line 34 of file decorators.py.
GaudiPartProp.decorators.get |
decorate the vector of properties
Definition at line 283 of file decorators.py.
GaudiPartProp.decorators.Item |
Definition at line 306 of file decorators.py.
GaudiPartProp.decorators.Items |
Definition at line 304 of file decorators.py.
GaudiPartProp.decorators.ParticleIDs |
define the type for std::vector<Gaudi::ParticleID>
Definition at line 249 of file decorators.py.
GaudiPartProp.decorators.std |
Definition at line 32 of file decorators.py.
GaudiPartProp.decorators.Symbols |
instance:
Definition at line 366 of file decorators.py.
GaudiPartProp.decorators.toList |
decorate the vector of properties
Definition at line 167 of file decorators.py.
GaudiPartProp.decorators.toLst |
Definition at line 168 of file decorators.py.