![]() |
Project
|
#include <ClusterFactory.h>
Public Member Functions | |
| ClusterIterator (const ClusterFactory &factory, int clusterIndex, bool forward) | |
| Constructor, initializing the iterator. | |
| ~ClusterIterator ()=default | |
| Destructor. | |
| bool | operator== (const ClusterIterator &rhs) const |
| Check for equalness. | |
| bool | operator!= (const ClusterIterator &rhs) const |
| Check for not equalness. | |
| ClusterIterator & | operator++ () |
| Prefix incrementation operator. | |
| ClusterIterator | operator++ (int) |
| Postfix incrementation operator. | |
| ClusterIterator & | operator-- () |
| Prefix decrementation operator. | |
| ClusterIterator | operator-- (int) |
| Postfix decrementation operator. | |
| AnalysisCluster * | operator* () |
| Get pointer to the current cluster. | |
| AnalysisCluster & | operator& () |
| Get reference to the current cluster. | |
| int | current_index () const |
| Get the index of the current event. | |
Definition at line 131 of file ClusterFactory.h.
| ClusterFactory::ClusterIterator::ClusterIterator | ( | const ClusterFactory & | factory, |
| int | clusterIndex, | ||
| bool | forward | ||
| ) |
Constructor, initializing the iterator.
| factory | cluster factory to iterate over |
| clusterIndex | cluster ID from which to start the iteration |
| forward | Direction of the iteration (true = forward) |
Definition at line 839 of file ClusterFactory.cxx.
|
default |
Destructor.
|
inline |
Get the index of the current event.
Definition at line 183 of file ClusterFactory.h.
|
inline |
Check for not equalness.
| rhs | Iterator to compare to |
Check is done on same event factory, event ID and direction
Definition at line 155 of file ClusterFactory.h.
|
inline |
Get reference to the current cluster.
Definition at line 179 of file ClusterFactory.h.
|
inline |
Get pointer to the current cluster.
Definition at line 175 of file ClusterFactory.h.
| ClusterFactory< InputType >::ClusterIterator & ClusterFactory::ClusterIterator::operator++ | ( | ) |
Prefix incrementation operator.
Definition at line 854 of file ClusterFactory.cxx.
| ClusterFactory< InputType >::ClusterIterator ClusterFactory::ClusterIterator::operator++ | ( | int | ) |
Postfix incrementation operator.
Definition at line 866 of file ClusterFactory.cxx.
| ClusterFactory< InputType >::ClusterIterator & ClusterFactory::ClusterIterator::operator-- | ( | ) |
Prefix decrementation operator.
Definition at line 874 of file ClusterFactory.cxx.
| ClusterFactory< InputType >::ClusterIterator ClusterFactory::ClusterIterator::operator-- | ( | int | ) |
Postfix decrementation operator.
Definition at line 886 of file ClusterFactory.cxx.
| bool ClusterFactory::ClusterIterator::operator== | ( | const ClusterIterator & | rhs | ) | const |
Check for equalness.
| rhs | Iterator to compare to |
Check is done on same event factory, event ID and direction
Definition at line 848 of file ClusterFactory.cxx.