![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
The abstract interface to Particle Property Service. More...
#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Interfaces/IParticlePropertySvc.h>


Public Types | |
| typedef std::vector< const Gaudi::ParticleProperty * > | ParticleProperties |
| the actual type of (ordered) container of particle properties | |
| typedef ParticleProperties::const_iterator | iterator |
| the actual type of iterator over the (ordered) container of properties | |
| Public Types inherited from extend_interfaces< IInterface > | |
| using | ext_iids |
| take union of the ext_iids of all Interfaces... | |
Public Member Functions | |
| DeclareInterfaceID (Gaudi::Interfaces::IParticlePropertySvc, 2, 0) | |
| virtual iterator | begin () const =0 |
| get the begin-iterator for the container of particle properties It is assumed that the container is properly ordered | |
| virtual iterator | end () const =0 |
| get the end-iterator for the container of particle properties It is assumed that the container is properly ordered | |
| virtual size_t | size () const =0 |
| get the container size. | |
| virtual const ParticleProperty * | find (const std::string &name) const =0 |
| Retrieve an object by name: | |
| virtual const ParticleProperty * | find (const Gaudi::ParticleID &pid) const =0 |
| Retrieve an object by Gaudi::ParticleID: | |
| template<class PREDICATE, class OUTPUT> | |
| OUTPUT | get (const PREDICATE &cut, OUTPUT output) const |
| get the properties according to some criteria | |
| virtual std::string | cc (const std::string &decay) const =0 |
| make the charge conjugation for the string/decay descriptor | |
The abstract interface to Particle Property Service.
Definition at line 29 of file IParticlePropertySvc.h.
| typedef ParticleProperties::const_iterator Gaudi::Interfaces::IParticlePropertySvc::iterator |
the actual type of iterator over the (ordered) container of properties
Definition at line 36 of file IParticlePropertySvc.h.
| typedef std::vector<const Gaudi::ParticleProperty*> Gaudi::Interfaces::IParticlePropertySvc::ParticleProperties |
the actual type of (ordered) container of particle properties
Definition at line 34 of file IParticlePropertySvc.h.
|
pure virtual |
get the begin-iterator for the container of particle properties It is assumed that the container is properly ordered
|
pure virtual |
make the charge conjugation for the string/decay descriptor
| decay | the decay descriptor |
| Gaudi::Interfaces::IParticlePropertySvc::DeclareInterfaceID | ( | Gaudi::Interfaces::IParticlePropertySvc | , |
| 2 | , | ||
| 0 | ) |
|
pure virtual |
get the end-iterator for the container of particle properties It is assumed that the container is properly ordered
|
pure virtual |
Retrieve an object by Gaudi::ParticleID:
| pid | the particle's Gaudi::ParticleID |
|
pure virtual |
Retrieve an object by name:
| name | the particle name |
| OUTPUT Gaudi::Interfaces::IParticlePropertySvc::get | ( | const PREDICATE & | cut, |
| OUTPUT | output ) const |
get the properties according to some criteria
e.g. get all leptons:
Essentially it is just std::copy_if STL-algorithm
| cut | the predicate |
| output | the output iterator |
Definition at line 492 of file IParticlePropertySvc.h.
|
pure virtual |
get the container size.