HLT::ComboIteratorBase Class Reference

Base class for iterator used to loop over multi-particle combinations. More...

#include <ComboIterator.h>

Inheritance diagram for HLT::ComboIteratorBase:
HLT::ComboIterator HLT::ComboIteratorTopo

List of all members.

Public Member Functions

 ComboIteratorBase ()
 Constructor.
virtual ~ComboIteratorBase ()
 Destructor.
virtual bool rewind ()=0
 Rewind method, resetting the iterator to the first element.
virtual TEVec & operator* ()=0
 Unary * operator, used to recover the current combination.
virtual bool isValid () const =0
 Validity check for the iterator.
virtual TEVec & combination ()=0
 Accessor method for the current combination.
virtual ComboIteratorBaseoperator++ (int)=0
 Post increment operator.
virtual ComboIteratorBaseoperator++ ()=0
 Pre increment operator.

Detailed Description

Base class for iterator used to loop over multi-particle combinations.

Author:
Carlo Schiavi <Carlo.Schiavi@ge.infn.it> - INFN Genova

The iterator classes inheriting this interface are used by HLT algorithms to iterate over multi-particle combinations.


Member Function Documentation

virtual bool HLT::ComboIteratorBase::isValid (  )  const [pure virtual]

Validity check for the iterator.

Returns:
result of the validity check; returns false if iterator is at end, true otherwise.

Implemented in HLT::ComboIterator.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1