|  | ATLAS Offline Software
    | 
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.  More... | |
| bool | empty () const | 
| true if vector is empty()  More... | |
| size_t | size () const | 
| number of constituents  More... | |
| iterator | begin () const | 
| iterator on the first constituent  More... | |
| iterator | end () const | 
| iterator after the last constituent  More... | |
| iterator | begin (JetConstitScale s) const | 
| iterator at scale  More... | |
| iterator | end (JetConstitScale s) const | 
| iterator at scale  More... | |
| JetConstituent | operator[] (size_t i) const | 
| Constituent proxy at position i.  More... | |
| JetConstituent | at (size_t i) const | 
| Constituent proxy at position i.  More... | |
| JetConstituent | front () const | 
| first constituent proxy  More... | |
| JetConstituent | back () const | 
| last constituent proxy  More... | |
| std::vector< const IParticle * > | asIParticleVector () const | 
| vector of pointer to the underlying IParticles.  More... | |
| std::vector< JetConstituent > | asSTLVector () | 
| Returns this vector as a std::vector Provided for convenience when dealing with the JetConstituentVector::iterator is not possible.  More... | |
| 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<>
Definition at line 117 of file JetConstituentVector.h.
Definition at line 156 of file JetConstituentVector.h.
| typedef std::vector< ElementLink< IParticleContainer > > xAOD::JetConstituentVector::ELvector | 
Definition at line 157 of file JetConstituentVector.h.
| 
 | inline | 
Definition at line 159 of file JetConstituentVector.h.
vector of pointer to the underlying IParticles.
WARNING !! these raw IParticle constituents might have a scale incompatible with the jet they're coming from.
Definition at line 122 of file JetConstituentVector.cxx.
| 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. 
 
Definition at line 128 of file JetConstituentVector.cxx.
| JetConstituent xAOD::JetConstituentVector::at | ( | size_t | i | ) | const | 
| JetConstituent xAOD::JetConstituentVector::back | ( | ) | const | 
last constituent proxy
Definition at line 120 of file JetConstituentVector.cxx.
| iterator xAOD::JetConstituentVector::begin | ( | ) | const | 
| iterator xAOD::JetConstituentVector::begin | ( | JetConstitScale | s | ) | const | 
iterator at scale
| s | on the first constituent | 
Definition at line 106 of file JetConstituentVector.cxx.
| bool xAOD::JetConstituentVector::empty | ( | ) | const | 
| iterator xAOD::JetConstituentVector::end | ( | ) | const | 
| iterator xAOD::JetConstituentVector::end | ( | JetConstitScale | s | ) | const | 
iterator at scale
| s | after the last constituent | 
Definition at line 107 of file JetConstituentVector.cxx.
| JetConstituent xAOD::JetConstituentVector::front | ( | ) | const | 
| bool xAOD::JetConstituentVector::isValid | ( | ) | const | 
| JetConstituent xAOD::JetConstituentVector::operator[] | ( | size_t | i | ) | const | 
Constituent proxy at position i.
Definition at line 109 of file JetConstituentVector.cxx.
| size_t xAOD::JetConstituentVector::size | ( | ) | const | 
| 
 | protected | 
Definition at line 201 of file JetConstituentVector.h.
| 
 | protected | 
Definition at line 202 of file JetConstituentVector.h.
 1.8.18
 1.8.18