A vector of jet constituents at the scale used during jet finding. More...
#include <JetConstituentVector.h>
Classes | |
| class | iterator |
Public Types | |
| typedef iterator | const_iterator |
|
typedef std::vector < ElementLink < IParticleContainer > > | ELvector |
Public Member Functions | |
| JetConstituentVector (const ELvector *elv, JetConstitScale s) | |
| bool | isValid () const |
| Check if element links are valid. | |
| bool | empty () const |
| true if vector is empty() | |
| size_t | size () const |
| number of constituents | |
| iterator | begin () const |
| iterator on the first constituent | |
| iterator | end () const |
| iterator after the last constituent | |
| iterator | begin (JetConstitScale s) const |
| iterator at scale | |
| iterator | end (JetConstitScale s) const |
| iterator at scale | |
| JetConstituent | operator[] (size_t i) const |
| Constituent proxy at position i. | |
| JetConstituent | at (size_t i) const |
| Constituent proxy at position i. | |
| JetConstituent | front () const |
| first constituent proxy | |
| JetConstituent | back () const |
| last constituent proxy | |
| std::vector< const IParticle * > | asIParticleVector () const |
| std::vector< JetConstituent > | asSTLVector () |
Protected Attributes | |
|
const std::vector< ElementLink < IParticleContainer > > * | m_elVector |
| JetConstitScale | m_sigState |
A vector of jet constituents at the scale used during jet finding.
This class can be used as a vector<const IParticle*>. It provides iterators and the usual function of vector<>
| std::vector< const IParticle * > xAOD::JetConstituentVector::asIParticleVector | ( | ) | const |
vector of pointer to the underlying IParticles. WARNING !! these raw IParticle constituents might have a scale incompatible with the jet they're coming from.
| std::vector< JetConstituent > xAOD::JetConstituentVector::asSTLVector | ( | ) |
Returns this vector as a std::vector Provided for convenience when dealing with the JetConstituentVector::iterator is not possible. This method is slighly under-performant since it will create and fill a new std::vector.
| iterator xAOD::JetConstituentVector::begin | ( | JetConstitScale | s | ) | const |
iterator at scale
| s | on the first constituent |
| iterator xAOD::JetConstituentVector::end | ( | JetConstitScale | s | ) | const |
iterator at scale
| s | after the last constituent |
1.6.1