File indexing completed on 2025-08-06 08:19:06
0001 #ifndef CLUSKEYITER__H
0002 #define CLUSKEYITER__H
0003
0004
0005 #include <trackbase/TrkrDefs.h>
0006 #include <set>
0007
0008 class SvtxTrack;
0009
0010 struct ClusKeyIter
0011 {
0012 typedef std::set<TrkrDefs::cluskey> ClusterKeySet;
0013 typedef ClusterKeySet::iterator ClusterKeyIter;
0014
0015 ClusKeyIter(SvtxTrack* _track);
0016
0017 SvtxTrack* track;
0018 bool in_silicon;
0019 bool has_tpc;
0020 bool no_data;
0021 ClusterKeyIter iter{};
0022 ClusterKeyIter iter_end_silicon{};
0023
0024 ClusKeyIter begin();
0025 ClusKeyIter end();
0026
0027 void operator++();
0028 TrkrDefs::cluskey operator*();
0029 bool operator!=(const ClusKeyIter& rhs);
0030 };
0031
0032 #endif