Go to the documentation of this file.
36 typedef ParticleProperties::const_iterator
iterator;
49 virtual size_t size()
const = 0;
113 template <
class PREDICATE,
class OUTPUT>
114 OUTPUT
get(
const PREDICATE& cut, OUTPUT
output )
const;
136 namespace ParticleProperties {
387 template <
class INPUT,
class PREDICATE,
class OUTPUT>
388 OUTPUT
get( INPUT first, INPUT last,
const PREDICATE& cut, OUTPUT
output ) {
389 for ( ; first != last; ++first ) {
390 if ( cut( *first ) ) {
475 template <
class PREDICATE,
class OUTPUT>
477 if ( 0 == service ) {
return output; }
489 namespace Interfaces {
491 template <
class PREDICATE,
class OUTPUT>
virtual iterator end() const =0
get the end-iterator for the container of particle properties It is assumed that the container is pro...
OUTPUT get(INPUT first, INPUT last, const PREDICATE &cut, OUTPUT output)
get all particle properties which satisfy the certain criteria
Gaudi::Interfaces::IParticlePropertySvc::ParticleProperties allProperties(const Gaudi::Interfaces::IParticlePropertySvc *service)
get all the properties at once
Base class to be used to extend an interface.
ParticleProperties::const_iterator iterator
the actual type of iterator over the (ordered) container of properties
const Gaudi::ParticleProperty * particle(const size_t index, const Gaudi::Interfaces::IParticlePropertySvc *service)
the inverse mapping of the integer sequential number onto Gaudi::ParticleID object
const Gaudi::ParticleProperty * byPythiaID(const int pythia, const Gaudi::Interfaces::IParticlePropertySvc *svc)
mapping by pythiaID
std::vector< const Gaudi::ParticleProperty * > ParticleProperties
the actual type of (ordered) container of particle properties
const Gaudi::ParticleProperty * byEvtGenName(const std::string &evtGen, const Gaudi::Interfaces::IParticlePropertySvc *svc)
mapping by EvtGen-name
virtual const ParticleProperty * find(const Gaudi::ParticleID &pid) const =0
Retrieve an object by Gaudi::ParticleID:
DeclareInterfaceID(Gaudi::Interfaces::IParticlePropertySvc, 2, 0)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
OUTPUT get(const Gaudi::Interfaces::IParticlePropertySvc *service, const PREDICATE &cut, OUTPUT output)
get all particle properties which satisfy the certain criteria
virtual size_t size() const =0
get the container size.
const Gaudi::ParticleID particleID(const size_t index, const Gaudi::Interfaces::IParticlePropertySvc *service)
the inverse mapping of the integer sequential number onto Gaudi::ParticleID object
OUTPUT get(const PREDICATE &cut, OUTPUT output) const
get the properties according to some criteria
virtual const ParticleProperty * find(const std::string &name) const =0
Retrieve an object by name:
virtual iterator begin() const =0
get the begin-iterator for the container of particle properties It is assumed that the container is p...
size_t index(const Gaudi::ParticleProperty *property, const Gaudi::Interfaces::IParticlePropertySvc *service)
helper utility for mapping of Gaudi::ParticleProperty object into non-negative integral sequential id...
virtual std::string cc(const std::string &decay) const =0
make the charge conjugation for the string/decay descriptor