Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ClusKeyIter.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ClusKeyIter.h
1
#ifndef CLUSKEYITER__H
2
#define CLUSKEYITER__H
3
4
// an iterator to loop over all the TrkrClusters for a given track
5
#include <set>
6
#include <
trackbase/TrkrDefs.h
>
7
8
class
SvtxTrack
;
9
10
struct
ClusKeyIter
{
11
typedef
std::set<TrkrDefs::cluskey>
ClusterKeySet
;
12
typedef
ClusterKeySet::iterator
ClusterKeyIter
;
13
14
ClusKeyIter
(
SvtxTrack
* _track);
15
// data
16
SvtxTrack
*
track
;
17
bool
in_silicon
;
18
bool
has_tpc
;
19
bool
no_data
;
// neither a tpc nor a silicon seed
20
ClusterKeyIter
iter
{ };
21
ClusterKeyIter
iter_end_silicon
{ };
22
23
ClusKeyIter
begin
();
24
ClusKeyIter
end
();
25
26
void
operator++
();
27
TrkrDefs::cluskey
operator*
();
28
bool
operator!=
(
const
ClusKeyIter
&
rhs
);
29
};
30
31
32
33
#endif
coresoftware
blob
master
simulation
g4simulation
g4eval
ClusKeyIter.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration