![]() |
ATLAS Offline Software
|
#include <ComboIterator.h>
Public Member Functions | |
| ComboIteratorTopo (const std::vector< TEVec > &tes, const TrigNavStructure *nav, HLT::te_id_type topoSpan) | |
| bool | rewind () |
| Rewind method, resetting the iterator to the first element. | |
| TEVec & | operator* () |
| Unary * operator, used to recover the current combination. | |
| bool | isValid () const |
| Validity check for the iterator. | |
| TEVec & | combination () |
| Accessor method for the current combination. | |
| ComboIterator & | operator++ (int) |
| Post increment operator. | |
| ComboIterator & | operator++ () |
| Pre increment operator. | |
Protected Member Functions | |
| virtual bool | overlaps (const TriggerElement *t1, const TriggerElement *t2) const |
| Method used to test overlaps between two TEs. | |
| bool | overlaps (const TriggerElement *t1, const TEVec &teVec, int idx=-1) const |
| Method used to test overlaps between a TE and a vector of TEs. | |
| bool | incrementByOne (int pos, bool &ok) |
| Private increment method. | |
| bool | increment (int pos) |
| Private increment method. | |
| bool | reset (int pos) |
| Private reset method. | |
| void | invalidate () |
| Method used to invalidate the current combination. | |
| void | print () const |
| Debug dump to std::cout. | |
Protected Attributes | |
| TEVec | m_comb |
| Current combination of TEs. | |
| std::vector< int > | m_idx |
| Vector of indexes keeping track of the loop over combinations. | |
| std::vector< TEVec > | m_tes |
| Vector of vectors of TEs to be combined. | |
| bool | m_valid |
| Validity status variable. | |
| const TrigNavStructure * | m_nav |
| Pointer to the navigation service. | |
Private Member Functions | |
| void | traverseUntilSeedsTopo (const TriggerElement *start, std::set< const TriggerElement * > &topos) const |
Private Attributes | |
| HLT::te_id_type | m_spanId |
Definition at line 173 of file ComboIterator.h.
| HLT::ComboIteratorTopo::ComboIteratorTopo | ( | const std::vector< TEVec > & | tes, |
| const TrigNavStructure * | nav, | ||
| HLT::te_id_type | topoSpan ) |
Definition at line 199 of file ComboIterator.cxx.
|
inlinevirtualinherited |
Accessor method for the current combination.
Implements HLT::ComboIteratorBase.
Definition at line 98 of file ComboIterator.h.
|
protectedinherited |
Private increment method.
Definition at line 69 of file ComboIterator.cxx.
|
protectedinherited |
Private increment method.
Definition at line 80 of file ComboIterator.cxx.
|
protectedinherited |
Method used to invalidate the current combination.
Definition at line 189 of file ComboIterator.cxx.
|
inlinevirtualinherited |
Validity check for the iterator.
Implements HLT::ComboIteratorBase.
Definition at line 95 of file ComboIterator.h.
|
inlinevirtualinherited |
Unary * operator, used to recover the current combination.
Implements HLT::ComboIteratorBase.
Definition at line 90 of file ComboIterator.h.
|
virtualinherited |
Pre increment operator.
Implements HLT::ComboIteratorBase.
Definition at line 58 of file ComboIterator.cxx.
|
inlinevirtualinherited |
Post increment operator.
Implements HLT::ComboIteratorBase.
Definition at line 101 of file ComboIterator.h.
|
protectedinherited |
Method used to test overlaps between a TE and a vector of TEs.
| t1 | TE to check. |
| teVec | TE vector to check. |
| idx | optional integer parameter, limiting the check over the 0..idx-1 range of the vector. |
Definition at line 146 of file ComboIterator.cxx.
|
protectedvirtual |
Method used to test overlaps between two TEs.
| t1 | first TE to check. |
| t2 | second TE to check. |
Reimplemented from HLT::ComboIterator.
Definition at line 228 of file ComboIterator.cxx.
|
protectedinherited |
Debug dump to std::cout.
Definition at line 170 of file ComboIterator.cxx.
|
protectedinherited |
Private reset method.
Definition at line 117 of file ComboIterator.cxx.
|
virtualinherited |
Rewind method, resetting the iterator to the first element.
Implements HLT::ComboIteratorBase.
Definition at line 27 of file ComboIterator.cxx.
|
private |
Definition at line 206 of file ComboIterator.cxx.
|
protectedinherited |
Current combination of TEs.
Definition at line 140 of file ComboIterator.h.
|
protectedinherited |
Vector of indexes keeping track of the loop over combinations.
Definition at line 143 of file ComboIterator.h.
|
protectedinherited |
Pointer to the navigation service.
Definition at line 152 of file ComboIterator.h.
|
private |
Definition at line 183 of file ComboIterator.h.
|
protectedinherited |
Vector of vectors of TEs to be combined.
Definition at line 146 of file ComboIterator.h.
|
protectedinherited |
Validity status variable.
Definition at line 149 of file ComboIterator.h.